Restore <replaceable> tags and class="directory" to some filenames.
This commit is contained in:
parent
ba31b38f8e
commit
849048dd59
Notes:
svn2git
2020-12-08 03:00:23 +00:00
svn path=/head/; revision=44230
1 changed files with 14 additions and 13 deletions
|
@ -257,7 +257,7 @@
|
|||
is not affected by it. The &man.jail.8; manual page is quite
|
||||
clear about the procedure for building a jail:</para>
|
||||
|
||||
<screen>&prompt.root; <userinput>setenv D /here/is/the/jail</userinput>
|
||||
<screen>&prompt.root; <userinput>setenv D <replaceable>/here/is/the/jail</replaceable></userinput>
|
||||
&prompt.root; <userinput>mkdir -p $D</userinput> <co xml:id="jailpath"/>
|
||||
&prompt.root; <userinput>cd /usr/src</userinput>
|
||||
&prompt.root; <userinput>make buildworld</userinput> <co xml:id="jailbuildworld"/>
|
||||
|
@ -270,10 +270,11 @@
|
|||
<para>Selecting a location for a jail is the best starting
|
||||
point. This is where the jail will physically reside within
|
||||
the file system of the jail's host. A good choice can be
|
||||
<filename>/usr/jail/jailname</filename>,
|
||||
<filename
|
||||
class="directory">/usr/jail/<replaceable>jailname</replaceable></filename>,
|
||||
where <replaceable>jailname</replaceable> is the hostname
|
||||
identifying the jail. The
|
||||
<filename>/usr/</filename> file system
|
||||
<filename class="directory">/usr/</filename> file system
|
||||
usually has enough space for the jail file system, which for
|
||||
<quote>complete</quote> jails is, essentially, a replication
|
||||
of every file present in a default installation of the &os;
|
||||
|
@ -299,10 +300,10 @@
|
|||
<application>make</application> installs every needed
|
||||
configuration file. In simple words, it installs every
|
||||
installable file of
|
||||
<filename>/usr/src/etc/</filename> to the
|
||||
<filename>/etc</filename> directory of the
|
||||
<filename class="directory">/usr/src/etc/</filename> to the
|
||||
<filename class="directory">/etc</filename> directory of the
|
||||
jail environment:
|
||||
<filename>$D/etc/</filename>.</para>
|
||||
<filename class="directory">$D/etc/</filename>.</para>
|
||||
</callout>
|
||||
|
||||
<callout arearefs="jaildevfs">
|
||||
|
@ -380,8 +381,8 @@ jail_<replaceable>www</replaceable>_devfs_ruleset="<replaceable>www_ruleset</rep
|
|||
start or stop a jail by hand, if an entry for it exists in
|
||||
<filename>rc.conf</filename>:</para>
|
||||
|
||||
<screen>&prompt.root; <userinput>service jail start www</userinput>
|
||||
&prompt.root; <userinput>service jail stop www</userinput></screen>
|
||||
<screen>&prompt.root; <userinput>service jail start <replaceable>www</replaceable></userinput>
|
||||
&prompt.root; <userinput>service jail stop <replaceable>www</replaceable></userinput></screen>
|
||||
|
||||
<para>A clean way to shut down a &man.jail.8; is not available at
|
||||
the moment. This is because commands normally used to
|
||||
|
@ -503,7 +504,7 @@ jail_<replaceable>www</replaceable>_devfs_ruleset="<replaceable>www_ruleset</rep
|
|||
used to start a shell in a jail to do administration in
|
||||
it; for example:</para>
|
||||
|
||||
<screen>&prompt.root; <userinput>jexec 1 tcsh</userinput></screen>
|
||||
<screen>&prompt.root; <userinput>jexec <replaceable>1</replaceable> tcsh</userinput></screen>
|
||||
</listitem>
|
||||
</itemizedlist>
|
||||
</sect2>
|
||||
|
@ -841,13 +842,13 @@ jail_www_devfs_enable="YES"</programlisting>
|
|||
<para>The reason why the
|
||||
<varname>jail_<replaceable>name</replaceable>_rootdir</varname>
|
||||
variable is set to
|
||||
<filename>/usr/home</filename>
|
||||
<filename class="directory">/usr/home</filename>
|
||||
instead of
|
||||
<filename>/home</filename> is that
|
||||
<filename class="directory">/home</filename> is that
|
||||
the physical path of the
|
||||
<filename>/home</filename> directory
|
||||
<filename class="directory">/home</filename> directory
|
||||
on a default &os; installation is
|
||||
<filename>/usr/home</filename>. The
|
||||
<filename class="directory">/usr/home</filename>. The
|
||||
<varname>jail_<replaceable>name</replaceable>_rootdir</varname>
|
||||
variable must <emphasis>not</emphasis> be set to a
|
||||
path which includes a symbolic link, otherwise the
|
||||
|
|
Loading…
Reference in a new issue