aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2005-06-11 01:14:09 +0000
committerMike Frysinger <vapier@gentoo.org>2005-06-11 01:14:09 +0000
commit174808cedbc069d59e8a2cb570d35d9001c1e51b (patch)
treea665b8f329a5b5f186b2d04d6240593cdb3b339c /include
parenta34f99930daa45d52de31740a54e3989eda83d6f (diff)
downloadbusybox-174808cedbc069d59e8a2cb570d35d9001c1e51b.tar.gz
import tune2fs support
Diffstat (limited to 'include')
-rw-r--r--include/applets.h9
-rw-r--r--include/usage.h10
2 files changed, 19 insertions, 0 deletions
diff --git a/include/applets.h b/include/applets.h
index 6aa67f527..d6e767dbf 100644
--- a/include/applets.h
+++ b/include/applets.h
@@ -179,6 +179,9 @@
#ifdef CONFIG_DUMPLEASES
APPLET(dumpleases, dumpleases_main, _BB_DIR_USR_BIN, _BB_SUID_NEVER)
#endif
+#ifdef CONFIG_TUNE2FS
+ APPLET_NOUSAGE("e2label", tune2fs_main, _BB_DIR_SBIN, _BB_SUID_NEVER)
+#endif
#ifdef CONFIG_ECHO
APPLET(echo, echo_main, _BB_DIR_BIN, _BB_SUID_NEVER)
#endif
@@ -221,6 +224,9 @@
#ifdef CONFIG_FIND
APPLET(find, find_main, _BB_DIR_USR_BIN, _BB_SUID_NEVER)
#endif
+#ifdef CONFIG_TUNE2FS
+ APPLET_NOUSAGE("findfs", tune2fs_main, _BB_DIR_SBIN, _BB_SUID_NEVER)
+#endif
#ifdef CONFIG_FOLD
APPLET(fold, fold_main, _BB_DIR_USR_BIN, _BB_SUID_NEVER)
#endif
@@ -629,6 +635,9 @@
#ifdef CONFIG_TTY
APPLET(tty, tty_main, _BB_DIR_USR_BIN, _BB_SUID_NEVER)
#endif
+#ifdef CONFIG_TUNE2FS
+ APPLET(tune2fs, tune2fs_main, _BB_DIR_SBIN, _BB_SUID_NEVER)
+#endif
#ifdef CONFIG_UDHCPC
APPLET(udhcpc, udhcpc_main, _BB_DIR_SBIN, _BB_SUID_NEVER)
#endif
diff --git a/include/usage.h b/include/usage.h
index 484c01591..1ab728f26 100644
--- a/include/usage.h
+++ b/include/usage.h
@@ -2828,6 +2828,16 @@
"$ tty\n" \
"/dev/tty2\n"
+#define tune2fs_trivial_usage \
+ "[-c max-mounts-count] [-e errors-behavior] [-g group] " \
+ "[-i interval[d|m|w]] [-j] [-J journal-options] [-l] [-s sparse-flag] " \
+ "[-m reserved-blocks-percent] [-o [^]mount-options[,...]] " \
+ "[-r reserved-blocks-count] [-u user] [-C mount-count] " \
+ "[-L volume-label] [-M last-mounted-dir] [-O [^]feature[,...]] " \
+ "[-T last-check-time] [-U UUID] device"
+#define tune2fs_full_usage \
+ "Adjust filesystem options on ext[23] filesystems.\n\n"
+
#define udhcpc_trivial_usage \
"[-fbnqv] [-c CLIENTID] [-H HOSTNAME] [-i INTERFACE]\n[-p pidfile] [-r IP] [-s script]"
#define udhcpc_full_usage \