Date: Tue, 10 Oct 2006 15:30:04 +0800 From: summer@herakles.homelinux.org To: doc@freebsd.org, summer@herakles.homelinux.org Subject: Doc error, handbook for 6.1 Message-ID: <200610101530.04953.summer@herakles.homelinux.org>
next in thread | raw e-mail | index | archive | help
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@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@Melomys /usr/home/summer]$ vnconfig -s labels -c vn0 newimage ERROR: vnconfig(8) has been discontinued Please use mdconfig(8). [summer@Melomys /usr/home/summer]$
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200610101530.04953.summer>