Sun Jun 9 18:39:05 2013 UTC ()
Alias this to vndconfig for symmetry.


(christos)
diff -r1.6 -r1.7 src/usr.sbin/vnconfig/Makefile
diff -r1.37 -r1.38 src/usr.sbin/vnconfig/vnconfig.8

cvs diff -r1.6 -r1.7 src/usr.sbin/vnconfig/Makefile (expand / switch to unified diff)

--- src/usr.sbin/vnconfig/Makefile 2002/11/30 06:04:57 1.6
+++ src/usr.sbin/vnconfig/Makefile 2013/06/09 18:39:05 1.7
@@ -1,8 +1,10 @@ @@ -1,8 +1,10 @@
1# $NetBSD: Makefile,v 1.6 2002/11/30 06:04:57 lukem Exp $ 1# $NetBSD: Makefile,v 1.7 2013/06/09 18:39:05 christos Exp $
2 2
3PROG= vnconfig 3PROG= vnconfig
4MAN= vnconfig.8 4MAN= vnconfig.8
5DPADD+= ${LIBUTIL} 5DPADD+= ${LIBUTIL}
6LDADD+= -lutil 6LDADD+= -lutil
 7LINKS+= vnconfig vndconfig
 8MLINKS+= vnconfig.8 vndconfig.8
7 9
8.include <bsd.prog.mk> 10.include <bsd.prog.mk>

cvs diff -r1.37 -r1.38 src/usr.sbin/vnconfig/vnconfig.8 (expand / switch to unified diff)

