From: Mike Looijmans <mike.looijmans@topic.nl>
To: Jeffrey D Boyer <Jeffrey.D.Boyer@jci.com>,
Christopher Larson <clarson@kergoth.com>
Cc: "yocto@yoctoproject.org" <yocto@yoctoproject.org>
Subject: Re: Mounting USB drives on a "read-only-rootfs" based system
Date: Wed, 15 Jun 2016 10:07:20 +0200 [thread overview]
Message-ID: <57610CB8.4050904@topic.nl> (raw)
In-Reply-To: <ea5b572b51f542459e034c49f2f05d76@BN3PR97MB0132.062d.mgd.msft.net>
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 point anywhere after that.
>
> root@mySys:/# mmc1: new high speed SDHC card at address 1234
> mmcblk1: mmc1:1234 SA04G 3.63 GiB
> mmcblk1: p1
>
> It should be noted that if I exclude the " read-only-rootfs" option in the bb script, a normal read/write kernel image is produced and the action of inserting an SD card under those conditions will automatically produce a mount point at /media/mmcblk1p1
Apparently your distro or image or whatever is lacking some directories. The
/run/media should have been created automagically.
Are you using udev or mdev for hotplug?
For mdev, I implemented the automounting using /run/media and that should also
work on read-only-rootfs systems. So I can probably figure out what's wrong
with your config.
For udev, I don't have a clue, sorry...
> FYI, I'm running 3.14 kernel. Is this a job for aufs? If so, how would I go about configuring it?
No, it's not related to autofs or aufs or whatever. It's plain simple udev or
mdev.
Kind regards,
Mike Looijmans
System Expert
TOPIC Embedded Products
Eindhovenseweg 32-C, NL-5683 KH Best
Postbus 440, NL-5680 AK Best
Telefoon: +31 (0) 499 33 69 79
E-mail: mike.looijmans@topicproducts.com
Website: www.topicproducts.com
Please consider the environment before printing this e-mail
next prev parent reply other threads:[~2016-06-15 9:04 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-06-13 21:22 Mounting USB drives on a "read-only-rootfs" based system Jeffrey D Boyer
2016-06-13 22:01 ` Christopher Larson
2016-06-14 13:18 ` Mike Looijmans
2016-06-14 13:48 ` Jeffrey D Boyer
2016-06-14 14:28 ` Burton, Ross
2016-06-14 16:01 ` Fred Ollinger
2016-06-15 8:07 ` Mike Looijmans [this message]
2016-06-15 13:14 ` Jeffrey D Boyer
2016-06-14 6:36 ` Richard Leitner
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=57610CB8.4050904@topic.nl \
--to=mike.looijmans@topic.nl \
--cc=Jeffrey.D.Boyer@jci.com \
--cc=clarson@kergoth.com \
--cc=yocto@yoctoproject.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.