diff options
author | vapier <vapier@69ca8d6d-28ef-0310-b511-8ec308f3f277> | 2005-09-24 07:11:16 +0000 |
---|---|---|
committer | vapier <vapier@69ca8d6d-28ef-0310-b511-8ec308f3f277> | 2005-09-24 07:11:16 +0000 |
commit | cf7a2a2c35d9846bc6f2cff3514a960375574973 (patch) | |
tree | b099fd873abe7e76231ee24fe373dda750c002cf /include/usage.h | |
parent | 476db6f50683d451cb76641ac98b00c20a767a28 (diff) | |
download | busybox-w32-cf7a2a2c35d9846bc6f2cff3514a960375574973.tar.gz busybox-w32-cf7a2a2c35d9846bc6f2cff3514a960375574973.tar.bz2 busybox-w32-cf7a2a2c35d9846bc6f2cff3514a960375574973.zip |
import the very fat e2fsck/fsck applets
git-svn-id: svn://busybox.net/trunk/busybox@11623 69ca8d6d-28ef-0310-b511-8ec308f3f277
Diffstat (limited to 'include/usage.h')
-rw-r--r-- | include/usage.h | 34 |
1 files changed, 34 insertions, 0 deletions
diff --git a/include/usage.h b/include/usage.h index c4516e0eb..fee8bc889 100644 --- a/include/usage.h +++ b/include/usage.h | |||
@@ -546,6 +546,26 @@ | |||
546 | "\t-r,\t--remaining\tInterpret lease times as time remaing\n" \ | 546 | "\t-r,\t--remaining\tInterpret lease times as time remaing\n" \ |
547 | "\t-a,\t--absolute\tInterpret lease times as expire time" | 547 | "\t-a,\t--absolute\tInterpret lease times as expire time" |
548 | 548 | ||
549 | #define e2fsck_trivial_usage \ | ||
550 | "[-panyrcdfvstDFSV] [-b superblock] [-B blocksize] " \ | ||
551 | "[-I inode_buffer_blocks] [-P process_inode_size] " \ | ||
552 | "[-l|-L bad_blocks_file] [-C fd] [-j ext-journal] " \ | ||
553 | "[-E extended-options] device" | ||
554 | #define e2fsck_full_usage \ | ||
555 | "Check a Linux ext2/ext3 file system.\n\n" \ | ||
556 | "Options:\n" \ | ||
557 | "\t-p\tAutomatic repair (no questions)\n" \ | ||
558 | "\t-n\tMake no changes to the filesystem\n" \ | ||
559 | "\t-y\tAssume 'yes' to all questions\n" \ | ||
560 | "\t-c\tCheck for bad blocks and add them to the badblock list\n" \ | ||
561 | "\t-f\tForce checking even if filesystem is marked clean\n" \ | ||
562 | "\t-v\tBe verbose\n" \ | ||
563 | "\t-b superblock\tUse alternative superblock\n" \ | ||
564 | "\t-B blocksize\tForce blocksize when looking for superblock\n" \ | ||
565 | "\t-j journal\tSet location of the external journal\n" \ | ||
566 | "\t-l file\tAdd to badblocks list\n" \ | ||
567 | "\t-L file\tSet badblocks list" | ||
568 | |||
549 | #ifdef CONFIG_FEATURE_FANCY_ECHO | 569 | #ifdef CONFIG_FEATURE_FANCY_ECHO |
550 | # define USAGE_FANCY_ECHO(a) a | 570 | # define USAGE_FANCY_ECHO(a) a |
551 | #else | 571 | #else |
@@ -764,6 +784,20 @@ | |||
764 | #define freeramdisk_example_usage \ | 784 | #define freeramdisk_example_usage \ |
765 | "$ freeramdisk /dev/ram2\n" | 785 | "$ freeramdisk /dev/ram2\n" |
766 | 786 | ||
787 | #define fsck_trivial_usage \ | ||
788 | "[-ANPRTV] [ -C [ fd ] ] [-t fstype] [fs-options] [filesys ...]" | ||
789 | #define fsck_full_usage \ | ||
790 | "Check and repair filesystems.\n\n" \ | ||
791 | "Options:\n" \ | ||
792 | "\t-A\tWalk /etc/fstab and check all filesystems\n" \ | ||
793 | "\t-N\tDon't execute, just show what would be done\n" \ | ||
794 | "\t-P\tWhen using -A, check filesystems in parallel\n" \ | ||
795 | "\t-R\tWhen using -A, skip the root filesystem\n" \ | ||
796 | "\t-T\tDon't show title on startup\n" \ | ||
797 | "\t-V\tVerbose mode\n" \ | ||
798 | "\t-C\tWrite status information to specified filedescriptor\n" \ | ||
799 | "\t-t\tList of filesystem types to check" | ||
800 | |||
767 | #define fsck_minix_trivial_usage \ | 801 | #define fsck_minix_trivial_usage \ |
768 | "[-larvsmf] /dev/name" | 802 | "[-larvsmf] /dev/name" |
769 | #define fsck_minix_full_usage \ | 803 | #define fsck_minix_full_usage \ |