--- src/usr.sbin/vnconfig/vnconfig.8 2012/07/08 22:49:55 1.37
+++ src/usr.sbin/vnconfig/vnconfig.8 2013/06/09 18:39:05 1.38
@@ -1,14 +1,14 @@ @@ -1,14 +1,14 @@
1.\" $NetBSD: vnconfig.8,v 1.37 2012/07/08 22:49:55 wiz Exp $ 1.\" $NetBSD: vnconfig.8,v 1.38 2013/06/09 18:39:05 christos Exp $
2.\" 2.\"
3.\" Copyright (c) 1997 The NetBSD Foundation, Inc. 3.\" Copyright (c) 1997 The NetBSD Foundation, Inc.
4.\" All rights reserved. 4.\" All rights reserved.
5.\" 5.\"
6.\" This code is derived from software contributed to The NetBSD Foundation 6.\" This code is derived from software contributed to The NetBSD Foundation
7.\" by Jason R. Thorpe. 7.\" by Jason R. Thorpe.
8.\" 8.\"
9.\" Redistribution and use in source and binary forms, with or without 9.\" Redistribution and use in source and binary forms, with or without
10.\" modification, are permitted provided that the following conditions 10.\" modification, are permitted provided that the following conditions
11.\" are met: 11.\" are met:
12.\" 1. Redistributions of source code must retain the above copyright 12.\" 1. Redistributions of source code must retain the above copyright
13.\" notice, this list of conditions and the following disclaimer. 13.\" notice, this list of conditions and the following disclaimer.
14.\" 2. Redistributions in binary form must reproduce the above copyright 14.\" 2. Redistributions in binary form must reproduce the above copyright
@@ -52,30 +52,30 @@ @@ -52,30 +52,30 @@
52.\" IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 52.\" IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
53.\" ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE 53.\" ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE
54.\" FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 54.\" FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
55.\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 55.\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
56.\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 56.\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
57.\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 57.\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
58.\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 58.\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
59.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 59.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
60.\" SUCH DAMAGE. 60.\" SUCH DAMAGE.
61.\" 61.\"
62.\" @(#)vnconfig.8 8.1 (Berkeley) 6/5/93 62.\" @(#)vnconfig.8 8.1 (Berkeley) 6/5/93
63.\" 63.\"
64.Dd July 9, 2012 64.Dd July 9, 2012
65.Dt VNCONFIG 8 65.Dt VNDCONFIG 8
66.Os 66.Os
67.Sh NAME 67.Sh NAME
68.Nm vnconfig 68.Nm vndconfig
69.Nd configure vnode disks 69.Nd configure vnode disks
70.Sh SYNOPSIS 70.Sh SYNOPSIS
71.Nm 71.Nm
72.Op Fl crvz 72.Op Fl crvz
73.Op Fl f Ar disktab 73.Op Fl f Ar disktab
74.Op Fl t Ar typename 74.Op Fl t Ar typename
75.Ar vnode_disk 75.Ar vnode_disk
76.Ar regular_file 76.Ar regular_file
77.Op Ar geomspec 77.Op Ar geomspec
78.Nm 78.Nm
79.Fl u 79.Fl u
80.Op Fl Fv 80.Op Fl Fv
81.Ar vnode_disk 81.Ar vnode_disk
@@ -172,52 +172,52 @@ See the @@ -172,52 +172,52 @@ See the
172manpage on how to create such an image. 172manpage on how to create such an image.
173.El 173.El
174.Pp 174.Pp
175If no action option is given, 175If no action option is given,
176.Fl c 176.Fl c
177is assumed. 177is assumed.
178.Sh FILES 178.Sh FILES
179.Bl -tag -width /etc/disktab -compact 179.Bl -tag -width /etc/disktab -compact
180.It Pa /dev/rvnd?? 180.It Pa /dev/rvnd??
181.It Pa /dev/vnd?? 181.It Pa /dev/vnd??
182.It Pa /etc/disktab 182.It Pa /etc/disktab
183.El 183.El
184.Sh EXAMPLES 184.Sh EXAMPLES
185.Dl vnconfig vnd0 /tmp/diskimage 185.Dl vndconfig vnd0 /tmp/diskimage
186or 186or
187.Dl vnconfig /dev/rvnd0c /tmp/diskimage 187.Dl vndconfig /dev/rvnd0c /tmp/diskimage
188.Pp 188.Pp
189Configures the vnode disk 189Configures the vnode disk
190.Pa vnd0 . 190.Pa vnd0 .
191Please note that use of the second form of the command is discouraged because 191Please note that use of the second form of the command is discouraged because
192it requires knowledge of the raw partition which varies between architectures. 192it requires knowledge of the raw partition which varies between architectures.
193.Pp 193.Pp
194.Dl vnconfig vnd0 /tmp/floppy.img 512/18/2/80 194.Dl vndconfig vnd0 /tmp/floppy.img 512/18/2/80
195.Pp 195.Pp
196Configures the vnode disk 196Configures the vnode disk
197.Pa vnd0 197.Pa vnd0
198emulating the geometry of 512 bytes per sector, 18 sectors per track, 198emulating the geometry of 512 bytes per sector, 18 sectors per track,
1992 tracks per cylinder, and 80 cylinders total. 1992 tracks per cylinder, and 80 cylinders total.
200.Pp 200.Pp
201.Dl vnconfig -t floppy vnd0 /tmp/floppy.img 201.Dl vndconfig -t floppy vnd0 /tmp/floppy.img
202.Pp 202.Pp
203Configures the vnode disk 203Configures the vnode disk
204.Pa vnd0 204.Pa vnd0
205using the geometry specified in the 205using the geometry specified in the
206.Pa floppy 206.Pa floppy
207entry in 207entry in
208.Pa /etc/disktab . 208.Pa /etc/disktab .
209.Pp 209.Pp
210.Dl vnconfig -u vnd0 210.Dl vndconfig -u vnd0
211.Pp 211.Pp
212Unconfigures the 212Unconfigures the
213.Pa vnd0 213.Pa vnd0
214device. 214device.
215.Sh SEE ALSO 215.Sh SEE ALSO
216.Xr vndcompress 1 , 216.Xr vndcompress 1 ,
217.Xr opendisk 3 , 217.Xr opendisk 3 ,
218.Xr vnd 4 , 218.Xr vnd 4 ,
219.Xr mount 8 , 219.Xr mount 8 ,
220.Xr swapctl 8 , 220.Xr swapctl 8 ,
221.Xr umount 8 221.Xr umount 8
222.Sh HISTORY 222.Sh HISTORY
223The 223The