Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sbin Various improvements.



details:   https://anonhg.NetBSD.org/src/rev/b05f7cdf804b
branches:  trunk
changeset: 766552:b05f7cdf804b
user:      wiz <wiz%NetBSD.org@localhost>
date:      Mon Jun 27 13:50:31 2011 +0000

description:
Various improvements.

diffstat:

 sbin/fsck_v7fs/fsck_v7fs.8   |  39 +++++++++++++++++++--------------------
 sbin/mount_v7fs/mount_v7fs.8 |   9 ++++-----
 sbin/newfs_v7fs/newfs_v7fs.8 |  44 +++++++++++++++++++++++---------------------
 3 files changed, 46 insertions(+), 46 deletions(-)

diffs (188 lines):

diff -r 5e7787ad08ee -r b05f7cdf804b sbin/fsck_v7fs/fsck_v7fs.8
--- a/sbin/fsck_v7fs/fsck_v7fs.8        Mon Jun 27 12:06:19 2011 +0000
+++ b/sbin/fsck_v7fs/fsck_v7fs.8        Mon Jun 27 13:50:31 2011 +0000
@@ -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 ,
diff -r 5e7787ad08ee -r b05f7cdf804b sbin/mount_v7fs/mount_v7fs.8
--- a/sbin/mount_v7fs/mount_v7fs.8      Mon Jun 27 12:06:19 2011 +0000
+++ b/sbin/mount_v7fs/mount_v7fs.8      Mon Jun 27 13:50:31 2011 +0000
@@ -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
diff -r 5e7787ad08ee -r b05f7cdf804b sbin/newfs_v7fs/newfs_v7fs.8
--- a/sbin/newfs_v7fs/newfs_v7fs.8      Mon Jun 27 12:06:19 2011 +0000
+++ b/sbin/newfs_v7fs/newfs_v7fs.8      Mon Jun 27 13:50:31 2011 +0000
@@ -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 n Ar inodes
 .Op Fl s Ar sectors
-.Op Fl n Ar inodes
 .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 ,



Home | Main Index | Thread Index | Old Index