From c77e843c0927bc4235d6d54981bcf7fdaa9f0421 Mon Sep 17 00:00:00 2001 From: Bernhard Reutner-Fischer Date: Tue, 19 Aug 2008 11:28:52 +0000 Subject: - add new applet rdev (Grant Erickson) - fixes and shrink (me) --- include/applets.h | 1 + include/usage.h | 8 ++++++++ 2 files changed, 9 insertions(+) (limited to 'include') 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" \ -- cgit v1.1