Make the format of memory-backed disks consistent (soft-updates)
Correct size of file-backed disk PR: doc/201975 Submitted by: Hugh O'Brien
This commit is contained in:
parent
91f149d8b7
commit
f943b41c65
Notes:
svn2git
2020-12-08 03:00:23 +00:00
svn path=/head/; revision=52711
1 changed files with 2 additions and 2 deletions
|
@ -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:
|
||||
|
|
Loading…
Reference in a new issue