svn commit: trunk/busybox/docs

vapier at busybox.net vapier at busybox.net
Fri Feb 1 01:41:59 UTC 2008


Author: vapier
Date: 2008-01-31 17:41:57 -0800 (Thu, 31 Jan 2008)
New Revision: 20926

Log:
add a mini-faq about std{in,out,err}

Modified:
   trunk/busybox/docs/mdev.txt


Changeset:
Modified: trunk/busybox/docs/mdev.txt
===================================================================
--- trunk/busybox/docs/mdev.txt	2008-02-01 00:54:54 UTC (rev 20925)
+++ trunk/busybox/docs/mdev.txt	2008-02-01 01:41:57 UTC (rev 20926)
@@ -62,10 +62,12 @@
 	* Run both after creating and before removing the device.
 
 The command is executed via the system() function (which means you're giving a
-command to the shell), so make sure you have a shell installed at /bin/sh.
+command to the shell), so make sure you have a shell installed at /bin/sh.  You
+should also keep in mind that the kernel executes hotplug helpers with stdin,
+stdout, and stderr connected to /dev/null.
 
 For your convenience, the shell env var $MDEV is set to the device name.  So if
-the device 'hdc' was matched, MDEV would be set to "hdc".
+the device "hdc" was matched, MDEV would be set to "hdc".
 
 ----------
  FIRMWARE



More information about the busybox-cvs mailing list