diff options
| author | Mike Frysinger <vapier@gentoo.org> | 2005-06-11 01:14:09 +0000 |
|---|---|---|
| committer | Mike Frysinger <vapier@gentoo.org> | 2005-06-11 01:14:09 +0000 |
| commit | 174808cedbc069d59e8a2cb570d35d9001c1e51b (patch) | |
| tree | a665b8f329a5b5f186b2d04d6240593cdb3b339c /include | |
| parent | a34f99930daa45d52de31740a54e3989eda83d6f (diff) | |
| download | busybox-w32-174808cedbc069d59e8a2cb570d35d9001c1e51b.tar.gz busybox-w32-174808cedbc069d59e8a2cb570d35d9001c1e51b.tar.bz2 busybox-w32-174808cedbc069d59e8a2cb570d35d9001c1e51b.zip | |
import tune2fs support
Diffstat (limited to 'include')
| -rw-r--r-- | include/applets.h | 9 | ||||
| -rw-r--r-- | include/usage.h | 10 |
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 @@ | |||
| 179 | #ifdef CONFIG_DUMPLEASES | 179 | #ifdef CONFIG_DUMPLEASES |
| 180 | APPLET(dumpleases, dumpleases_main, _BB_DIR_USR_BIN, _BB_SUID_NEVER) | 180 | APPLET(dumpleases, dumpleases_main, _BB_DIR_USR_BIN, _BB_SUID_NEVER) |
| 181 | #endif | 181 | #endif |
| 182 | #ifdef CONFIG_TUNE2FS | ||
| 183 | APPLET_NOUSAGE("e2label", tune2fs_main, _BB_DIR_SBIN, _BB_SUID_NEVER) | ||
| 184 | #endif | ||
| 182 | #ifdef CONFIG_ECHO | 185 | #ifdef CONFIG_ECHO |
| 183 | APPLET(echo, echo_main, _BB_DIR_BIN, _BB_SUID_NEVER) | 186 | APPLET(echo, echo_main, _BB_DIR_BIN, _BB_SUID_NEVER) |
| 184 | #endif | 187 | #endif |
| @@ -221,6 +224,9 @@ | |||
| 221 | #ifdef CONFIG_FIND | 224 | #ifdef CONFIG_FIND |
| 222 | APPLET(find, find_main, _BB_DIR_USR_BIN, _BB_SUID_NEVER) | 225 | APPLET(find, find_main, _BB_DIR_USR_BIN, _BB_SUID_NEVER) |
| 223 | #endif | 226 | #endif |
| 227 | #ifdef CONFIG_TUNE2FS | ||
| 228 | APPLET_NOUSAGE("findfs", tune2fs_main, _BB_DIR_SBIN, _BB_SUID_NEVER) | ||
| 229 | #endif | ||
| 224 | #ifdef CONFIG_FOLD | 230 | #ifdef CONFIG_FOLD |
| 225 | APPLET(fold, fold_main, _BB_DIR_USR_BIN, _BB_SUID_NEVER) | 231 | APPLET(fold, fold_main, _BB_DIR_USR_BIN, _BB_SUID_NEVER) |
| 226 | #endif | 232 | #endif |
| @@ -629,6 +635,9 @@ | |||
| 629 | #ifdef CONFIG_TTY | 635 | #ifdef CONFIG_TTY |
| 630 | APPLET(tty, tty_main, _BB_DIR_USR_BIN, _BB_SUID_NEVER) | 636 | APPLET(tty, tty_main, _BB_DIR_USR_BIN, _BB_SUID_NEVER) |
| 631 | #endif | 637 | #endif |
| 638 | #ifdef CONFIG_TUNE2FS | ||
| 639 | APPLET(tune2fs, tune2fs_main, _BB_DIR_SBIN, _BB_SUID_NEVER) | ||
| 640 | #endif | ||
| 632 | #ifdef CONFIG_UDHCPC | 641 | #ifdef CONFIG_UDHCPC |
| 633 | APPLET(udhcpc, udhcpc_main, _BB_DIR_SBIN, _BB_SUID_NEVER) | 642 | APPLET(udhcpc, udhcpc_main, _BB_DIR_SBIN, _BB_SUID_NEVER) |
| 634 | #endif | 643 | #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 @@ | |||
| 2828 | "$ tty\n" \ | 2828 | "$ tty\n" \ |
| 2829 | "/dev/tty2\n" | 2829 | "/dev/tty2\n" |
| 2830 | 2830 | ||
| 2831 | #define tune2fs_trivial_usage \ | ||
| 2832 | "[-c max-mounts-count] [-e errors-behavior] [-g group] " \ | ||
| 2833 | "[-i interval[d|m|w]] [-j] [-J journal-options] [-l] [-s sparse-flag] " \ | ||
| 2834 | "[-m reserved-blocks-percent] [-o [^]mount-options[,...]] " \ | ||
| 2835 | "[-r reserved-blocks-count] [-u user] [-C mount-count] " \ | ||
| 2836 | "[-L volume-label] [-M last-mounted-dir] [-O [^]feature[,...]] " \ | ||
| 2837 | "[-T last-check-time] [-U UUID] device" | ||
| 2838 | #define tune2fs_full_usage \ | ||
| 2839 | "Adjust filesystem options on ext[23] filesystems.\n\n" | ||
| 2840 | |||
| 2831 | #define udhcpc_trivial_usage \ | 2841 | #define udhcpc_trivial_usage \ |
| 2832 | "[-fbnqv] [-c CLIENTID] [-H HOSTNAME] [-i INTERFACE]\n[-p pidfile] [-r IP] [-s script]" | 2842 | "[-fbnqv] [-c CLIENTID] [-H HOSTNAME] [-i INTERFACE]\n[-p pidfile] [-r IP] [-s script]" |
| 2833 | #define udhcpc_full_usage \ | 2843 | #define udhcpc_full_usage \ |
