There's also bind mounts as an option.
The bind mounts.
Since Linux 2.4.0 it is possible to remount part of the file
hierarchy somewhere else. The call is:
mount --bind olddir newdir
or by using this fstab entry:
/olddir /newdir none bind
After this call the same contents are accessible in two places.
One can also remount a single file (on a
single file).
________________________________
From: [email protected] <[email protected]> on behalf
of Burton, Ross <[email protected]>
Sent: Tuesday, June 14, 2016 7:28 AM
To: Jeffrey D Boyer
Cc: [email protected]; Christopher Larson
Subject: Re: [yocto] Mounting USB drives on a "read-only-rootfs" based system
On 14 June 2016 at 14:48, Jeffrey D Boyer
<[email protected]<mailto:[email protected]>> wrote:
FYI, I'm running 3.14 kernel. Is this a job for aufs? If so, how would I go
about configuring it?
If you want to support arbitrary mounts then it's probably simplest to either
change /media to be a symlink to /run/media, or put a tmpfs on /media.
Ross
--
_______________________________________________
yocto mailing list
[email protected]
https://lists.yoctoproject.org/listinfo/yocto