Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 195988 | Differences between
and this patch

Collapse All | Expand All

(-)a/doc/fsck.reiser4.8 (-1 / +4 lines)
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
(-)a/progs/fsck/fsck.c (-4 / +6 lines)
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 203-208 Link Here
203
		case 'q':
205
		case 'q':
204
			aux_gauge_set_handler(NULL, GT_PROGRESS);
206
			aux_gauge_set_handler(NULL, GT_PROGRESS);
205
			break;
207
			break;
208
		case 'p':
209
			/* Fall through as preen should fix errors */
210
			mode = RM_FIX;
206
		case 'y':
211
		case 'y':
207
			aal_set_bit(&data->options, FSCK_OPT_YES);
212
			aal_set_bit(&data->options, FSCK_OPT_YES);
208
			break;
213
			break;
Lines 226-234 Link Here
226
		case 'l':
231
		case 'l':
227
			mode = RM_SHOW_PLUG;
232
			mode = RM_SHOW_PLUG;
228
			break;
233
			break;
229
		case 'p':
230
			mode = RM_SHOW_PARM;
231
			break;
232
		case 'o':
234
		case 'o':
233
			aal_strncat(override, optarg, aal_strlen(optarg));
235
			aal_strncat(override, optarg, aal_strlen(optarg));
234
			aal_strncat(override, ",", 1);
236
			aal_strncat(override, ",", 1);

Return to bug 195988