aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2008-02-01 01:41:57 +0000
committerMike Frysinger <vapier@gentoo.org>2008-02-01 01:41:57 +0000
commitc348e0bc7bb104c9e2385a0d1c29099a7033adf8 (patch)
treee27236bfd9174e46be13db037417cfc6cff471b1
parent8c69afd992d7cc6c2fc7dea59c3c2bd3f3c21f15 (diff)
downloadbusybox-w32-c348e0bc7bb104c9e2385a0d1c29099a7033adf8.tar.gz
busybox-w32-c348e0bc7bb104c9e2385a0d1c29099a7033adf8.tar.bz2
busybox-w32-c348e0bc7bb104c9e2385a0d1c29099a7033adf8.zip
add a mini-faq about std{in,out,err}
-rw-r--r--docs/mdev.txt6
1 files changed, 4 insertions, 2 deletions
diff --git a/docs/mdev.txt b/docs/mdev.txt
index 0b2c37d99..4a4451b4d 100644
--- a/docs/mdev.txt
+++ b/docs/mdev.txt
@@ -62,10 +62,12 @@ The special characters have the meaning:
62 * Run both after creating and before removing the device. 62 * Run both after creating and before removing the device.
63 63
64The command is executed via the system() function (which means you're giving a 64The command is executed via the system() function (which means you're giving a
65command to the shell), so make sure you have a shell installed at /bin/sh. 65command to the shell), so make sure you have a shell installed at /bin/sh. You
66should also keep in mind that the kernel executes hotplug helpers with stdin,
67stdout, and stderr connected to /dev/null.
66 68
67For your convenience, the shell env var $MDEV is set to the device name. So if 69For your convenience, the shell env var $MDEV is set to the device name. So if
68the device 'hdc' was matched, MDEV would be set to "hdc". 70the device "hdc" was matched, MDEV would be set to "hdc".
69 71
70---------- 72----------
71 FIRMWARE 73 FIRMWARE