1 diff -Nrcpad reiser4progs-1.0.6/doc/fsck.reiser4.8 reiser4progs-1.0.6_gentoo/doc/fsck.reiser4.8
2 *** reiser4progs-1.0.6/doc/fsck.reiser4.8 2006-11-01 15:50:34.000000000 +0100
3 --- reiser4progs-1.0.6_gentoo/doc/fsck.reiser4.8 2008-01-18 16:14:40.241416630 +0100
4 *************** supresses gauges.
9 ! .B -p, --print-profile
10 prints the plugin profile. This is the set of default plugins used for all
11 parts of a filesystem -- format, nodes, files, directories, hashes, etc. If
12 --override is specified, then prints modified plugins.
18 prints the plugin profile. This is the set of default plugins used for all
19 parts of a filesystem -- format, nodes, files, directories, hashes, etc. If
20 --override is specified, then prints modified plugins.
21 *************** assumes an answer 'yes' to all questions
25 forces fsck to use whole disk, not block device or mounted partition.
28 + automatically repair minor corruptions on the filesystem.
31 tunes number of nodes in the libreiser4 tree buffer cache
33 diff -Nrcpad reiser4progs-1.0.6/progs/fsck/fsck.c reiser4progs-1.0.6_gentoo/progs/fsck/fsck.c
34 *** reiser4progs-1.0.6/progs/fsck/fsck.c 2006-11-01 15:50:34.000000000 +0100
35 --- reiser4progs-1.0.6_gentoo/progs/fsck/fsck.c 2008-01-18 16:20:31.723917114 +0100
36 *************** static void fsck_print_usage(char *name)
38 " -q, --quiet supresses gauges\n"
41 ! " -p, --print-profile prints the plugin profile.\n"
42 " -l, --print-plugins prints all known plugins.\n"
43 " -o, --override TYPE=PLUGIN overrides the default plugin of the type\n"
44 " \"TYPE\" by the plugin \"PLUGIN\" in the\n"
46 " -q, --quiet supresses gauges\n"
49 ! " --print-profile prints the plugin profile.\n"
50 " -l, --print-plugins prints all known plugins.\n"
51 " -o, --override TYPE=PLUGIN overrides the default plugin of the type\n"
52 " \"TYPE\" by the plugin \"PLUGIN\" in the\n"
53 *************** static void fsck_print_usage(char *name)
56 " -y, --yes assumes an answer 'yes' to all questions.\n"
57 " -f, --force makes fsck to use whole disk, not block\n"
58 " device or mounted partition.\n"
59 + " -p, --preen automatically repair the filesysem.\n"
60 " -c, --cache N number of nodes in tree buffer cache\n");
63 *************** static errno_t fsck_init(fsck_parse_t *d
66 {"no-log", no_argument, NULL, 'n'},
67 {"auto", no_argument, NULL, 'a'},
68 {"force", no_argument, NULL, 'f'},
69 + {"preen", no_argument, NULL, 'p'},
70 {"cache", required_argument, 0, 'c'},
71 {"override", required_argument, NULL, 'o'},
72 /* Fsck hidden options. */
73 *************** static errno_t fsck_init(fsck_parse_t *d
77 aux_gauge_set_handler(NULL, GT_PROGRESS);
80 + /* this should fix baselayout-2/openrc problems */
81 + aal_set_bit(&data->options, FSCK_OPT_AUTO);
84 aal_set_bit(&data->options, FSCK_OPT_YES);
86 *************** static errno_t fsck_init(fsck_parse_t *d
92 - mode = RM_SHOW_PARM;
95 aal_strncat(override, optarg, aal_strlen(optarg));
96 aal_strncat(override, ",", 1);