Source-Changes-HG archive

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

[src/trunk]: src/usr.sbin/vnconfig Sort options.



details:   https://anonhg.NetBSD.org/src/rev/c7f63fcceb4a
branches:  trunk
changeset: 836283:c7f63fcceb4a
user:      wiz <wiz%NetBSD.org@localhost>
date:      Sun Oct 07 20:30:50 2018 +0000

description:
Sort options.

diffstat:

 usr.sbin/vnconfig/vnconfig.8 |  10 +++++-----
 usr.sbin/vnconfig/vnconfig.c |   4 ++--
 2 files changed, 7 insertions(+), 7 deletions(-)

diffs (56 lines):

diff -r 5f9af757005f -r c7f63fcceb4a usr.sbin/vnconfig/vnconfig.8
--- a/usr.sbin/vnconfig/vnconfig.8      Sun Oct 07 18:14:32 2018 +0000
+++ b/usr.sbin/vnconfig/vnconfig.8      Sun Oct 07 20:30:50 2018 +0000
@@ -1,4 +1,4 @@
-.\"    $NetBSD: vnconfig.8,v 1.44 2018/10/07 11:51:26 mlelstv Exp $
+.\"    $NetBSD: vnconfig.8,v 1.45 2018/10/07 20:30:50 wiz Exp $
 .\"
 .\" Copyright (c) 1997 The NetBSD Foundation, Inc.
 .\" All rights reserved.
@@ -70,7 +70,7 @@
 .Sh SYNOPSIS
 .Nm
 .\" Fcf:lm:rt:uvz
-.Op Fl crivz
+.Op Fl cirvz
 .Op Fl f Ar disktab
 .Op Fl t Ar typename
 .Ar vnode_disk
@@ -144,6 +144,9 @@
 .Ar disktab
 instead of in
 .Pa /etc/disktab .
+.It Fl i
+Configure the device to use regular file I/O even when direct I/O using
+bmap/strategy would be possible.
 .It Fl l
 List the vnd devices and indicate which ones are in use.
 If one or more specific
@@ -168,9 +171,6 @@
 then only vnd devices currently in use will be shown.
 .It Fl r
 Configure the device as read-only.
-.It Fl i
-Configure the device to use regular file I/O even when direct I/O using
-bmap/strategy would be possible.
 .It Fl t Ar typename
 If configuring the device, look up
 .Ar typename
diff -r 5f9af757005f -r c7f63fcceb4a usr.sbin/vnconfig/vnconfig.c
--- a/usr.sbin/vnconfig/vnconfig.c      Sun Oct 07 18:14:32 2018 +0000
+++ b/usr.sbin/vnconfig/vnconfig.c      Sun Oct 07 20:30:50 2018 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: vnconfig.c,v 1.47 2018/10/07 11:51:26 mlelstv Exp $    */
+/*     $NetBSD: vnconfig.c,v 1.48 2018/10/07 20:30:50 wiz Exp $        */
 
 /*-
  * Copyright (c) 1997 The NetBSD Foundation, Inc.
@@ -432,7 +432,7 @@
 {
        const char *p = getprogname();
        (void)fprintf(stderr, 
-           "Usage: %s [-crivz] [-f dsktab] [-t type] vnode_disk"
+           "Usage: %s [-cirvz] [-f dsktab] [-t type] vnode_disk"
                " reg-file [geomspec]\n"
            "       %s -u [-Fv] vnode_disk\n"
            "       %s -l [-m num | vnode_disk...]\n", p, p, p);



Home | Main Index | Thread Index | Old Index