Storing a filesystem in a file using vn(4) Posted May 18, 2003
Create 100 megabyte filesystem, stored in /home/test.ufs , mounted at /mnt
time dd </dev/zero >/home/test.ufs bs=1000000 count=100
(cd /dev && sh MAKEDEV vn1)
vnconfig -s labels -c /dev/vn1c /home/test.ufs
disklabel -r -w vn1 auto
newfs /dev/vn1c
mount /dev/vn1c /mnt
|