[Ocfs2-tools-commits] smushran commits r1299 - trunk/fsck.ocfs2

svn-commits at oss.oracle.com svn-commits at oss.oracle.com
Thu Feb 15 14:20:22 PST 2007


Author: smushran
Date: 2007-02-15 14:20:21 -0800 (Thu, 15 Feb 2007)
New Revision: 1299

Modified:
   trunk/fsck.ocfs2/fsck.ocfs2.8.in
Log:
fsck: manpage refreshed
Signed-off-by: mfasheh

Modified: trunk/fsck.ocfs2/fsck.ocfs2.8.in
===================================================================
--- trunk/fsck.ocfs2/fsck.ocfs2.8.in	2007-02-15 22:18:50 UTC (rev 1298)
+++ trunk/fsck.ocfs2/fsck.ocfs2.8.in	2007-02-15 22:20:21 UTC (rev 1299)
@@ -1,4 +1,4 @@
-.TH "fsck.ocfs2" "8" "July 2006" "Version @VERSION@" "OCFS2 Manual Pages"
+.TH "fsck.ocfs2" "8" "February 2007" "Version @VERSION@" "OCFS2 Manual Pages"
 .SH "NAME"
 fsck.ocfs2 \- Check an \fIOCFS2\fR file system.
 .SH "SYNOPSIS"
@@ -7,18 +7,20 @@
 .PP 
 \fBfsck.ocfs2\fR is used to check an OCFS2 file system.
 
-\fIdevice\fR is the file where the file system is stored (e.g. \fI/dev/sda1\fR).  It will almost always be a device file but a regular file will work as well.
+\fIdevice\fR is the file where the file system is stored (e.g. \fI/dev/sda1\fR).
+It will almost always be a device file but a regular file will work as well.
 
 .SH "OPTIONS"
 .TP
 \fB\-b\fR \fIsuperblock block\fR
 Normally, \fBfsck.ocfs2\fR will read the superblock from the first block of
 the device.  This option specifies an alternate block that the superblock
-should be read from.
+should be read from. (Use \fB\-r\fR instead of this option.)
 
 .TP
 \fB\-B\fR \fIblocksize\fR
-The \fIblock size\fR, specified in bytes, can range from 512 to 4096.  A value of 0, the default, is used to indicate that the blocksize should be automatically detected.
+The \fIblock size\fR, specified in bytes, can range from 512 to 4096.
+A value of 0, the default, is used to indicate that the blocksize should be automatically detected.
 
 .TP
 \fB\-f\fR
@@ -47,6 +49,13 @@
 to produce a record of a file system's faults.
 
 .TP
+\fB\-r\fR \fIbackup-number\fR
+\fImkfs.ocfs2\fR makes upto 6 backup copies of the superblock at offsets
+1G, 4G, 16G, 64G, 256G and 1T depending on the size of the volume.
+Use this option to specify the backup, 1 thru 6, to use to recover the
+superblock.
+
+.TP
 \fB\-y\fR 
 Give the 'yes' answer to all questions that fsck will ask.  This will repair
 all faults that \fBfsck.ocfs2\fR finds but will not give the operator a chance to intervene if \fBfsck.ocfs2\fR decides that it wants to drastically repair the file system.
@@ -76,7 +85,7 @@
 .br
 \	16\	\-\ Usage or syntax error
 .br
-\	32\	\-\ E2fsck canceled by user request
+\	32\	\-\ fsck.ocfs2 canceled by user request
 .br
 \	128\	\-\ Shared library error
 .br
@@ -96,4 +105,4 @@
 by Theodore Y. Ts'o <tytso at mit.edu>.
 
 .SH "COPYRIGHT"
-Copyright \(co 2004, 2006 Oracle. All rights reserved.
+Copyright \(co 2004, 2007 Oracle. All rights reserved.




More information about the Ocfs2-tools-commits mailing list