diff options
author | Nikolaus Voss <n.voss@weinmann.de> | 2013-05-13 03:55:11 +0200 |
---|---|---|
committer | Denys Vlasenko <vda.linux@googlemail.com> | 2013-05-13 03:55:11 +0200 |
commit | c3cf1e30a3022453311a7e9fe11d94c7a381640e (patch) | |
tree | 0c451c05fd19f50a0b24368201a65e69500d6e8a /coreutils/chmod.c | |
parent | ff463a885d7dbcea5493074cae498d58a5459539 (diff) | |
download | busybox-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 'coreutils/chmod.c')
0 files changed, 0 insertions, 0 deletions