Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 12 Mar 2013 18:44:34 +0000 (UTC)
From:      Giorgos Keramidas <keramida@FreeBSD.org>
To:        doc-committers@freebsd.org, svn-doc-all@freebsd.org, svn-doc-head@freebsd.org
Subject:   svn commit: r41182 - head/en_US.ISO8859-1/books/handbook/basics
Message-ID:  <201303121844.r2CIiYgS088522@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: keramida
Date: Tue Mar 12 18:44:34 2013
New Revision: 41182
URL: http://svnweb.freebsd.org/changeset/doc/41182

Log:
  Mark directory paths with class="directory" in <filename> elements,
  and also mark-up 'A' with <literal> like 'B' in the nearby text,
  when we refer to mount point directory names.

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

Modified: head/en_US.ISO8859-1/books/handbook/basics/chapter.xml
==============================================================================
--- head/en_US.ISO8859-1/books/handbook/basics/chapter.xml	Tue Mar 12 18:07:54 2013	(r41181)
+++ head/en_US.ISO8859-1/books/handbook/basics/chapter.xml	Tue Mar 12 18:44:34 2013	(r41182)
@@ -961,21 +961,21 @@ root     5211  0.0  0.2  3620  1724   2 
 		  class="directory">/usr/local/</filename></entry>
 	      <entry>Local executables and libraries.  Also used as
 		the default destination for the &os; ports
-		framework.  Within <filename>/usr/local</filename>,
+		framework.  Within <filename class="directory">/usr/local</filename>,
 		the general layout sketched out by &man.hier.7; for
-		<filename>/usr</filename> should be used.  Exceptions
+		<filename class="directory">/usr</filename> should be used.  Exceptions
 		are the man directory, which is directly under
-		<filename>/usr/local</filename> rather than under
-		<filename>/usr/local/share</filename>, and the ports
+		<filename class="directory">/usr/local</filename> rather than under
+		<filename class="directory">/usr/local/share</filename>, and the ports
 		documentation is in
-		<filename>share/doc/<replaceable>port</replaceable></filename>.</entry>
+		<filename class="directory">share/doc/<replaceable>port</replaceable></filename>.</entry>
 	    </row>
 
 	    <row>
 	      <entry><filename
 		  class="directory">/usr/obj/</filename></entry>
 	      <entry>Architecture-specific target tree produced by
-		building the <filename>/usr/src</filename>
+		building the <filename class="directory">/usr/src</filename>
 		tree.</entry>
 	    </row>
 
@@ -1075,8 +1075,8 @@ root     5211  0.0  0.2  3620  1724   2 
       directory name, followed by a forward slash,
       <literal>/</literal>, followed by any other directory names that
       are necessary.  For example, if the directory
-      <filename>foo</filename> contains a directory
-      <filename>bar</filename> which contains the file
+      <filename class="directory">foo</filename> contains a directory
+      <filename class="directory">bar</filename> which contains the file
       <filename>readme.txt</filename>, the full name, or
       <firstterm>path</firstterm>, to the file is
       <filename>foo/bar/readme.txt</filename>.  Note that this is
@@ -1152,11 +1152,11 @@ root     5211  0.0  0.2  3620  1724   2 
 
     <para>Any files that are in the <literal>B1</literal> or
       <literal>B2</literal> directories can be reached with the path
-      <filename>/A1/B1</filename> or <filename>/A1/B2</filename> as
-      necessary.  Any files that were in <filename>/A1</filename> have
+      <filename class="directory">/A1/B1</filename> or <filename class="directory">/A1/B2</filename> as
+      necessary.  Any files that were in <filename class="directory">/A1</filename> have
       been temporarily hidden.  They will reappear if
       <literal>B</literal> is <firstterm>unmounted</firstterm> from
-      A.</para>
+      <literal>A</literal>.</para>
 
     <para>If <literal>B</literal> had been mounted on
       <literal>A2</literal> then the diagram would look like
@@ -1180,8 +1180,8 @@ root     5211  0.0  0.2  3620  1724   2 
       </textobject>
     </mediaobject>
 
-    <para>and the paths would be <filename>/A2/B1</filename> and
-      <filename>/A2/B2</filename> respectively.</para>
+    <para>and the paths would be <filename class="directory">/A2/B1</filename> and
+      <filename class="directory">/A2/B2</filename> respectively.</para>
 
     <para>File systems can be mounted on top of one another.
       Continuing the last example, the <literal>C</literal> file
@@ -1257,7 +1257,7 @@ root     5211  0.0  0.2  3620  1724   2 
 	  file system can be mounted read-only, making it impossible
 	  for users to inadvertently delete or edit a critical file.
 	  Separating user-writable file systems, such as
-	  <filename>/home</filename>, from other file systems allows
+	  <filename class="directory">/home</filename>, from other file systems allows
 	  them to be mounted <firstterm>nosuid</firstterm>.  This
 	  option prevents the
 	  <firstterm>suid</firstterm>/<firstterm>guid</firstterm> bits
@@ -2387,7 +2387,7 @@ Swap: 256M Total, 38M Used, 217M Free, 1
 
     <para>Most devices in a &os; must be accessed through special
       files called device nodes, which are located in
-      <filename>/dev</filename>.</para>
+      <filename class="directory">/dev</filename>.</para>
 
     <sect2>
       <title>Creating Device Nodes</title>
@@ -2635,7 +2635,7 @@ Swap: 256M Total, 38M Used, 217M Free, 1
 	equivalent to using &man.apropos.1;.</para>
 
       <para>To determine what the commands in
-	<filename>/usr/bin</filename> do, type:</para>
+	<filename class="directory">/usr/bin</filename> do, type:</para>
 
       <screen>&prompt.user; <userinput>cd /usr/bin</userinput>
 &prompt.user; <userinput>man -f *</userinput></screen>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201303121844.r2CIiYgS088522>