aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDenys Vlasenko <vda.linux@googlemail.com>2009-12-05 15:59:05 +0100
committerDenys Vlasenko <vda.linux@googlemail.com>2009-12-05 15:59:05 +0100
commitf92874e747dae948fdfacf53537f554ccee7bd54 (patch)
tree0b3832ac9cdb99d25294dcf86e23afb49a85e8c4
parenta7329667b4c19fbe8ba077062f14a96038c094db (diff)
downloadbusybox-w32-f92874e747dae948fdfacf53537f554ccee7bd54.tar.gz
busybox-w32-f92874e747dae948fdfacf53537f554ccee7bd54.tar.bz2
busybox-w32-f92874e747dae948fdfacf53537f554ccee7bd54.zip
replace /bin/mdev with /sbin/mdev
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
-rw-r--r--docs/mdev.txt6
-rw-r--r--include/usage.h2
2 files changed, 4 insertions, 4 deletions
diff --git a/docs/mdev.txt b/docs/mdev.txt
index 031e473a2..7bd00fe1b 100644
--- a/docs/mdev.txt
+++ b/docs/mdev.txt
@@ -17,12 +17,12 @@ updates, you also need to have hotplugging enabled in your kernel.
17Here's a typical code snippet from the init script: 17Here's a typical code snippet from the init script:
18[0] mount -t proc proc /proc 18[0] mount -t proc proc /proc
19[1] mount -t sysfs sysfs /sys 19[1] mount -t sysfs sysfs /sys
20[2] echo /bin/mdev > /proc/sys/kernel/hotplug 20[2] echo /sbin/mdev > /proc/sys/kernel/hotplug
21[3] mdev -s 21[3] mdev -s
22 22
23Alternatively, without procfs the above becomes: 23Alternatively, without procfs the above becomes:
24[1] mount -t sysfs sysfs /sys 24[1] mount -t sysfs sysfs /sys
25[2] sysctl -w kernel.hotplug=/bin/mdev 25[2] sysctl -w kernel.hotplug=/sbin/mdev
26[3] mdev -s 26[3] mdev -s
27 27
28 28
@@ -33,7 +33,7 @@ code snippet:
33[6] mount -t devpts devpts /dev/pts 33[6] mount -t devpts devpts /dev/pts
34 34
35The simple explanation here is that [1] you need to have /sys mounted before 35The simple explanation here is that [1] you need to have /sys mounted before
36executing mdev. Then you [2] instruct the kernel to execute /bin/mdev whenever 36executing mdev. Then you [2] instruct the kernel to execute /sbin/mdev whenever
37a device is added or removed so that the device node can be created or 37a device is added or removed so that the device node can be created or
38destroyed. Then you [3] seed /dev with all the device nodes that were created 38destroyed. Then you [3] seed /dev with all the device nodes that were created
39while the system was booting. 39while the system was booting.
diff --git a/include/usage.h b/include/usage.h
index 2eb5c007a..1505ac306 100644
--- a/include/usage.h
+++ b/include/usage.h
@@ -2656,7 +2656,7 @@
2656 " -s Scan /sys and populate /dev during system boot\n" \ 2656 " -s Scan /sys and populate /dev during system boot\n" \
2657 "\n" \ 2657 "\n" \
2658 "It can be run by kernel as a hotplug helper. To activate it:\n" \ 2658 "It can be run by kernel as a hotplug helper. To activate it:\n" \
2659 " echo /bin/mdev >/proc/sys/kernel/hotplug\n" \ 2659 " echo /sbin/mdev > /proc/sys/kernel/hotplug\n" \
2660 IF_FEATURE_MDEV_CONF( \ 2660 IF_FEATURE_MDEV_CONF( \
2661 "It uses /etc/mdev.conf with lines\n" \ 2661 "It uses /etc/mdev.conf with lines\n" \
2662 "[-]DEVNAME UID:GID PERM" \ 2662 "[-]DEVNAME UID:GID PERM" \