From nobody@FreeBSD.org  Thu Jun 20 20:29:23 2013
Return-Path: <nobody@FreeBSD.org>
Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1])
	by hub.freebsd.org (Postfix) with ESMTP id 31D71132
	for <freebsd-gnats-submit@FreeBSD.org>; Thu, 20 Jun 2013 20:29:23 +0000 (UTC)
	(envelope-from nobody@FreeBSD.org)
Received: from oldred.freebsd.org (oldred.freebsd.org [8.8.178.121])
	by mx1.freebsd.org (Postfix) with ESMTP id 084FA13B5
	for <freebsd-gnats-submit@FreeBSD.org>; Thu, 20 Jun 2013 20:29:23 +0000 (UTC)
Received: from oldred.freebsd.org ([127.0.1.6])
	by oldred.freebsd.org (8.14.5/8.14.7) with ESMTP id r5KKTMBV030394
	for <freebsd-gnats-submit@FreeBSD.org>; Thu, 20 Jun 2013 20:29:22 GMT
	(envelope-from nobody@oldred.freebsd.org)
Received: (from nobody@localhost)
	by oldred.freebsd.org (8.14.5/8.14.5/Submit) id r5KKTMOA030393;
	Thu, 20 Jun 2013 20:29:22 GMT
	(envelope-from nobody)
Message-Id: <201306202029.r5KKTMOA030393@oldred.freebsd.org>
Date: Thu, 20 Jun 2013 20:29:22 GMT
From: Zach Crum <crum.zach@gmail.com>
To: freebsd-gnats-submit@FreeBSD.org
Subject: section 19.3 gpart examples should use partition in newfs and fstab examples
X-Send-Pr-Version: www-3.1
X-GNATS-Notify:

>Number:         179788
>Category:       docs
>Synopsis:       section 19.3 gpart examples should use partition in newfs and fstab examples
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    wblock
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          doc-bug
>Submitter-Id:   current-users
>Arrival-Date:   Thu Jun 20 20:30:00 UTC 2013
>Closed-Date:    Thu Jun 20 20:34:40 UTC 2013
>Last-Modified:  Thu Jun 20 20:40:00 UTC 2013
>Originator:     Zach Crum
>Release:        9.1
>Organization:
>Environment:
9.1-RELEASE-p4 FreeBSD 9.1-RELEASE-p4 #0: Mon Jun 17 11:42:37 UTC 2013     root@amd64-builder.daemonology.net:/usr/obj/usr/src/sys/GENERIC  amd64
>Description:
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
>How-To-Repeat:

>Fix:


>Release-Note:
>Audit-Trail:
Responsible-Changed-From-To: freebsd-doc->wblock 
Responsible-Changed-By: wblock 
Responsible-Changed-When: Thu Jun 20 20:30:53 UTC 2013 
Responsible-Changed-Why:  
Take. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=179788 
State-Changed-From-To: open->closed 
State-Changed-By: wblock 
State-Changed-When: Thu Jun 20 20:34:16 UTC 2013 
State-Changed-Why:  
Fix committed, thanks! 

http://www.freebsd.org/cgi/query-pr.cgi?pr=179788 

From: dfilter@FreeBSD.ORG (dfilter service)
To: bug-followup@FreeBSD.org
Cc:  
Subject: Re: docs/179788: commit references a PR
Date: Thu, 20 Jun 2013 20:34:10 +0000 (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"
 
>Unformatted:
