|author||Kirk McKusick <mckusick@FreeBSD.org>||2009-02-04 01:02:56 +0000|
|committer||Kirk McKusick <mckusick@FreeBSD.org>||2009-02-04 01:02:56 +0000|
Update the actions previously attempted by the -D option to make them
robust. With these changes fsck is now able to detect and reliably rebuild corrupted cylinder group maps. The -D option is no longer necessary as it has been replaced by a prompt asking whether the corrupted cylinder group should be rebuilt and doing so when requested. These actions are only offered and taken when running fsck in manual mode. Corrupted cylinder groups found during preen mode cause the fsck to fail. Add the -r option to free up excess unused inodes. Decreasing the number of preallocated inodes reduces the running time of future runs of fsck and frees up space that can allocated to files. The -r option is ignored when running in preen mode. Reviewed by: Xin LI <delphij@> Sponsored by: Rsync.net
Notes: svn path=/head/; revision=188110
Diffstat (limited to 'sbin/fsck_ffs/fsck_ffs.8')
1 files changed, 10 insertions, 17 deletions
diff --git a/sbin/fsck_ffs/fsck_ffs.8 b/sbin/fsck_ffs/fsck_ffs.8
index b27269a5947b..8b02e2daba1c 100644
@@ -38,7 +38,7 @@
.Nd file system consistency check and interactive repair
-.Op Fl BDFpfny
+.Op Fl BFprfny
.Op Fl b Ar block
.Op Fl c Ar level
.Op Fl m Ar mode
@@ -216,22 +216,6 @@ are being converted at once.
The format of a file system can be determined from the
first line of output from
.Xr dumpfs 8 .
-.It Fl D
-in 'damaged recovery' mode, which will enable certain aggressive
-operations that can make
-to survive with file systems that has very serious data damage, which
-is an useful last resort when on disk data damage is very serious
-to crash otherwise. Be
-.Em very careful
-using this flag, it is dangerous if there are data transmission hazards
-because a false positive cylinder group magic number mismatch could
-.Em irrevertible data loss!
This option implies the
@@ -259,6 +243,15 @@ which is assumed to be affirmative;
do not open the file system for writing.
.It Fl p
Preen file systems (see above).
+.It Fl r
+Free up excess unused inodes.
+Decreasing the number of preallocated inodes reduces the
+running time of future runs of
+and frees up space that can allocated to files.
+option is ignored when running in preen mode.
.It Fl y
Assume a yes response to all questions asked by