generic-poky/meta/recipes-core/udev/udev-extraconf
Yasir-Khan 0cd5af0272 udev-extraconf: Unmount SD card after ejection
Adds udev rule to unmount SD card partitions in case of improper
ejection from card reader.

When SD card is ejected from card reader without being unmounted
first, kernel does not generate a REMOVE event, instead it
generates a CHANGE event(only if polling is enabled
/sys/module/block/parameters/events_dfl_poll_msecs) and we don't
have any udev rule in automount.rules to handle this event,so
partitions never get unmounted. Unmounting of partitions can be
done if udev rules handle this CHANGE event.

(From OE-Core rev: 140d188b3665f914396834168feeff6ffcb64d76)

Signed-off-by: Abbas Raza <Abbas_Raza@mentor.com>
Signed-off-by: Yasir-Khan <yasir_khan@mentor.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2014-08-15 18:21:50 +01:00
..
automount.rules udev-extraconf: Unmount SD card after ejection 2014-08-15 18:21:50 +01:00
autonet.rules udev-extraconf: Merge with udev-extra-rules from meta-oe 2012-09-04 14:08:35 +01:00
localextra.rules udev-extraconf: Add rule adding input devices to input group 2013-04-04 14:04:42 +01:00
mount.blacklist udev-extraconf: blacklist /dev/dm-* 2013-07-05 15:34:21 +01:00
mount.sh udev-extraconf: Unmount SD card after ejection 2014-08-15 18:21:50 +01:00
network.sh udev-extraconf: Merge with udev-extra-rules from meta-oe 2012-09-04 14:08:35 +01:00