openwrt/package/system
Matthias Badaire cf8483cb4f 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>
2019-01-22 08:49:36 +01:00
..
ca-certificates ca-caertificates: remove myself as PKG_MAINTAINER 2018-07-31 00:00:20 +02:00
fstools fstools: media change detection (eg:sdcard) using kernel polling 2019-01-22 08:49:36 +01:00
fwtool fwtool: add utility for appending and extracting firmware metadata/signatures 2016-11-19 11:24:09 +01:00
iucode-tool tools: add iucode-tool 2018-02-11 14:39:16 +01:00
mtd mtd: improve check for TRX header being already fixed 2018-07-15 23:27:09 +02:00
openwrt-keyring openwrt-keyring: bundle latest usign certificates 2018-05-20 19:39:12 +02:00
opkg opkg: update to latest Git head 2019-01-19 14:31:46 +01:00
procd procd: update to latest git HEAD 2018-11-23 15:27:35 +01:00
rpcd rpcd: update to latest Git head 2018-12-12 16:33:54 +01:00
ubox ubox: bump to git HEAD 2018-12-18 23:17:39 +02:00
ubus packages: set more explicit ABI_VERSION values 2019-01-19 14:31:51 +01:00
ucert ucert: work around short read 2018-09-18 13:51:09 +02:00
uci uci: bump to source date 2018-08-11 2018-08-11 12:04:31 +00:00
usign treewide: replace LEDE_GIT with PROJECT_GIT 2018-01-10 21:27:32 +01:00
zram-swap zram-swap: bump pkg version 2018-09-29 17:23:11 +02:00