Sort options.

This commit is contained in:
wiz 2018-10-07 20:30:50 +00:00
parent 8e212b8902
commit f244ebf64d
2 changed files with 7 additions and 7 deletions

View File

@ -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 @@ option should look up in
.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 @@ is set to 0,
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

View File

@ -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 @@ usage(void)
{
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);