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:
Josef El-Rayes 2004-01-20 23:56:32 +00:00
parent f0e56c628f
commit ebcb93faac
Notes: svn2git 2020-12-08 03:00:23 +00:00
svn path=/head/; revision=19763

View file

@ -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 if you want to create and mount the same file system image as
above, simply type the following:</para> 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> <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 in
5120+0 records out 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>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> &prompt.root; <userinput>df <replaceable>/mnt</replaceable></userinput>
Filesystem 1K-blocks Used Avail Capacity Mounted on Filesystem 1K-blocks Used Avail Capacity Mounted on
/dev/md0 4846 2 4458 0% /mnt</screen> /dev/md0 4846 2 4458 0% /mnt</screen>
</example>
<para>If you use the option <option>md</option> without unit <para>If you use the option <option>md</option> without unit
number, &man.mdmfs.8; will use &man.md.4; auto-unit feature to number, &man.mdmfs.8; will use &man.md.4; auto-unit feature to