Bug 122206

Summary: [patch] fix error in http://www.freebsd.org/doc/en/books/handbook/geom-glabel.html
Product: Documentation Reporter: Josh Paetzel <josh> <josh>
Component: Books & ArticlesAssignee: freebsd-doc (Nobody) <doc>
Status: Closed FIXED    
Severity: Affects Only Me    
Priority: Normal    
Version: Latest   
Hardware: Any   
OS: Any   

Description Josh Paetzel <josh@tcbug.org> 2008-03-28 20:20:00 UTC
http://www.freebsd.org/doc/en/books/handbook/geom-glabel.html mentions ufs2 labels are created in /dev/ufs2, which contradicts the manpage for glabel and what actually happens.  On a running 6.x system they are created in /dev/ufs

Fix: 

<para>A generic label will go away with the next reboot. These
@@ -537,10 +537,10 @@
       </warning>

       <para>A label should now exist in
-       <filename class="directory">/dev/ufs2</filename> which may be
+       <filename class="directory">/dev/ufs</filename> which may be
        added to <filename>/etc/fstab</filename>:</para>

-      <programlisting>/dev/ufs2/home           /home            ufs     rw              2      2</programlisting>
+      <programlisting>/dev/ufs/home            /home            ufs     rw              2      2</programlisting>

       <note>
        <para>The file system must not be mounted while attempting--QigDVlnQK0c11PMR6Z6N5bgWizKtyEcPHAiIbobNDrHUQlEo
Content-Type: text/plain; name="file.diff"
Content-Transfer-Encoding: 7bit
Content-Disposition: attachment; filename="file.diff"

--- chapter.sgml.old    2008-03-28 15:07:35.000000000 -0500
+++ chapter.sgml        2008-03-28 15:08:02.000000000 -0500
@@ -510,7 +510,7 @@
        <filename class="directory">/dev</filename>, which will be named
        based on their file system type.  For example,
        <acronym>UFS</acronym>2 file system labels will be created in
-       the <filename class="directory">/dev/ufs2</filename>
+       the <filename class="directory">/dev/ufs</filename>
        directory.</para>
How-To-Repeat: Read the handbook, follow the directions, ls /dev/ufs*
Comment 1 dfilter service freebsd_committer freebsd_triage 2008-03-29 07:53:48 UTC
remko       2008-03-29 07:53:42 UTC

  FreeBSD doc repository

  Modified files:
    en_US.ISO8859-1/books/handbook/geom chapter.sgml 
  Log:
  s/ufs2/ufs/ for geom label examples.
  
  PR:             docs/122207
  PR:             docs/122206
  PR:             docs/122205
  Submitted by:   Josh Paetzel, Dylan Cochran, Dan Rue
  
  Revision  Changes    Path
  1.41      +3 -3      doc/en_US.ISO8859-1/books/handbook/geom/chapter.sgml
_______________________________________________
cvs-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/cvs-all
To unsubscribe, send any mail to "cvs-all-unsubscribe@freebsd.org"
Comment 2 Remko Lodder freebsd_committer freebsd_triage 2008-03-29 07:53:57 UTC
State Changed
From-To: open->closed

Committed. Thanks!