generic-poky/meta/recipes-core/busybox/files
mike.looijmans@topic.nl 973c565a7e busybox-mdev: Support automatic mounting of block devices
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).

The following environments can be set in /etc/default/mdev:
MDEV_AUTOMOUNT=n (Disables automounting completely)
MDEV_AUTOMOUNT_ROOT=/media (Change the mount root location)

Automatic mounting for a particular device can be disabled by
creating a file "/dev/<device>.nomount". This is helpful in
scripts that create partitions for example, and want to perform
specific actions which require the device to remain unmounted.

A more complex variation (using LABEL based mounts) on this script
has been in use in OpenPLi for many years now, and I've used this
one on many projects already, so it's about time to push this to
mainline.

(From OE-Core rev: 19073fb991b3e2d2304e55f94e30674adf375197)

Signed-off-by: Mike Looijmans <mike.looijmans@topic.nl>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2014-12-19 18:08:03 +00:00
..
busybox-cron Major layout change to the packages directory 2010-08-27 15:29:45 +01:00
busybox-httpd Major layout change to the packages directory 2010-08-27 15:29:45 +01:00
busybox-klogd.service.in busybox: enable systemd integration for syslogd 2013-03-26 22:43:01 +00:00
busybox-syslog.default busybox-syslog: add more comments to systemd configuration file 2014-02-13 11:41:22 +00:00
busybox-syslog.service.in busybox: enable systemd integration for syslogd 2013-03-26 22:43:01 +00:00
busybox-udhcpd Major layout change to the packages directory 2010-08-27 15:29:45 +01:00
default.script Major layout change to the packages directory 2010-08-27 15:29:45 +01:00
find-touchscreen.sh busybox/find-touchscreen.sh: Simplify script and recognize USB devices 2014-12-19 18:08:03 +00:00
hwclock.sh hwclock.sh: check for the existence of /etc/default/rcS 2013-02-22 06:09:22 -08:00
inetd busybox: Add inetd related files 2013-04-15 15:57:30 +01:00
inetd.conf busybox: Add inetd related files 2013-04-15 15:57:30 +01:00
mdev busybox: mdev: Ensure /dev/initctl exists after tmpfs mount 2014-07-23 21:59:13 +01:00
mdev-mount.sh busybox-mdev: Support automatic mounting of block devices 2014-12-19 18:08:03 +00:00
mdev.conf busybox-mdev: Support automatic mounting of block devices 2014-12-19 18:08:03 +00:00
mount.busybox Major layout change to the packages directory 2010-08-27 15:29:45 +01:00
run-ptest busybox: Add ptest 2013-06-25 17:44:58 +01:00
simple.script BusyBox: Fixing broadcast address is not fed and rightly initialized 2014-11-04 10:27:10 +00:00
syslog syslog: Change unused variable declaration LOCAL=0 to LOG_LOCAL=1 2014-09-29 12:12:43 +01:00
syslog-startup.conf busybox: enable dropping of duplicates in syslog, off by default 2012-01-19 11:34:09 +00:00
syslog.conf busybox-syslog: add configuration file /etc/syslog.conf 2013-09-06 23:03:21 +01:00
umount.busybox Major layout change to the packages directory 2010-08-27 15:29:45 +01:00