Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 237393
Collapse All | Expand All

(-)file_not_specified_in_diff (-7 / +11 lines)
Line  Link Here
0
-- a/doc/fsck.reiser4.8
0
++ b/doc/fsck.reiser4.8
Lines 54-60 Link Here
54
ignored.
54
ignored.
55
.SH PLUGIN OPTIONS
55
.SH PLUGIN OPTIONS
56
.TP
56
.TP
57
.B -p, --print-profile
57
.B --print-profile
58
prints the plugin profile. This is the set of default plugins used for all
58
prints the plugin profile. This is the set of default plugins used for all
59
parts of a filesystem -- format, nodes, files, directories, hashes, etc. If
59
parts of a filesystem -- format, nodes, files, directories, hashes, etc. If
60
--override is specified, then prints modified plugins.
60
--override is specified, then prints modified plugins.
Lines 82-87 Link Here
82
.B -f, --force
82
.B -f, --force
83
forces fsck to use whole disk, not block device or mounted partition.
83
forces fsck to use whole disk, not block device or mounted partition.
84
.TP
84
.TP
85
.B -p, --preen
86
automatically repair minor corruptions on the filesystem.
87
.TP
85
.B -c, --cache N
88
.B -c, --cache N
86
tunes number of nodes in the libreiser4 tree buffer cache
89
tunes number of nodes in the libreiser4 tree buffer cache
87
.RS
90
.RS
88
-- a/progs/fsck/fsck.c
91
++ b/progs/fsck/fsck.c
Lines 28-34 Link Here
28
		"  -q, --quiet                   supresses gauges\n"
28
		"  -q, --quiet                   supresses gauges\n"
29
		"  -r                            ignored\n"
29
		"  -r                            ignored\n"
30
		"Plugins options:\n"
30
		"Plugins options:\n"
31
		"  -p, --print-profile           prints the plugin profile.\n"
31
		"  --print-profile               prints the plugin profile.\n"
32
		"  -l, --print-plugins           prints all known plugins.\n"
32
		"  -l, --print-plugins           prints all known plugins.\n"
33
		"  -o, --override TYPE=PLUGIN    overrides the default plugin of the type\n"
33
		"  -o, --override TYPE=PLUGIN    overrides the default plugin of the type\n"
34
	        "                                \"TYPE\" by the plugin \"PLUGIN\" in the\n"
34
	        "                                \"TYPE\" by the plugin \"PLUGIN\" in the\n"
Lines 39-44 Link Here
39
		"  -y, --yes                     assumes an answer 'yes' to all questions.\n"
39
		"  -y, --yes                     assumes an answer 'yes' to all questions.\n"
40
		"  -f, --force                   makes fsck to use whole disk, not block\n"
40
		"  -f, --force                   makes fsck to use whole disk, not block\n"
41
		"                                device or mounted partition.\n"
41
		"                                device or mounted partition.\n"
42
		"  -p, --preen                   automatically repair the filesysem.\n"
42
		"  -c, --cache N                 number of nodes in tree buffer cache\n");
43
		"  -c, --cache N                 number of nodes in tree buffer cache\n");
43
}
44
}
44
45
Lines 140-145 Link Here
140
		{"no-log", no_argument, NULL, 'n'},
141
		{"no-log", no_argument, NULL, 'n'},
141
		{"auto", no_argument, NULL, 'a'},
142
		{"auto", no_argument, NULL, 'a'},
142
		{"force", no_argument, NULL, 'f'},
143
		{"force", no_argument, NULL, 'f'},
144
		{"preen", no_argument, NULL, 'p'},
143
		{"cache", required_argument, 0, 'c'},
145
		{"cache", required_argument, 0, 'c'},
144
		{"override", required_argument, NULL, 'o'},
146
		{"override", required_argument, NULL, 'o'},
145
		/* Fsck hidden options. */
147
		/* Fsck hidden options. */
Lines 190-195 Link Here
190
		case 'f':
192
		case 'f':
191
			aal_set_bit(&data->options, FSCK_OPT_FORCE);
193
			aal_set_bit(&data->options, FSCK_OPT_FORCE);
192
			break;
194
			break;
195
		case 'p':
196
			/* Fall through to auto, as preen is an alias for -a */
193
		case 'a':
197
		case 'a':
194
			aal_set_bit(&data->options, FSCK_OPT_AUTO);
198
			aal_set_bit(&data->options, FSCK_OPT_AUTO);
195
			break;
199
			break;
Lines 226-234 Link Here
226
		case 'l':
230
		case 'l':
227
			mode = RM_SHOW_PLUG;
231
			mode = RM_SHOW_PLUG;
228
			break;
232
			break;
229
		case 'p':
230
			mode = RM_SHOW_PARM;
231
			break;
232
		case 'o':
233
		case 'o':
233
			aal_strncat(override, optarg, aal_strlen(optarg));
234
			aal_strncat(override, optarg, aal_strlen(optarg));
234
			aal_strncat(override, ",", 1);
235
			aal_strncat(override, ",", 1);

Return to bug 237393