From af5332d42095f59ed72a3cd38767d1497c62f443 Mon Sep 17 00:00:00 2001
From: Warren Block <wblock@FreeBSD.org>
Date: Thu, 20 Jun 2013 20:34:02 +0000
Subject: [PATCH] Fix newfs and fstab entries to use the partition, not the
 whole disk.

PR:		docs/179788
Submitted by:	Zach Crum <crum.zach@gmail.com>
---
 en_US.ISO8859-1/books/handbook/disks/chapter.xml | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/en_US.ISO8859-1/books/handbook/disks/chapter.xml b/en_US.ISO8859-1/books/handbook/disks/chapter.xml
index 0c49ef4763..182fd40c3d 100644
--- a/en_US.ISO8859-1/books/handbook/disks/chapter.xml
+++ b/en_US.ISO8859-1/books/handbook/disks/chapter.xml
@@ -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>