[OE-core] [PATCH 1/2] busybox-mdev: Support automatic mounting of block devices

Mike Looijmans mike.looijmans at topic.nl
Thu Dec 18 06:23:00 UTC 2014


On 12/17/2014 11:03 PM, Burton, Ross wrote:
> Hi Mike,
>
> On 5 December 2014 at 09:58, Mike Looijmans <mike.looijmans at topic.nl
> <mailto:mike.looijmans at topic.nl>> wrote:
>
>     Upon inserting a USB stick or similar device, mdev will run
>     an automounter script that mounts valid partitions on
>     /media/<device>. The script first checks /etc/fstab entries
>     so that mounting on UUID or LABEL or using custom mount options
>     is still possible. If /etc/fstab does not contain particular
>     mount options, the script will create (and remove) the mountpoint
>     automatically.
>     The script also supports full disk partitions (devices without
>     partition table).
>
> Thanks for this, but can this script be put into a separate recipe to make it
> even easier for people who don't want it, or want their own version?  The
> prior art here is the udev automounting script which is in udev-extraconf.

Putting the script into its own package is no problem, but how does one 
arrange this with mdev.conf?

For the automounter to work, mdev.conf needs extra entries to call the script 
when block devices appear/disappear.

Unlike udev, mdev only has one config file.


Met vriendelijke groet / kind regards,

Mike Looijmans
System Expert


TOPIC Embedded Systems
Eindhovenseweg 32-C, NL-5683 KH Best
Postbus 440, NL-5680 AK Best
Telefoon: (+31) (0) 499 33 69 79
Telefax:  (+31) (0) 499 33 69 70
E-mail: mike.looijmans at topic.nl
Website: www.topic.nl

Please consider the environment before printing this e-mail

Topic zoekt gedreven (embedded) software specialisten!
http://topic.nl/vacatures/topic-zoekt-software-engineers/




More information about the Openembedded-core mailing list