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 /toys/posix/rmdir.c | |
parent | 957c3f7eaa4b56d6470ce8ef382b132c1aae9ca0 (diff) | |
download | toybox-3cf9b08cc9ebeddc449638608f7a28c4c4ba20f9.tar.gz |
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 'toys/posix/rmdir.c')
0 files changed, 0 insertions, 0 deletions