diff options
-rw-r--r-- | docs/mdev.txt | 6 |
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 | ||
64 | The command is executed via the system() function (which means you're giving a | 64 | The command is executed via the system() function (which means you're giving a |
65 | command to the shell), so make sure you have a shell installed at /bin/sh. | 65 | command to the shell), so make sure you have a shell installed at /bin/sh. You |
66 | should also keep in mind that the kernel executes hotplug helpers with stdin, | ||
67 | stdout, and stderr connected to /dev/null. | ||
66 | 68 | ||
67 | For your convenience, the shell env var $MDEV is set to the device name. So if | 69 | For your convenience, the shell env var $MDEV is set to the device name. So if |
68 | the device 'hdc' was matched, MDEV would be set to "hdc". | 70 | the device "hdc" was matched, MDEV would be set to "hdc". |
69 | 71 | ||
70 | ---------- | 72 | ---------- |
71 | FIRMWARE | 73 | FIRMWARE |