aboutsummaryrefslogtreecommitdiff
path: root/toys/other/pwdx.c
diff options
context:
space:
mode:
authorIsaac Dunham <ibid.ag@gmail.com>2015-04-18 18:25:06 +0000
committerRob Landley <rob@landley.net>2015-04-19 01:24:42 -0500
commit3cf9b08cc9ebeddc449638608f7a28c4c4ba20f9 (patch)
tree7c2ab09cf316b76f305db2c1b7a2b097aa0ead7a /toys/other/pwdx.c
parent957c3f7eaa4b56d6470ce8ef382b132c1aae9ca0 (diff)
downloadtoybox-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/other/pwdx.c')
0 files changed, 0 insertions, 0 deletions