aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorBernhard Reutner-Fischer <rep.dot.nop@gmail.com>2008-08-19 11:28:52 +0000
committerBernhard Reutner-Fischer <rep.dot.nop@gmail.com>2008-08-19 11:28:52 +0000
commitc77e843c0927bc4235d6d54981bcf7fdaa9f0421 (patch)
tree07f4acd33b33c4159abfd50b5f9424409ab7a2a4 /include
parentd7cc2e601d9d909ca9de168da746dede7487e860 (diff)
downloadbusybox-c77e843c0927bc4235d6d54981bcf7fdaa9f0421.tar.gz
- add new applet rdev (Grant Erickson)
- fixes and shrink (me)
Diffstat (limited to 'include')
-rw-r--r--include/applets.h1
-rw-r--r--include/usage.h8
2 files changed, 9 insertions, 0 deletions
diff --git a/include/applets.h b/include/applets.h
index 27c118e68..2363e72cd 100644
--- a/include/applets.h
+++ b/include/applets.h
@@ -286,6 +286,7 @@ USE_PSCAN(APPLET(pscan, _BB_DIR_USR_BIN, _BB_SUID_NEVER))
USE_PWD(APPLET_NOFORK(pwd, pwd, _BB_DIR_BIN, _BB_SUID_NEVER, pwd))
USE_RAIDAUTORUN(APPLET(raidautorun, _BB_DIR_SBIN, _BB_SUID_NEVER))
USE_RDATE(APPLET(rdate, _BB_DIR_USR_SBIN, _BB_SUID_NEVER))
+USE_RDEV(APPLET(rdev, _BB_DIR_USR_SBIN, _BB_SUID_NEVER))
USE_READAHEAD(APPLET(readahead, _BB_DIR_USR_BIN, _BB_SUID_NEVER))
USE_READLINK(APPLET(readlink, _BB_DIR_USR_BIN, _BB_SUID_NEVER))
USE_READPROFILE(APPLET(readprofile, _BB_DIR_USR_SBIN, _BB_SUID_NEVER))
diff --git a/include/usage.h b/include/usage.h
index 1e05eabc6..57a9f99b8 100644
--- a/include/usage.h
+++ b/include/usage.h
@@ -3168,6 +3168,14 @@
"\n -s Set the system date and time (default)" \
"\n -p Print the date and time" \
+#define rdev_trivial_usage \
+ ""
+#define rdev_full_usage "\n\n" \
+ "Print the device node associated with the filesystem mounted at '/'"
+#define rdev_example_usage \
+ "$ rdev\n" \
+ "/dev/mtdblock9 /\n"
+
#define readahead_trivial_usage \
"[FILE]..."
#define readahead_full_usage "\n\n" \