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

Christopher Larson clarson at kergoth.com
Mon Jun 13 15:01:08 PDT 2016


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 <Jeffrey.D.Boyer at jci.com>
wrote:

> 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 device, it must be
> read-only.  However, the system hardware supports removable media (SD card
> and USB drives), and I’d like to be able to mount and write to those
> removable drives / partitions for data logging purposes.  What needs to be
> done in order to make the /media directory auto-mountable when a
> “read-only” image is specified by the build script?
>
>
>
> Thanks.
>
>
>
> --
> _______________________________________________
> yocto mailing list
> yocto at yoctoproject.org
> https://lists.yoctoproject.org/listinfo/yocto
>
>


-- 
Christopher Larson
clarson at kergoth dot com
Founder - BitBake, OpenEmbedded, OpenZaurus
Maintainer - Tslib
Senior Software Engineer, Mentor Graphics
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.yoctoproject.org/pipermail/yocto/attachments/20160613/b9631b7d/attachment.html>


More information about the yocto mailing list