Project

General

Profile

Bug #762 » vnconfig.8.patch

thomas.nikolajsen, 08/03/2007 09:05 PM

View differences:

vnconfig.8 24 May 2007 21:10:06 -0000
213 213
option
214 214
.El
215 215
.Sh EXAMPLES
216
.Dl vnconfig vn0c /tmp/diskimage
216
.Dl vnconfig vn0 /tmp/diskimage
217 217
.Pp
218 218
Configures the vnode disk
219
.Pa vn0c .
219
.Pa vn0 .
220 220
.Pp
221
.Dl vnconfig -e vn0c /var/swapfile swap
221
.Dl vnconfig -e vn0 /var/swapfile swap
222 222
.Pp
223 223
Configures
224
.Pa vn0c
224
.Pa vn0
225 225
and enables swapping on it.
226 226
.Pp
227 227
.Dl vnconfig -c -v /dev/vn0 cdimage.iso
......
230 230
Mount an ISO9660 CD image file.
231 231
.Pp
232 232
.Dl umount /mnt
233
.Dl vnconfig -u vn0c
233
.Dl vnconfig -u vn0
234 234
.Pp
235 235
Unmount the CD image file.
236 236
.Pp
237
.Dl vnconfig -d vn0c myfilesystem mount=/mnt
237
.Dl vnconfig -d vn0 myfilesystem mount=/mnt
238 238
.Pp
239 239
Unmounts (disables)
240
.Pa vn0c .
240
.Pa vn0 .
241 241
.Pp
242 242
.Dl vnconfig -ae
243 243
.Pp
......
258 258
VN partitions that previously contained filesystems.
259 259
.Pp
260 260
.Dl vnconfig -e -s labels,reserve -S 400m vn1
261
.Dl disklabel -r -w vn1 auto
262
.Dl newfs /dev/vn1c
263
.Dl mount /dev/vn1c /usr/obj
261
.Dl disklabel -r -w vn1s0 auto
262
.Dl newfs /dev/vn1s0
263
.Dl mount /dev/vn1s0 /usr/obj
264 264
.Pp
265 265
Is an example of a swap-backed VN disk configuration.  This example assumes
266 266
that you have at least 400 megabytes of swap free (and hopefully much more).
(3-3/11)