Fix bogus doubled line and add example tags for consistency.
Approved by: simon(mentor) Submitted by: Marian Cerny <jojo@matfyz.cz> PR: docs/61630
This commit is contained in:
parent
f0e56c628f
commit
ebcb93faac
Notes:
svn2git
2020-12-08 03:00:23 +00:00
svn path=/head/; revision=19763
1 changed files with 3 additions and 1 deletions
|
@ -2422,14 +2422,16 @@ Filesystem 1K-blocks Used Avail Capacity Mounted on
|
|||
if you want to create and mount the same file system image as
|
||||
above, simply type the following:</para>
|
||||
|
||||
<example>
|
||||
<title>Configure and Mount a File-Backed Disk with <command>mdmfs</command></title>
|
||||
<screen>&prompt.root; <userinput>dd if=/dev/zero of=<replaceable>newimage</replaceable> bs=1k count=<replaceable>5</replaceable>k</userinput>
|
||||
5120+0 records in
|
||||
5120+0 records in
|
||||
5120+0 records out
|
||||
&prompt.root; <userinput>mdmfs -F <replaceable>newimage</replaceable> -s <replaceable>5</replaceable>m md<replaceable>0</replaceable> <replaceable>/mnt</replaceable></userinput>
|
||||
&prompt.root; <userinput>df <replaceable>/mnt</replaceable></userinput>
|
||||
Filesystem 1K-blocks Used Avail Capacity Mounted on
|
||||
/dev/md0 4846 2 4458 0% /mnt</screen>
|
||||
</example>
|
||||
|
||||
<para>If you use the option <option>md</option> without unit
|
||||
number, &man.mdmfs.8; will use &man.md.4; auto-unit feature to
|
||||
|
|
Loading…
Reference in a new issue