commit | 3cf9b08cc9ebeddc449638608f7a28c4c4ba20f9 | [log] [tgz] |
---|---|---|
author | Isaac Dunham <ibid.ag@gmail.com> | Sat Apr 18 18:25:06 2015 +0000 |
committer | Rob Landley <rob@landley.net> | Sun Apr 19 01:24:42 2015 -0500 |
tree | 7c2ab09cf316b76f305db2c1b7a2b097aa0ead7a | |
parent | 957c3f7eaa4b56d6470ce8ef382b132c1aae9ca0 [diff] |
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.