generic-poky/meta/recipes-core
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
..
base-files base-files: avoid overwritting editable files during package updating 2014-12-03 12:23:59 +00:00
base-passwd base-passwd: install passwd and group atomically 2014-07-10 17:38:32 +01:00
busybox busybox-mdev: Support automatic mounting of block devices 2014-12-19 18:08:03 +00:00
console-tools console-tools: Remove floating runtime dependency on flex 2014-04-24 17:55:13 +01:00
coreutils coreutils-native: don't install groups 2014-12-05 18:01:07 +00:00
dbus dbus: don't use PTEST_ENABLED as recipe doesn't inherit ptest 2014-12-05 18:01:04 +00:00
dbus-wait recipes: Add missing pkgconfig class inherits 2014-06-03 16:49:19 +01:00
dropbear dropbear: add pam modules dependencies 2014-09-16 22:14:04 +01:00
expat recipes: convert remaining SUMMARY/DESCRIPTION cosmetic issues (part 2) 2014-02-20 14:28:13 +00:00
feed-config Replace one-line DESCRIPTION with SUMMARY 2014-01-02 12:50:18 +00:00
gettext Add texinfo.bbclass; recipes that use texinfo utils at build-time inherit it. 2014-05-02 20:46:59 +01:00
glib-2.0 glib-2.0: fix mount detection 2014-09-10 11:33:25 +01:00
glib-networking glib-networking: Inherit gettext 2014-08-15 18:21:48 +01:00
glibc glibc: CVE 2014-7817 and 2012-3406 fixes 2014-12-19 18:07:59 +00:00
images build-appliance-image: Update to dizzy head revision 2014-10-18 16:16:38 +02:00
init-ifupdown recipes: bump PRs 2014-03-05 17:36:37 +00:00
initrdscripts init-install: Skip CDROM devices during probe 2014-08-02 09:26:17 +01:00
initscripts initscripts: avoid overwritting editable files during package updating 2014-12-03 12:23:59 +00:00
jpeg recipes: convert remaining SUMMARY/DESCRIPTION cosmetic issues (part 2) 2014-02-20 14:28:13 +00:00
kbd kbd: Upgrade to 2.0.2 2014-07-17 12:28:51 +01:00
libcgroup Globally replace 'base_contains' calls with 'bb.utils.contains' 2014-04-25 17:19:19 +01:00
libxml libxml2: fix CVE-2014-3660 2014-10-24 17:36:16 +01:00
meta buildtools-tarball: restore missing git tools 2014-12-19 18:08:01 +00:00
ncurses ncurses: enable-pc-files requires PKG_CONFIG_LIBDIR existed 2014-10-10 18:18:02 +01:00
netbase netbase: upgrade to 5.3 2014-11-25 13:03:25 +00:00
os-release os-release: Adding a new recipe for operating system identification 2014-09-10 11:33:24 +01:00
packagegroups packagegroup-core-tools-profile: allow lttng-modules for ARM 2014-12-19 18:07:59 +00:00
psplash psplash: update to latest git version 2014-11-06 16:45:20 +00:00
readline readline: Patch for readline multikey dispatch issue 2014-11-08 11:14:31 +00:00
sysfsutils recipes: convert remaining SUMMARY/DESCRIPTION cosmetic issues (part 2) 2014-02-20 14:28:13 +00:00
systemd systemd-systemctl: add handling of template unit files 2014-12-19 18:08:01 +00:00
sysvinit sysvinit-inittab: Disable the carrier detect requirement for serial consoles 2014-11-20 14:08:10 +00:00
uclibc uclibc: Support systemd builds 2014-08-27 12:12:32 +01:00
udev udev-cache: refactor conditionals and error handling 2014-12-19 18:08:02 +00:00
update-rc.d update-rc.d: fix to handle priority numbers correctly 2014-06-01 14:29:30 +01:00
util-linux util-linux: add switch_root to alternatives list 2014-12-05 18:01:06 +00:00
volatile-binds volatile-binds: use ${PN} for SYSTEMD_SERVICE 2014-09-29 12:12:44 +01:00
zlib zlib: obey LDFLAGS for tests 2014-09-22 13:04:21 +01:00