aboutsummaryrefslogtreecommitdiff
path: root/e2fsprogs/old_e2fsprogs/ext2fs/unlink.c
diff options
context:
space:
mode:
authorNikolaus Voss <n.voss@weinmann.de>2013-05-13 03:55:11 +0200
committerDenys Vlasenko <vda.linux@googlemail.com>2013-05-13 03:55:11 +0200
commitc3cf1e30a3022453311a7e9fe11d94c7a381640e (patch)
tree0c451c05fd19f50a0b24368201a65e69500d6e8a /e2fsprogs/old_e2fsprogs/ext2fs/unlink.c
parentff463a885d7dbcea5493074cae498d58a5459539 (diff)
downloadbusybox-c3cf1e30a3022453311a7e9fe11d94c7a381640e.tar.gz
mdev: use $DEVNAME in uevent sysfs file for device node name
516530c932bd17d87c9eb4347a490be051e495f4 uses $DEVNAME variable for device node name. This is fine, but only works for hotplugging, "mdev -s" will behave differently when DEVNAME and basename(path) differ. This patch extracts the DEVNAME from the uevent sysfs file in make_device(), thus works for hot- and coldplugging; so using the environment DEVNAME on hotplug events is no longer necessary. Signed-off-by: Nikolaus Voss <n.voss@weinmann.de> Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'e2fsprogs/old_e2fsprogs/ext2fs/unlink.c')
0 files changed, 0 insertions, 0 deletions