Bug 185686

Summary: Two typos in chapter 8 of the faq (disks)
Product: Documentation Reporter: Keve Nagy <keve>
Component: Books & ArticlesAssignee: Warren Block <wblock>
Status: Closed FIXED    
Severity: Affects Only Me    
Priority: Normal    
Version: Latest   
Hardware: Any   
OS: Any   

Description Keve Nagy 2014-01-12 14:20:00 UTC
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.

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"
How-To-Repeat: Not applicable.
Comment 1 Warren Block freebsd_committer freebsd_triage 2014-01-12 19:39:56 UTC
Responsible Changed
From-To: freebsd-doc->wblock

Take.
Comment 2 dfilter service freebsd_committer freebsd_triage 2014-01-12 19:43:37 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"
Comment 3 Warren Block freebsd_committer freebsd_triage 2014-01-12 19:43:41 UTC
State Changed
From-To: open->closed

Change committed, thanks!