More bsdlabel(8) updates.
This commit is contained in:
parent
e15bcf558e
commit
ac3dece5ba
Notes:
svn2git
2020-12-08 03:00:23 +00:00
svn path=/head/; revision=17585
1 changed files with 25 additions and 0 deletions
|
@ -464,6 +464,14 @@ disklabel -r -w ad3 auto</programlisting>
|
|||
<para>This creates a disklabel for <devicename>ad1c</devicename>, <devicename>ad2c</devicename> and <devicename>ad3c</devicename> that
|
||||
spans the entire disk.</para>
|
||||
|
||||
<note><para>Since &os; 5.1-RELEASE, the &man.bsdlabel.8;
|
||||
utility replaces the old &man.disklabel.8; program. With
|
||||
&man.bsdlabel.8; a number of obsolete options and parameters
|
||||
have been retired; in the examples above the option
|
||||
<option>-r</option> should be removed. For more
|
||||
information, please refer to the &man.bsdlabel.8;
|
||||
manual page.</para></note>
|
||||
|
||||
<para>The next step is to change the disk label type. You
|
||||
can use &man.disklabel.8; to edit the
|
||||
disks:</para>
|
||||
|
@ -1345,6 +1353,15 @@ cd0: Attempt to query device size failed: NOT READY, Medium not present - tray c
|
|||
<para>You can run now &man.disklabel.8; like so:</para>
|
||||
|
||||
<screen>&prompt.root; <userinput>/sbin/disklabel -B -r -w /dev/fd0 fd1440</userinput></screen>
|
||||
|
||||
<note><para>Since &os; 5.1-RELEASE, the &man.bsdlabel.8;
|
||||
utility replaces the old &man.disklabel.8; program. With
|
||||
&man.bsdlabel.8; a number of obsolete options and parameters
|
||||
have been retired; in the example above the option
|
||||
<option>-r</option> should be removed. For more
|
||||
information, please refer to the &man.bsdlabel.8;
|
||||
manual page.</para></note>
|
||||
|
||||
</sect2>
|
||||
|
||||
<sect2>
|
||||
|
@ -2378,6 +2395,14 @@ Filesystem 1K-blocks Used Avail Capacity Mounted on
|
|||
<devicename>md4</devicename>. For more details about
|
||||
&man.mdconfig.8;, please refer to the manual page.</para>
|
||||
|
||||
<note><para>Since &os; 5.1-RELEASE, the &man.bsdlabel.8;
|
||||
utility replaces the old &man.disklabel.8; program. With
|
||||
&man.bsdlabel.8; a number of obsolete options and parameters
|
||||
have been retired; in the example above the option
|
||||
<option>-r</option> should be removed. For more
|
||||
information, please refer to the &man.bsdlabel.8;
|
||||
manual page.</para></note>
|
||||
|
||||
<para>The utility &man.mdconfig.8; is very useful, however it
|
||||
asks many command lines to create a file-backed file system.
|
||||
FreeBSD 5.0 also comes with a tool called &man.mdmfs.8;,
|
||||
|
|
Loading…
Reference in a new issue