diff options
author | Isaac Dunham <ibid.ag@gmail.com> | 2015-04-18 18:25:06 +0000 |
---|---|---|
committer | Rob Landley <rob@landley.net> | 2015-04-19 01:24:42 -0500 |
commit | 3cf9b08cc9ebeddc449638608f7a28c4c4ba20f9 (patch) | |
tree | 7c2ab09cf316b76f305db2c1b7a2b097aa0ead7a /lib | |
parent | 957c3f7eaa4b56d6470ce8ef382b132c1aae9ca0 (diff) | |
download | toybox-3cf9b08cc9ebeddc449638608f7a28c4c4ba20f9.tar.gz toybox-3cf9b08cc9ebeddc449638608f7a28c4c4ba20f9.tar.bz2 toybox-3cf9b08cc9ebeddc449638608f7a28c4c4ba20f9.zip |
mdev: implement hotplug support.
Use DEVPATH, DEVNAME, MAJOR, MINOR, and SUBSYSTEM instead of
checking the current path and reading .../dev.
While we're here, probe for partitions in block devices.
This uses a very lame check for ACTION (which can be add, remove,
or change): if it is "remove", then unlink the device.
Diffstat (limited to 'lib')
0 files changed, 0 insertions, 0 deletions