2004-06-10 12:31:35 +08:00
|
|
|
<?xml version="1.0" encoding="ISO-8859-1"?>
|
2007-04-05 03:42:53 +08:00
|
|
|
<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
|
|
|
|
"http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
|
2004-06-10 12:31:35 +08:00
|
|
|
<!ENTITY % general-entities SYSTEM "../../general.ent">
|
|
|
|
%general-entities;
|
|
|
|
]>
|
|
|
|
|
2016-06-04 13:29:03 +08:00
|
|
|
<sect1 id="postlfs-config-netfs" xreflabel="Configuring for Network Filesystems" revision="sysv">
|
2005-05-13 04:28:54 +08:00
|
|
|
<?dbhtml filename="netfs.html"?>
|
|
|
|
|
|
|
|
<sect1info>
|
|
|
|
<othername>$LastChangedBy$</othername>
|
|
|
|
<date>$Date$</date>
|
|
|
|
</sect1info>
|
|
|
|
|
|
|
|
<title>Configuring for Network Filesystems</title>
|
|
|
|
|
|
|
|
<!-- Fake the zone for index formatting -->
|
|
|
|
<indexterm zone="postlfs-config-netfs postlfs-config-netfs">
|
|
|
|
<primary sortas="f-netfs">netfs</primary>
|
|
|
|
</indexterm>
|
|
|
|
|
2005-05-31 05:56:30 +08:00
|
|
|
<para>While LFS is capable of mounting network file systems such as NFS,
|
|
|
|
these are not mounted by the <filename>mountfs</filename> init script.
|
|
|
|
Network file systems must be mounted after the networking is activated and
|
2005-05-31 00:03:52 +08:00
|
|
|
unmounted before the network goes down. The <filename>netfs</filename>
|
2005-05-31 05:56:30 +08:00
|
|
|
bootscript was written to handle both boot-time mounting of network
|
|
|
|
filesystems, if the entry in <filename>/etc/fstab</filename> contains the
|
|
|
|
<option>_netdev</option> option, and unmounting of all network filesystems
|
2005-05-13 04:28:54 +08:00
|
|
|
before the network is brought down.</para>
|
|
|
|
|
2016-06-04 13:29:03 +08:00
|
|
|
<para>As the <systemitem class="username">root</systemitem> user, install
|
2005-05-31 05:56:30 +08:00
|
|
|
the <filename>/etc/rc.d/init.d/netfs</filename> bootscript included with the
|
2005-12-29 09:38:36 +08:00
|
|
|
<xref linkend="bootscripts"/> package.</para>
|
2005-01-01 22:49:30 +08:00
|
|
|
|
2016-06-04 13:29:03 +08:00
|
|
|
<screen role='root'><userinput>make install-netfs</userinput></screen>
|
2003-12-18 08:52:57 +08:00
|
|
|
|
|
|
|
</sect1>
|