Re: [yocto] Mounting USB drives on a "read-only-rootfs" based system

2016-06-15 Thread Jeffrey D Boyer
To: Jeffrey D Boyer <jeffrey.d.bo...@jci.com>; Christopher Larson <clar...@kergoth.com> Cc: yocto@yoctoproject.org Subject: Re: [yocto] Mounting USB drives on a "read-only-rootfs" based system On 14-06-16 15:48, Jeffrey D Boyer wrote: > Sorry, /media is not a symlink and th

Re: [yocto] Mounting USB drives on a "read-only-rootfs" based system

2016-06-15 Thread Mike Looijmans
On 14-06-16 15:48, Jeffrey D Boyer wrote: Sorry, /media is not a symlink and there is no /run/media link or directory present on my running system. When I insert an SD card, for example, I get a bit of text on the debug serial port that a card has been detected, but I don't see a mount

Re: [yocto] Mounting USB drives on a "read-only-rootfs" based system

2016-06-14 Thread Fred Ollinger
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 &l

Re: [yocto] Mounting USB drives on a "read-only-rootfs" based system

2016-06-14 Thread Burton, Ross
On 14 June 2016 at 14:48, Jeffrey D Boyer 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

Re: [yocto] Mounting USB drives on a "read-only-rootfs" based system

2016-06-14 Thread Jeffrey D Boyer
16 9:18 AM To: Christopher Larson <clar...@kergoth.com>; Jeffrey D Boyer <jeffrey.d.bo...@jci.com> Cc: yocto@yoctoproject.org Subject: Re: [yocto] Mounting USB drives on a "read-only-rootfs" based system Yup, even mdev based images do that with current OE. I'd expect "/med

Re: [yocto] Mounting USB drives on a "read-only-rootfs" based system

2016-06-14 Thread Mike Looijmans
Yup, even mdev based images do that with current OE. I'd expect "/media" to symlink to "run/media" on most devices (regardless whether the rootfs is read-only or not). Check if that's the case on your system. On 14-06-16 00:01, Christopher Larson wrote: Afaik usb storage is already

Re: [yocto] Mounting USB drives on a "read-only-rootfs" based system

2016-06-14 Thread Richard Leitner
Hi, you can adjust the mount behaviour for example in your udev mount script (if you use udev). If you have a fixed name/mountpoint for your media you can pre-create that folder (for example /media/data-logging) and let udev's mount.sh mount media which matches your criteria to that path. kind

Re: [yocto] Mounting USB drives on a "read-only-rootfs" based system

2016-06-13 Thread Christopher Larson
Afaik usb storage is already automounted by udev on /run/media/, so there's no need to use /media for that purpose. On Mon, Jun 13, 2016 at 2:22 PM, Jeffrey D Boyer wrote: > Hello, > > > > New to the list here, so I’m sorry if this question has been asked before, > but

[yocto] Mounting USB drives on a "read-only-rootfs" based system

2016-06-13 Thread Jeffrey D Boyer
Hello, New to the list here, so I'm sorry if this question has been asked before, but I couldn't find a direct answer to it. I have a yocto image that was built using the following bb script line: IMAGE_FEATURES += " read-only-rootfs". As this image eventually resides on a static flash