Fix newfs and fstab entries to use the partition, not the whole disk.

PR:		docs/179788
Submitted by:	Zach Crum <crum.zach@gmail.com>
This commit is contained in:
Warren Block 2013-06-20 20:34:02 +00:00
parent da1e22a104
commit af5332d420
Notes: svn2git 2020-12-08 03:00:23 +00:00
svn path=/head/; revision=41990

View file

@ -222,7 +222,7 @@
<para>A file system is created on the new blank disk:</para>
<screen>&prompt.root; <userinput>newfs -U /dev/ada1</userinput></screen>
<screen>&prompt.root; <userinput>newfs -U /dev/ada1p1</userinput></screen>
<para>An empty directory is created as a
<emphasis>mountpoint</emphasis>, a location for mounting the new
@ -234,7 +234,7 @@
<filename>/etc/fstab</filename> so the new disk will be mounted
automatically at startup:</para>
<programlisting>/dev/ada1 /newdisk ufs rw 2 2</programlisting>
<programlisting>/dev/ada1p1 /newdisk ufs rw 2 2</programlisting>
<para>The new disk can be mounted manually, without restarting the
system:</para>