Doc error, handbook for 6.1
summer at herakles.homelinux.org
summer at herakles.homelinux.org
Mon Oct 9 23:24:34 UTC 2006
text says:
Example 17-5. Creating a New File-Backed Disk with vnconfig
# dd if=/dev/zero of=newimage bs=1k count=5k
5120+0 records in
5120+0 records out
# vnconfig -s labels -c vn0 newimage
# disklabel -r -w vn0 auto
# newfs vn0c
Warning: 2048 sector(s) in last cylinder unallocated
/dev/vn0c: 10240 sectors in 3 cylinders of 1 tracks, 4096 sectors
5.0MB in 1 cyl groups (16 c/g, 32.00MB/g, 1280 i/g)
super-block backups (for fsck -b #) at:
32
# mount /dev/vn0c /mnt
# df /mnt
Filesystem 1K-blocks Used Avail Capacity Mounted on
/dev/vn0c 4927 1 4532 0% /mnt
I tried:
[summer at Melomys /usr/home/summer]$ dd if=/dev/zero of=newimage bs=1k count=5k
5120+0 records in
5120+0 records out
5242880 bytes transferred in 0.414048 secs (12662495 bytes/sec)
[summer at Melomys /usr/home/summer]$ vnconfig -s labels -c vn0 newimage
ERROR: vnconfig(8) has been discontinued
Please use mdconfig(8).
[summer at Melomys /usr/home/summer]$
More information about the freebsd-doc
mailing list