aboutsummaryrefslogtreecommitdiff
path: root/en_US.ISO8859-1/books/handbook/basics
diff options
context:
space:
mode:
authorGiorgos Keramidas <keramida@FreeBSD.org>2013-03-12 18:44:34 +0000
committerGiorgos Keramidas <keramida@FreeBSD.org>2013-03-12 18:44:34 +0000
commitc0e16f9d62bcd10ee412ce761135455c0ce84f3a (patch)
treee692a73c8614aee3774005dfa534fd7a1cfbe4d5 /en_US.ISO8859-1/books/handbook/basics
parente053971ae8c5bc3ebc2a554a819136bdadb15811 (diff)
downloaddoc-c0e16f9d62bcd10ee412ce761135455c0ce84f3a.tar.gz
doc-c0e16f9d62bcd10ee412ce761135455c0ce84f3a.zip
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.
Notes
Notes: svn path=/head/; revision=41182
Diffstat (limited to 'en_US.ISO8859-1/books/handbook/basics')
-rw-r--r--en_US.ISO8859-1/books/handbook/basics/chapter.xml32
1 files changed, 16 insertions, 16 deletions
diff --git a/en_US.ISO8859-1/books/handbook/basics/chapter.xml b/en_US.ISO8859-1/books/handbook/basics/chapter.xml
index 80f8e7bdd4..b83b061454 100644
--- a/en_US.ISO8859-1/books/handbook/basics/chapter.xml
+++ b/en_US.ISO8859-1/books/handbook/basics/chapter.xml
@@ -961,21 +961,21 @@ root 5211 0.0 0.2 3620 1724 2 I+ 2:09AM 0:00.01 passwd</screen>
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 I+ 2:09AM 0:00.01 passwd</screen>
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 I+ 2:09AM 0:00.01 passwd</screen>
<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 I+ 2:09AM 0:00.01 passwd</screen>
</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 I+ 2:09AM 0:00.01 passwd</screen>
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, 15% Inuse
<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, 15% Inuse
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>