Date: Fri, 14 Mar 2014 02:36:36 +0000 (UTC) From: Warren Block <wblock@FreeBSD.org> To: doc-committers@freebsd.org, svn-doc-all@freebsd.org, svn-doc-head@freebsd.org Subject: svn commit: r44230 - head/en_US.ISO8859-1/books/handbook/jails Message-ID: <201403140236.s2E2aaQO026124@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: wblock Date: Fri Mar 14 02:36:36 2014 New Revision: 44230 URL: http://svnweb.freebsd.org/changeset/doc/44230 Log: Restore <replaceable> tags and class="directory" to some filenames. Modified: head/en_US.ISO8859-1/books/handbook/jails/chapter.xml Modified: head/en_US.ISO8859-1/books/handbook/jails/chapter.xml ============================================================================== --- head/en_US.ISO8859-1/books/handbook/jails/chapter.xml Fri Mar 14 02:25:37 2014 (r44229) +++ head/en_US.ISO8859-1/books/handbook/jails/chapter.xml Fri Mar 14 02:36:36 2014 (r44230) @@ -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>_devf 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>_devf 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"</programlist <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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201403140236.s2E2aaQO026124>