aboutsummaryrefslogtreecommitdiff
path: root/toys/pending/mdev.c
AgeCommit message (Collapse)Author
2015-04-19mdev: implement hotplug support.Isaac Dunham
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.
2015-04-08Revert last mdev commit because it copied code out of a GPLv2 program.Rob Landley
Guys, you CANNOT COPY CODE FROM BUSYBOX. I don't care if I was the initial author of that file, other people have touched it since. I know I added "pending" because I couldn't keep up with code review in realtime and stuff was getting lost, so we needed a place to park things before they underwent the full dorodango process. I also know none of the binaries I distribute has anything in pending enabled. But dude, if I'm going to find stuff like this I have to start reviewing the code BEFORE applying it to pending, and we all know where that leads. Please don't do this again.
2015-03-18mdev : add hotplugin featureHyejin Kim
As internal needs, Ranjan Kumar (ranjankumar.bth at gmail.com) added hotplug feature into mdev.
2014-03-29Group headers by standard (POSIX or LSB) or function (internationalization, ↵Rob Landley
networking). Move headers standards ignore (but which have been there >15 years) to lib/portability.h. Fold xregcomp into lib since it's posix.
2013-03-16Move mdev into the pending directory, since it's not done yet.Rob Landley