svn commit: r52711 - head/en_US.ISO8859-1/books/handbook/disks
Chris Rees <[email protected]>
| Newsgroups | gmane.os.freebsd.devel.cvs.doc |
|---|---|
| Message-ID | <[email protected]> |
Author: crees
Date: Sun Dec 23 15:31:49 2018
New Revision: 52711
URL: https://svnweb.freebsd.org/changeset/doc/52711
Log:
Make the format of memory-backed disks consistent (soft-updates)
Correct size of file-backed disk
PR: doc/201975
Submitted by: Hugh O'Brien
Modified:
head/en_US.ISO8859-1/books/handbook/disks/chapter.xml
Modified: head/en_US.ISO8859-1/books/handbook/disks/chapter.xml
==============================================================================
--- head/en_US.ISO8859-1/books/handbook/disks/chapter.xml Sun Dec 23 12:38:27 2018 (r52710)
+++ head/en_US.ISO8859-1/books/handbook/disks/chapter.xml Sun Dec 23 15:31:49 2018 (r52711)
@@ -2059,7 +2059,7 @@ Filesystem 1K-blocks Used Avail Capacity Mounted on
/dev/md1 4718 4 4338 0% /mnt</screen>
<para>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 <filename>newimage</filename>:</para>
<screen>&prompt.root; <userinput>dd if=/dev/zero of=<replaceable>newimage</replaceable> bs=1k count=<replaceable>5</replaceable>k</userinput>
@@ -2073,7 +2073,7 @@ Filesystem 1K-blocks Used Avail Capacity Mounted on
<screen>&prompt.root; <userinput>mdconfig -f <replaceable>newimage</replaceable> -u <replaceable>0</replaceable></userinput>
&prompt.root; <userinput>bsdlabel -w md<replaceable>0</replaceable> auto</userinput>
-&prompt.root; <userinput>newfs md<replaceable>0</replaceable>a</userinput>
+&prompt.root; <userinput>newfs -U md<replaceable>0</replaceable>a</userinput>
/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:
_______________________________________________
[email protected] mailing list
https://lists.freebsd.org/mailman/listinfo/svn-doc-all
To unsubscribe, send any mail to "[email protected]"