Directory mirroring

Daniel Schultz d.schultz at phytec.de
Thu Apr 6 04:13:45 PDT 2017


Hi Sascha,

Am 06.04.2017 um 09:06 schrieb Sascha Hauer:
> Hi Daniel,
>
> On Tue, Apr 04, 2017 at 12:11:09PM +0200, Daniel Schultz wrote:
>> Hi everyone,
>>
>> my boot partition is mounted to /boot/. Now, I want to make it accessible in
>> /mnt/ as mmc or emmc, depending to the bootsource. Sadly, ln can only create
>> symlinks for files and two mounts for one device seems not to work.
>>
>> Are there other ways to mirror a file system?
>
> Not that I know of. You could implement directory links, but why do you
> want to have it accessible under /mnt in the first place?
>
I think it would be good, if all mountable boot devices are accessible 
in /mnt, but the boot source still remains at /boot.
1) All boot scripts can use /mnt
2) Barebox environment always lies in /boot

-- 
Mit freundlichen Grüßen,
With best regards,
   Daniel Schultz



More information about the barebox mailing list