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: yocto-boun...@yoctoproject.org <yocto-boun...@yoctoproject.org> on behalf 
of Burton, Ross <ross.bur...@intel.com>
Sent: Tuesday, June 14, 2016 7:28 AM
To: Jeffrey D Boyer
Cc: yocto@yoctoproject.org; 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 
<jeffrey.d.bo...@jci.com<mailto:jeffrey.d.bo...@jci.com>> 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
yocto@yoctoproject.org
https://lists.yoctoproject.org/listinfo/yocto

Reply via email to