Bug 179788

Summary: section 19.3 gpart examples should use partition in newfs and fstab examples
Product: Documentation Reporter: crum.zach
Component: Books & ArticlesAssignee: Warren Block <wblock>
Status: Closed FIXED    
Severity: Affects Only Me    
Priority: Normal    
Version: Latest   
Hardware: Any   
OS: Any   

Description crum.zach 2013-06-20 21:30:00 UTC
newfs -U /dev/ada1 generates errors and the disk is unusable.
change example to newly created partition
newfs -U /dev/ada1p1

change fstab entry example from /dev/ada1 to /dev/ada1p1
Comment 1 Warren Block freebsd_committer freebsd_triage 2013-06-20 21:30:53 UTC
Responsible Changed
From-To: freebsd-doc->wblock

Take.
Comment 2 dfilter service freebsd_committer freebsd_triage 2013-06-20 21:34:10 UTC
Author: wblock
Date: Thu Jun 20 20:34:02 2013
New Revision: 41990
URL: http://svnweb.freebsd.org/changeset/doc/41990

Log:
  Fix newfs and fstab entries to use the partition, not the whole disk.
  
  PR:		docs/179788
  Submitted by:	Zach Crum <crum.zach@gmail.com>

Modified:
  head/en_US.ISO8859-1/books/handbook/disks/chapter.xml

Modified: head/en_US.ISO8859-1/books/handbook/disks/chapter.xml
==============================================================================
--- head/en_US.ISO8859-1/books/handbook/disks/chapter.xml	Thu Jun 20 19:39:45 2013	(r41989)
+++ head/en_US.ISO8859-1/books/handbook/disks/chapter.xml	Thu Jun 20 20:34:02 2013	(r41990)
@@ -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>
_______________________________________________
svn-doc-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-doc-all
To unsubscribe, send any mail to "svn-doc-all-unsubscribe@freebsd.org"
Comment 3 Warren Block freebsd_committer freebsd_triage 2013-06-20 21:34:16 UTC
State Changed
From-To: open->closed

Fix committed, thanks!