[yocto] Mounting USB drives on a "read-only-rootfs" based system
Fred Ollinger
Fred.Ollinger at seescan.com
Tue Jun 14 09:01:52 PDT 2016
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-bounces at yoctoproject.org <yocto-bounces at yoctoproject.org> on behalf of Burton, Ross <ross.burton at intel.com>
Sent: Tuesday, June 14, 2016 7:28 AM
To: Jeffrey D Boyer
Cc: yocto at 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.Boyer at jci.com<mailto:Jeffrey.D.Boyer at 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
More information about the yocto
mailing list