diff options
author | Yasir-Khan <yasir_khan@mentor.com> | 2014-08-14 19:56:37 +0500 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2014-08-15 18:19:52 +0100 |
commit | 140d188b3665f914396834168feeff6ffcb64d76 (patch) | |
tree | 89264a254bec2a6b1cc1b562b84dbe3665d407a5 /meta/recipes-support | |
parent | 64048d45d5c52d354396e357e765f0fd8b5e56fd (diff) | |
download | openembedded-core-140d188b3665f914396834168feeff6ffcb64d76.tar.gz openembedded-core-140d188b3665f914396834168feeff6ffcb64d76.tar.bz2 openembedded-core-140d188b3665f914396834168feeff6ffcb64d76.zip |
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.
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>
Diffstat (limited to 'meta/recipes-support')
0 files changed, 0 insertions, 0 deletions