diff options
author | Bernhard Reutner-Fischer | 2008-08-19 11:28:52 +0000 |
---|---|---|
committer | Bernhard Reutner-Fischer | 2008-08-19 11:28:52 +0000 |
commit | c77e843c0927bc4235d6d54981bcf7fdaa9f0421 (patch) | |
tree | 07f4acd33b33c4159abfd50b5f9424409ab7a2a4 /include | |
parent | d7cc2e601d9d909ca9de168da746dede7487e860 (diff) | |
download | busybox-c77e843c0927bc4235d6d54981bcf7fdaa9f0421.zip busybox-c77e843c0927bc4235d6d54981bcf7fdaa9f0421.tar.gz |
- add new applet rdev (Grant Erickson)
- fixes and shrink (me)
Diffstat (limited to 'include')
-rw-r--r-- | include/applets.h | 1 | ||||
-rw-r--r-- | include/usage.h | 8 |
2 files changed, 9 insertions, 0 deletions
diff --git a/include/applets.h b/include/applets.h index 27c118e..2363e72 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 1e05eab..57a9f99 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" \ |