aboutsummaryrefslogtreecommitdiff
path: root/docs
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 /docs
parenta7329667b4c19fbe8ba077062f14a96038c094db (diff)
downloadbusybox-f92874e747dae948fdfacf53537f554ccee7bd54.tar.gz
replace /bin/mdev with /sbin/mdev
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'docs')
-rw-r--r--docs/mdev.txt6
1 files changed, 3 insertions, 3 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.
Here's a typical code snippet from the init script:
[0] mount -t proc proc /proc
[1] mount -t sysfs sysfs /sys
-[2] echo /bin/mdev > /proc/sys/kernel/hotplug
+[2] echo /sbin/mdev > /proc/sys/kernel/hotplug
[3] mdev -s
Alternatively, without procfs the above becomes:
[1] mount -t sysfs sysfs /sys
-[2] sysctl -w kernel.hotplug=/bin/mdev
+[2] sysctl -w kernel.hotplug=/sbin/mdev
[3] mdev -s
@@ -33,7 +33,7 @@ code snippet:
[6] mount -t devpts devpts /dev/pts
The simple explanation here is that [1] you need to have /sys mounted before
-executing mdev. Then you [2] instruct the kernel to execute /bin/mdev whenever
+executing mdev. Then you [2] instruct the kernel to execute /sbin/mdev whenever
a device is added or removed so that the device node can be created or
destroyed. Then you [3] seed /dev with all the device nodes that were created
while the system was booting.