aboutsummaryrefslogtreecommitdiff
path: root/sbin/fsck_ffs/fsck_ffs.8
diff options
context:
space:
mode:
authorDag-Erling Smørgrav <des@FreeBSD.org>2013-04-29 20:13:09 +0000
committerDag-Erling Smørgrav <des@FreeBSD.org>2013-04-29 20:13:09 +0000
commit2b5373de83ee2113eafb46726ba37257622e26e5 (patch)
tree76cb8332af9430e1c1556bbc8a24c5168fc2de7f /sbin/fsck_ffs/fsck_ffs.8
parentc93c82f464863400532af34d4ae5012145685097 (diff)
downloadsrc-2b5373de83ee2113eafb46726ba37257622e26e5.tar.gz
src-2b5373de83ee2113eafb46726ba37257622e26e5.zip
Add a -Z option which zeroes unused blocks. It can be combined with -E,
in which case unused blocks are first zeroed and then erased. Reviewed by: mckusick MFC after: 3 weeks
Notes
Notes: svn path=/head/; revision=250056
Diffstat (limited to 'sbin/fsck_ffs/fsck_ffs.8')
-rw-r--r--sbin/fsck_ffs/fsck_ffs.811
1 files changed, 10 insertions, 1 deletions
diff --git a/sbin/fsck_ffs/fsck_ffs.8 b/sbin/fsck_ffs/fsck_ffs.8
index 0513017cd4e2..0b3f992e6bad 100644
--- a/sbin/fsck_ffs/fsck_ffs.8
+++ b/sbin/fsck_ffs/fsck_ffs.8
@@ -38,7 +38,7 @@
.Nd file system consistency check and interactive repair
.Sh SYNOPSIS
.Nm
-.Op Fl BEFfnpry
+.Op Fl BEFfnpryZ
.Op Fl b Ar block
.Op Fl c Ar level
.Op Fl m Ar mode
@@ -280,6 +280,15 @@ Assume a yes response to all questions asked by
.Nm ;
this should be used with great caution as this is a free license
to continue after essentially unlimited trouble has been encountered.
+.It Fl Z
+Similar to
+.Fl E ,
+but overwrites unused blocks with zeroes.
+If both
+.Fl E
+and
+.Fl Z
+are specified, blocks are first zeroed and then erased.
.El
.Pp
Inconsistencies checked are as follows: