Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 133596 Details for
Bug 195988
sys-fs/reiser4progs -p is not preen
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Add the -p, --preen option
resier4progs-fsck-preen.patch (text/plain), 2.35 KB, created by
Roy Marples (RETIRED)
on 2007-10-16 06:56:56 UTC
(
hide
)
Description:
Add the -p, --preen option
Filename:
MIME Type:
Creator:
Roy Marples (RETIRED)
Created:
2007-10-16 06:56:56 UTC
Size:
2.35 KB
patch
obsolete
>diff -ur a/doc/fsck.reiser4.8 b/doc/fsck.reiser4.8 >--- a/doc/fsck.reiser4.8 2006-11-01 14:50:34.000000000 +0000 >+++ b/doc/fsck.reiser4.8 2007-10-16 07:54:37.794864238 +0100 >@@ -54,7 +54,7 @@ > ignored. > .SH PLUGIN OPTIONS > .TP >-.B -p, --print-profile >+.B --print-profile > prints the plugin profile. This is the set of default plugins used for all > parts of a filesystem -- format, nodes, files, directories, hashes, etc. If > --override is specified, then prints modified plugins. >@@ -82,6 +82,10 @@ > .B -f, --force > forces fsck to use whole disk, not block device or mounted partition. > .TP >+.B -p, --preen >+automatically repair the filesystem. We do this by default, but need to >+include the option so we're compatible with other fsck tools. >+.TP > .B -c, --cache N > tunes number of nodes in the libreiser4 tree buffer cache > .RS >diff -ur a/progs/fsck/fsck.c b/progs/fsck/fsck.c >--- a/progs/fsck/fsck.c 2006-11-01 14:50:34.000000000 +0000 >+++ b/progs/fsck/fsck.c 2007-10-16 07:55:00.481744443 +0100 >@@ -28,7 +28,7 @@ > " -q, --quiet supresses gauges\n" > " -r ignored\n" > "Plugins options:\n" >- " -p, --print-profile prints the plugin profile.\n" >+ " --print-profile prints the plugin profile.\n" > " -l, --print-plugins prints all known plugins.\n" > " -o, --override TYPE=PLUGIN overrides the default plugin of the type\n" > " \"TYPE\" by the plugin \"PLUGIN\" in the\n" >@@ -39,6 +39,7 @@ > " -y, --yes assumes an answer 'yes' to all questions.\n" > " -f, --force makes fsck to use whole disk, not block\n" > " device or mounted partition.\n" >+ " -p, --preen automatically repiar the filesysem.\n" > " -c, --cache N number of nodes in tree buffer cache\n"); > } > >@@ -140,6 +141,7 @@ > {"no-log", no_argument, NULL, 'n'}, > {"auto", no_argument, NULL, 'a'}, > {"force", no_argument, NULL, 'f'}, >+ {"preen", no_argument, NULL, 'p'}, > {"cache", required_argument, 0, 'c'}, > {"override", required_argument, NULL, 'o'}, > /* Fsck hidden options. */ >@@ -227,7 +229,7 @@ > mode = RM_SHOW_PLUG; > break; > case 'p': >- mode = RM_SHOW_PARM; >+ /* We preen by default */ > break; > case 'o': > aal_strncat(override, optarg, aal_strlen(optarg));
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 195988
:
133568
|
133570
|
133571
|
133596
|
133618
|
133619
|
141232
|
141233