From f943b41c6530a7fd2e03de52a632e4e881f1ceb5 Mon Sep 17 00:00:00 2001 From: Chris Rees Date: Sun, 23 Dec 2018 15:31:49 +0000 Subject: [PATCH] Make the format of memory-backed disks consistent (soft-updates) Correct size of file-backed disk PR: doc/201975 Submitted by: Hugh O'Brien --- en_US.ISO8859-1/books/handbook/disks/chapter.xml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/en_US.ISO8859-1/books/handbook/disks/chapter.xml b/en_US.ISO8859-1/books/handbook/disks/chapter.xml index 4facbf771e..ca5c4c3826 100644 --- a/en_US.ISO8859-1/books/handbook/disks/chapter.xml +++ b/en_US.ISO8859-1/books/handbook/disks/chapter.xml @@ -2059,7 +2059,7 @@ Filesystem 1K-blocks Used Avail Capacity Mounted on /dev/md1 4718 4 4338 0% /mnt To create a new file-backed memory disk, first allocate an - area of disk to use. This example creates an empty 5K file + area of disk to use. This example creates an empty 5MB file named newimage: &prompt.root; dd if=/dev/zero of=newimage bs=1k count=5k @@ -2073,7 +2073,7 @@ Filesystem 1K-blocks Used Avail Capacity Mounted on &prompt.root; mdconfig -f newimage -u 0 &prompt.root; bsdlabel -w md0 auto -&prompt.root; newfs md0a +&prompt.root; newfs -U md0a /dev/md0a: 5.0MB (10224 sectors) block size 16384, fragment size 2048 using 4 cylinder groups of 1.25MB, 80 blks, 192 inodes. super-block backups (for fsck -b #) at: