aboutsummaryrefslogtreecommitdiffstats
path: root/package/firmware/am33x-cm3
diff options
context:
space:
mode:
authorMatthias Badaire <mbadaire@gmail.com>2018-05-16 00:07:37 +0200
committerJo-Philipp Wich <jo@mein.io>2019-01-22 08:49:36 +0100
commitcf8483cb4ffc99bf3f512bb134860ccc8c099abe (patch)
treef7fc64702a1044e79f3c28a283a9c9bbd0914d75 /package/firmware/am33x-cm3
parent5a89eea8e49f576f0d5c7aaaaba1929c11589fdc (diff)
downloadupstream-cf8483cb4ffc99bf3f512bb134860ccc8c099abe.tar.gz
upstream-cf8483cb4ffc99bf3f512bb134860ccc8c099abe.tar.bz2
upstream-cf8483cb4ffc99bf3f512bb134860ccc8c099abe.zip
fstools: media change detection (eg:sdcard) using kernel polling
Linux kernel has a polling mechanism that can be activated by changing the parameter /sys/module/block/parameters/events_dfl_poll_msecs which is deactivated by default or the /sys/block/[device]/events_poll_msecs for one device. This patch set the events_poll_msecs when a disk is inserted. Once the media disk change event is sent by the kernel then we force a re-read of the devices using /sbin/block info. With this patch, insertion and ejection of sd card will automatically generate partition devices in /dev. Signed-off-by: Matthias Badaire <mbadaire@gmail.com> [rewrap commit message, fix bashisms, fix non-matching condition, bump pkg release] Signed-off-by: Jo-Philipp Wich <jo@mein.io>
Diffstat (limited to 'package/firmware/am33x-cm3')
0 files changed, 0 insertions, 0 deletions