aboutsummaryrefslogtreecommitdiff
path: root/e2fsprogs/old_e2fsprogs/e2fsck.c
diff options
context:
space:
mode:
Diffstat (limited to 'e2fsprogs/old_e2fsprogs/e2fsck.c')
-rw-r--r--e2fsprogs/old_e2fsprogs/e2fsck.c24
1 files changed, 23 insertions, 1 deletions
diff --git a/e2fsprogs/old_e2fsprogs/e2fsck.c b/e2fsprogs/old_e2fsprogs/e2fsck.c
index d73665988..ad4ff348b 100644
--- a/e2fsprogs/old_e2fsprogs/e2fsck.c
+++ b/e2fsprogs/old_e2fsprogs/e2fsck.c
@@ -29,6 +29,28 @@
29 * Licensed under GPLv2 or later, see file LICENSE in this source tree. 29 * Licensed under GPLv2 or later, see file LICENSE in this source tree.
30 */ 30 */
31 31
32/*
33//usage:#define e2fsck_trivial_usage
34//usage: "[-panyrcdfvstDFSV] [-b superblock] [-B blocksize] "
35//usage: "[-I inode_buffer_blocks] [-P process_inode_size] "
36//usage: "[-l|-L bad_blocks_file] [-C fd] [-j external_journal] "
37//usage: "[-E extended-options] device"
38//usage:#define e2fsck_full_usage "\n\n"
39//usage: "Check ext2/ext3 file system\n"
40//usage: "\nOptions:"
41//usage: "\n -p Automatic repair (no questions)"
42//usage: "\n -n Make no changes to the filesystem"
43//usage: "\n -y Assume 'yes' to all questions"
44//usage: "\n -c Check for bad blocks and add them to the badblock list"
45//usage: "\n -f Force checking even if filesystem is marked clean"
46//usage: "\n -v Verbose"
47//usage: "\n -b superblock Use alternative superblock"
48//usage: "\n -B blocksize Force blocksize when looking for superblock"
49//usage: "\n -j journal Set location of the external journal"
50//usage: "\n -l file Add to badblocks list"
51//usage: "\n -L file Set badblocks list"
52*/
53
32#include "e2fsck.h" /*Put all of our defines here to clean things up*/ 54#include "e2fsck.h" /*Put all of our defines here to clean things up*/
33 55
34#define _(x) x 56#define _(x) x
@@ -560,7 +582,7 @@ static dnode_t *dict_first(dict_t *dict)
560 582
561/* 583/*
562 * Return the given node's successor node---the node which has the 584 * Return the given node's successor node---the node which has the
563 * next key in the the left to right ordering. If the node has 585 * next key in the left to right ordering. If the node has
564 * no successor, a null pointer is returned rather than a pointer to 586 * no successor, a null pointer is returned rather than a pointer to
565 * the nil node. 587 * the nil node.
566 */ 588 */