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
option
.El
.Sh EXAMPLES
.Dl vnconfig vn0c /tmp/diskimage
.Dl vnconfig vn0 /tmp/diskimage
.Pp
Configures the vnode disk
.Pa vn0c .
.Pa vn0 .
.Pp
.Dl vnconfig -e vn0c /var/swapfile swap
.Dl vnconfig -e vn0 /var/swapfile swap
.Pp
Configures
.Pa vn0c
.Pa vn0
and enables swapping on it.
.Pp
.Dl vnconfig -c -v /dev/vn0 cdimage.iso
......
Mount an ISO9660 CD image file.
.Pp
.Dl umount /mnt
.Dl vnconfig -u vn0c
.Dl vnconfig -u vn0
.Pp
Unmount the CD image file.
.Pp
.Dl vnconfig -d vn0c myfilesystem mount=/mnt
.Dl vnconfig -d vn0 myfilesystem mount=/mnt
.Pp
Unmounts (disables)
.Pa vn0c .
.Pa vn0 .
.Pp
.Dl vnconfig -ae
.Pp
......
VN partitions that previously contained filesystems.
.Pp
.Dl vnconfig -e -s labels,reserve -S 400m vn1
.Dl disklabel -r -w vn1 auto
.Dl newfs /dev/vn1c
.Dl mount /dev/vn1c /usr/obj
.Dl disklabel -r -w vn1s0 auto
.Dl newfs /dev/vn1s0
.Dl mount /dev/vn1s0 /usr/obj
.Pp
Is an example of a swap-backed VN disk configuration. This example assumes
that you have at least 400 megabytes of swap free (and hopefully much more).
(3-3/11)