Use /compat/linux/proc instead of /usr/compat/linux/proc as the mount point of
linproc in the examples, since: - linux_base always installs to /compat and creates it as a directory if it does not exist as a symlink - Custom installations (not done by sysinstall(8)) may not have /compat at all - The linuxemu chapter uses /compat anyway (except a single example, fixed) - The new bsdinstall(8) does not create /compat either as directory or symlink PR: docs/163102 Submitted by: Kevin Baxter <VoidChicken at gmail dot com>
This commit is contained in:
parent
9b96ed5209
commit
6c44675698
Notes:
svn2git
2020-12-08 03:00:23 +00:00
svn path=/head/; revision=38008
2 changed files with 4 additions and 4 deletions
en_US.ISO8859-1/books/handbook
|
@ -317,17 +317,17 @@
|
|||
|
||||
<para>The &linux; process file system, &man.linprocfs.5; has to
|
||||
be mounted on <filename
|
||||
class="directory">/usr/compat/linux/proc</filename>, if one
|
||||
class="directory">/compat/linux/proc</filename>, if one
|
||||
wants to play &flash; animations. This can be done via the
|
||||
following command:</para>
|
||||
|
||||
<screen>&prompt.root; <userinput>mount -t linprocfs linproc /usr/compat/linux/proc</userinput></screen>
|
||||
<screen>&prompt.root; <userinput>mount -t linprocfs linproc /compat/linux/proc</userinput></screen>
|
||||
|
||||
<para>This point can be automated at boot time with the addition
|
||||
of the matching line in
|
||||
<filename>/etc/fstab</filename>:</para>
|
||||
|
||||
<programlisting>linproc /usr/compat/linux/proc linprocfs rw 0 0</programlisting>
|
||||
<programlisting>linproc /compat/linux/proc linprocfs rw 0 0</programlisting>
|
||||
|
||||
<para>Then, start your browser, enter
|
||||
<literal>about:plugins</literal> in the location bar and press
|
||||
|
|
|
@ -923,7 +923,7 @@ exit 0</programlisting>
|
|||
<filename>$MATLAB/bin/finish.sh</filename>, which will
|
||||
contain the following:</para>
|
||||
|
||||
<programlisting>#!/usr/compat/linux/bin/sh
|
||||
<programlisting>#!/compat/linux/bin/sh
|
||||
(sleep 5; killall -1 matlab_helper) &
|
||||
exit 0</programlisting>
|
||||
</step>
|
||||
|
|
Loading…
Reference in a new issue