From nobody@FreeBSD.org  Sun Jan 12 14:11:18 2014
Return-Path: <nobody@FreeBSD.org>
Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1])
	(using TLSv1 with cipher ADH-AES256-SHA (256/256 bits))
	(No client certificate requested)
	by hub.freebsd.org (Postfix) with ESMTPS id B04A0EFC
	for <freebsd-gnats-submit@FreeBSD.org>; Sun, 12 Jan 2014 14:11:18 +0000 (UTC)
Received: from oldred.freebsd.org (oldred.freebsd.org [IPv6:2001:1900:2254:206a::50:4])
	(using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits))
	(No client certificate requested)
	by mx1.freebsd.org (Postfix) with ESMTPS id 9D26E14AA
	for <freebsd-gnats-submit@FreeBSD.org>; Sun, 12 Jan 2014 14:11:18 +0000 (UTC)
Received: from oldred.freebsd.org ([127.0.1.6])
	by oldred.freebsd.org (8.14.5/8.14.7) with ESMTP id s0CEBHT4091486
	for <freebsd-gnats-submit@FreeBSD.org>; Sun, 12 Jan 2014 14:11:17 GMT
	(envelope-from nobody@oldred.freebsd.org)
Received: (from nobody@localhost)
	by oldred.freebsd.org (8.14.5/8.14.5/Submit) id s0CEBHCS091477;
	Sun, 12 Jan 2014 14:11:17 GMT
	(envelope-from nobody)
Message-Id: <201401121411.s0CEBHCS091477@oldred.freebsd.org>
Date: Sun, 12 Jan 2014 14:11:17 GMT
From: Keve Nagy <keve@safe-mail.net>
To: freebsd-gnats-submit@FreeBSD.org
Subject: Two typos in chapter 8 of the faq (disks)
X-Send-Pr-Version: www-3.1
X-GNATS-Notify:

>Number:         185686
>Category:       docs
>Synopsis:       Two typos in chapter 8 of the faq (disks)
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    wblock
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          doc-bug
>Submitter-Id:   current-users
>Arrival-Date:   Sun Jan 12 14:20:00 UTC 2014
>Closed-Date:    Sun Jan 12 19:44:04 UTC 2014
>Last-Modified:  Sun Jan 12 19:50:00 UTC 2014
>Originator:     Keve Nagy
>Release:        Not applicable
>Organization:
N/A
>Environment:
Not applicable
>Description:
I noticed two typing errors in section 8.20 of the FreeBSD FAQ.
"8.20. How do I let ordinary users mount CD-ROMs, DVDs, USB drives, and other removable media?"
http://www.freebsd.org/doc/en_US.ISO8859-1/books/faq/disks.html#idp67591856

Typo #1 is in the first example code snippet (the grey rounded box):
  # Allow all users to mount a USB drive.
  own       /dev/da0       root:operator
  perm      /dev/da00       0666
The "perm" line should refer to "/dev/da0" instead of "/dev/da00", so there is an extra tailing 0 in the device name.

Typo #2 is in the brown command block following the above example:
  % mkdir ~/my-mount-point
  % mount -t msdosfs /dev/da0~/my-mount-point
Here, the "mount" line has one space less than it should. The space between "/dev/da0" and "~/my-mount-point" is missing.

>How-To-Repeat:
Not applicable.
>Fix:
Replace the line "perm      /dev/da00       0666" with "perm      /dev/da0       0666".
Replace the line " % mount -t msdosfs /dev/da0~/my-mount-point" with " % mount -t msdosfs /dev/da0~ /my-mount-point"


>Release-Note:
>Audit-Trail:
Responsible-Changed-From-To: freebsd-doc->wblock 
Responsible-Changed-By: wblock 
Responsible-Changed-When: Sun Jan 12 19:39:56 UTC 2014 
Responsible-Changed-Why:  
Take. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=185686 
State-Changed-From-To: open->closed 
State-Changed-By: wblock 
State-Changed-When: Sun Jan 12 19:43:41 UTC 2014 
State-Changed-Why:  
Change committed, thanks! 

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

From: dfilter@FreeBSD.ORG (dfilter service)
To: bug-followup@FreeBSD.org
Cc:  
Subject: Re: docs/185686: commit references a PR
Date: Sun, 12 Jan 2014 19:43:37 +0000 (UTC)

 Author: wblock
 Date: Sun Jan 12 19:43:30 2014
 New Revision: 43480
 URL: http://svnweb.freebsd.org/changeset/doc/43480
 
 Log:
   Fix two typos, an extra zero and a missing significant space in a
   command.
   
   PR:		docs/185686
   Submitted by:	Keve Nagy <keve@safe-mail.net>
 
 Modified:
   head/en_US.ISO8859-1/books/faq/book.xml
 
 Modified: head/en_US.ISO8859-1/books/faq/book.xml
 ==============================================================================
 --- head/en_US.ISO8859-1/books/faq/book.xml	Sun Jan 12 11:42:32 2014	(r43479)
 +++ head/en_US.ISO8859-1/books/faq/book.xml	Sun Jan 12 19:43:30 2014	(r43480)
 @@ -3473,13 +3473,13 @@ C:\="DOS"</programlisting>
  
  	  <programlisting># Allow all users to mount a USB drive.
  	    own       /dev/da0       root:operator
 -	    perm      /dev/da00       0666</programlisting>
 +	    perm      /dev/da0       0666</programlisting>
  
  	  <para>All users can now mount devices they could read
  	    onto a directory that they own:</para>
  
  	  <screen>&prompt.user; <userinput>mkdir ~/my-mount-point</userinput>
 -&prompt.user; <userinput>mount -t msdosfs /dev/da0~/my-mount-point</userinput></screen>
 +&prompt.user; <userinput>mount -t msdosfs /dev/da0 ~/my-mount-point</userinput></screen>
  
  	  <para>Unmounting the device is simple:</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:
