Module Name:    src
Committed By:   wiz
Date:           Mon Jun 27 13:50:32 UTC 2011

Modified Files:
        src/sbin/fsck_v7fs: fsck_v7fs.8
        src/sbin/mount_v7fs: mount_v7fs.8
        src/sbin/newfs_v7fs: newfs_v7fs.8

Log Message:
Various improvements.


To generate a diff of this commit:
cvs rdiff -u -r1.1 -r1.2 src/sbin/fsck_v7fs/fsck_v7fs.8
cvs rdiff -u -r1.1 -r1.2 src/sbin/mount_v7fs/mount_v7fs.8
cvs rdiff -u -r1.1 -r1.2 src/sbin/newfs_v7fs/newfs_v7fs.8

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/sbin/fsck_v7fs/fsck_v7fs.8
diff -u src/sbin/fsck_v7fs/fsck_v7fs.8:1.1 src/sbin/fsck_v7fs/fsck_v7fs.8:1.2
--- src/sbin/fsck_v7fs/fsck_v7fs.8:1.1	Mon Jun 27 11:52:58 2011
+++ src/sbin/fsck_v7fs/fsck_v7fs.8	Mon Jun 27 13:50:31 2011
@@ -1,4 +1,4 @@
-.\"	$NetBSD: fsck_v7fs.8,v 1.1 2011/06/27 11:52:58 uch Exp $
+.\"	$NetBSD: fsck_v7fs.8,v 1.2 2011/06/27 13:50:31 wiz Exp $
 .\"
 .\" Copyright (c) 2011 The NetBSD Foundation, Inc.
 .\" All rights reserved.
@@ -35,17 +35,16 @@
 .Nd 7th Edition(V7) filesystem consistency checker
 .Sh SYNOPSIS
 .Nm
-.Op Fl o Ar options
+.Op Fl FnPpy
 .Op Fl B Ar byteorder
-.Op Fl nypP
-.Op Fl F
+.Op Fl o Ar options
 .Ar filesystem ...
 .Sh DESCRIPTION
 The
 .Nm
 utility verifies and repairs
 .Tn Version 7
-filesystems
+file systems.
 .Pp
 The following flags are interpreted by
 .Nm .
@@ -55,23 +54,14 @@
 .Ar byteorder
 byte order if needed.
 Valid byte orders are
-.Dq be
-and
-.Dq le
+.Dq be ,
+.Dq le ,
 and
 .Dq pdp .
 .It Fl F
-Check file system to a regular file.
+Check file system inside a regular file.
 .It Fl n
 Don't correct file system.
-.It Fl y
-Causes
-.Nm
-to assume yes as the answer to all operator questions.
-.It Fl p
-preen mode. See fsck(8)
-.It Fl P
-Display a progress meter for the file system check.
 .It Fl o
 Options are specified with a
 .Fl o
@@ -79,11 +69,20 @@
 The following options are available:
 .Bl -tag -width data
 .It Cm data
-.Tn Check data block duplication.
+Check data block duplication.
 .It Cm free
-.Tn Check free block duplication.
+Check free block duplication.
 .El
-
+.It Fl P
+Display a progress meter for the file system check.
+.It Fl p
+Preen mode.
+See
+.Xr fsck 8 .
+.It Fl y
+Causes
+.Nm
+to assume yes as the answer to all operator questions.
 .El
 .Sh SEE ALSO
 .Xr fsck 8 ,

Index: src/sbin/mount_v7fs/mount_v7fs.8
diff -u src/sbin/mount_v7fs/mount_v7fs.8:1.1 src/sbin/mount_v7fs/mount_v7fs.8:1.2
--- src/sbin/mount_v7fs/mount_v7fs.8:1.1	Mon Jun 27 11:52:58 2011
+++ src/sbin/mount_v7fs/mount_v7fs.8	Mon Jun 27 13:50:31 2011
@@ -1,4 +1,4 @@
-.\"	$NetBSD: mount_v7fs.8,v 1.1 2011/06/27 11:52:58 uch Exp $
+.\"	$NetBSD: mount_v7fs.8,v 1.2 2011/06/27 13:50:31 wiz Exp $
 .\"
 .\" Copyright (c) 2011 The NetBSD Foundation, Inc.
 .\" All rights reserved.
@@ -84,13 +84,12 @@
 .Xr mount 8
 at boot time.
 The options are as follows:
-.Bl -tag -width Fl
+.Bl -tag -width XBXbyteorderXX
 .It Fl B Ar byte-order
 Specify the metadata byte order of the file system.
 Valid byte orders are
-.Sq be
-and
-.Sq le
+.Sq be ,
+.Sq le ,
 and
 .Sq pdp .
 If no byte order is specified, the file system is mounted in host

Index: src/sbin/newfs_v7fs/newfs_v7fs.8
diff -u src/sbin/newfs_v7fs/newfs_v7fs.8:1.1 src/sbin/newfs_v7fs/newfs_v7fs.8:1.2
--- src/sbin/newfs_v7fs/newfs_v7fs.8:1.1	Mon Jun 27 11:52:58 2011
+++ src/sbin/newfs_v7fs/newfs_v7fs.8	Mon Jun 27 13:50:31 2011
@@ -1,4 +1,4 @@
-.\"	$NetBSD: newfs_v7fs.8,v 1.1 2011/06/27 11:52:58 uch Exp $
+.\"	$NetBSD: newfs_v7fs.8,v 1.2 2011/06/27 13:50:31 wiz Exp $
 .\"
 .\" Copyright (c) 2011 The NetBSD Foundation, Inc.
 .\" All rights reserved.
@@ -64,14 +64,15 @@
 .Nd construct a new 7th Edition(V7) File System
 .Sh SYNOPSIS
 .Nm
+.Op Fl FPvZ
 .Op Fl B Ar byte-order
-.Op Fl FZvP
-.Op Fl s Ar sectors
 .Op Fl n Ar inodes
+.Op Fl s Ar sectors
 .Ar special
 .Sh DESCRIPTION
 .Nm
-builds a 7th Edition(V7) file system on the specified special.
+builds a 7th Edition(V7) file system on the specified
+.Ar special .
 If it is a device, the size information will be taken from the disk label and
 before running
 .Nm
@@ -80,34 +81,35 @@
 the proper fstype is
 .Dq Version 7 .
 Otherwise, the size must be specified on the command line.
-V7 filesystem's block size and sector size are 512byte.
-disk address limits are 24bit.
+V7 filesystem's block size and sector size are 512 byte.
+Disk address limits are 24 bit.
 .Pp
 The following arguments are supported:
-.Bl -tag -width Fl
-.It Fl P
-Display a progress meter for the file system construct.
-.It Fl v
-verbose.
-.It Fl F
-Create file system to a regular file.(needs -s option)
-.It Fl s Ar sectors
-Create file system with specified number of disk sectors.
-.It Fl Z
-Fill file with zeroes instead of creating a sparse file.
+.Bl -tag -width XBXbyteXorderXX
 .It Fl B Ar byte-order
 Specify the metadata byte order of the file system to be created.
 Valid byte orders are
-.Sq be
-and
-.Sq le
+.Sq be ,
+.Sq le ,
 and
 .Sq pdp .
 If no byte order is specified, the file system is created in host
 byte order.
+.It Fl F
+Create file system to a regular file (needs the
+.Fl s
+option).
 .It Fl n Ar inodes
 This specifies the number of inodes for the filesystem.
-If number of inodes exceeds 65536, contracted to 65536.
+If the number of inodes exceeds 65536, it is reduced to 65536.
+.It Fl P
+Display a progress meter for the file system construction.
+.It Fl s Ar sectors
+Create file system with specified number of disk sectors.
+.It Fl v
+Verbose mode.
+.It Fl Z
+Fill file with zeroes instead of creating a sparse file.
 .El
 .Sh SEE ALSO
 .Xr disklabel 5 ,

Reply via email to