From 0e4690d4ef9fe55ccf6db371c826112809e162f9 Mon Sep 17 00:00:00 2001 From: Rob Landley Date: Sun, 20 Aug 2006 22:12:18 +0000 Subject: Michael Opdenacker contributed a readahead applet. --- include/applets.h | 1 + include/usage.h | 6 ++++++ 2 files changed, 7 insertions(+) (limited to 'include') diff --git a/include/applets.h b/include/applets.h index a8b480b..0bb257b 100644 --- a/include/applets.h +++ b/include/applets.h @@ -219,6 +219,7 @@ USE_PRINTF(APPLET(printf, _BB_DIR_USR_BIN, _BB_SUID_NEVER)) USE_PS(APPLET(ps, _BB_DIR_BIN, _BB_SUID_NEVER)) USE_PWD(APPLET(pwd, _BB_DIR_BIN, _BB_SUID_NEVER)) USE_RDATE(APPLET(rdate, _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)) USE_REALPATH(APPLET(realpath, _BB_DIR_USR_BIN, _BB_SUID_NEVER)) diff --git a/include/usage.h b/include/usage.h index 5bc82dc..ced9f68 100644 --- a/include/usage.h +++ b/include/usage.h @@ -2385,6 +2385,12 @@ USE_FEATURE_MDEV_CONFIG( \ "\t-s\tSet the system date and time (default)\n" \ "\t-p\tPrint the date and time" +#define readahead_trivial_usage \ + "[FILE]..." +#define readahead_full_usage \ + "Preloads FILE(s) in RAM cache so that subsequent reads for those" \ + "files do not block on disk I/O." + #ifdef CONFIG_FEATURE_READLINK_FOLLOW #define USAGE_READLINK_FOLLOW(a) a #else -- cgit v1.1