summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorDenis Vlasenko2009-04-13 13:33:02 +0000
committerDenis Vlasenko2009-04-13 13:33:02 +0000
commitaafbae618126835c006ae0be96959540d5b8f5af (patch)
treed177d967f81eb1631101030d8d6b3edea44b938c /include
parente8a796828eee4b898be2141ecbe34bad594bfbbb (diff)
downloadbusybox-aafbae618126835c006ae0be96959540d5b8f5af.zip
busybox-aafbae618126835c006ae0be96959540d5b8f5af.tar.gz
mdev: make usage text more useful
function old new delta packed_usage 26235 26291 +56
Diffstat (limited to 'include')
-rw-r--r--include/usage.h10
1 files changed, 8 insertions, 2 deletions
diff --git a/include/usage.h b/include/usage.h
index c36a3bb..7111e90 100644
--- a/include/usage.h
+++ b/include/usage.h
@@ -2556,8 +2556,14 @@
#define mdev_full_usage "\n\n" \
" -s Scan /sys and populate /dev during system boot\n" \
"\n" \
- "Called with no options (via hotplug) it uses environment variables\n" \
- "to determine which device to add/remove."
+ "It can be run by kernel as a hotplug helper. To activate it:\n" \
+ " echo /bin/mdev >/proc/sys/kernel/hotplug\n" \
+ USE_FEATURE_MDEV_CONF( \
+ "It uses /etc/mdev.conf with lines\n" \
+ "DEVNAME UID:GID PERM" \
+ USE_FEATURE_MDEV_RENAME(" [>|=PATH]") \
+ USE_FEATURE_MDEV_EXEC(" [@|$|*COMMAND]") \
+ ) \
#define mdev_notes_usage "" \
USE_FEATURE_MDEV_CONFIG( \