| @@ -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 |
172 | manpage on how to create such an image. | | 172 | manpage on how to create such an image. |
173 | .El | | 173 | .El |
174 | .Pp | | 174 | .Pp |
175 | If no action option is given, | | 175 | If no action option is given, |
176 | .Fl c | | 176 | .Fl c |
177 | is assumed. | | 177 | is 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 |
186 | or | | 186 | or |
187 | .Dl vnconfig /dev/rvnd0c /tmp/diskimage | | 187 | .Dl vndconfig /dev/rvnd0c /tmp/diskimage |
188 | .Pp | | 188 | .Pp |
189 | Configures the vnode disk | | 189 | Configures the vnode disk |
190 | .Pa vnd0 . | | 190 | .Pa vnd0 . |
191 | Please note that use of the second form of the command is discouraged because | | 191 | Please note that use of the second form of the command is discouraged because |
192 | it requires knowledge of the raw partition which varies between architectures. | | 192 | it 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 |
196 | Configures the vnode disk | | 196 | Configures the vnode disk |
197 | .Pa vnd0 | | 197 | .Pa vnd0 |
198 | emulating the geometry of 512 bytes per sector, 18 sectors per track, | | 198 | emulating the geometry of 512 bytes per sector, 18 sectors per track, |
199 | 2 tracks per cylinder, and 80 cylinders total. | | 199 | 2 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 |
203 | Configures the vnode disk | | 203 | Configures the vnode disk |
204 | .Pa vnd0 | | 204 | .Pa vnd0 |
205 | using the geometry specified in the | | 205 | using the geometry specified in the |
206 | .Pa floppy | | 206 | .Pa floppy |
207 | entry in | | 207 | entry 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 |
212 | Unconfigures the | | 212 | Unconfigures the |
213 | .Pa vnd0 | | 213 | .Pa vnd0 |
214 | device. | | 214 | device. |
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 |
223 | The | | 223 | The |