2004-06-10 12:31:35 +08:00
|
|
|
<?xml version="1.0" encoding="ISO-8859-1"?>
|
2005-04-04 04:52:42 +08:00
|
|
|
<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.4//EN"
|
|
|
|
"http://www.oasis-open.org/docbook/xml/4.4/docbookx.dtd" [
|
2004-06-10 12:31:35 +08:00
|
|
|
<!ENTITY % general-entities SYSTEM "../../general.ent">
|
|
|
|
%general-entities;
|
|
|
|
]>
|
|
|
|
|
2005-01-15 08:30:04 +08:00
|
|
|
<sect1 id="postlfs-config-netfs" xreflabel="Configuring for Network Filesystems">
|
2004-08-10 12:23:09 +08:00
|
|
|
<sect1info>
|
2005-04-23 14:32:51 +08:00
|
|
|
<othername>$LastChangedBy$</othername>
|
|
|
|
<date>$Date$</date>
|
2004-08-10 12:23:09 +08:00
|
|
|
</sect1info>
|
2005-04-23 14:32:51 +08:00
|
|
|
|
2004-05-07 04:30:53 +08:00
|
|
|
<?dbhtml filename="netfs.html"?>
|
2003-12-18 08:52:57 +08:00
|
|
|
<title>Configuring for Network Filesystems</title>
|
|
|
|
|
2005-04-23 14:32:51 +08:00
|
|
|
<!-- Fake the zone for index formatting -->
|
|
|
|
<indexterm zone="postlfs-config-netfs postlfs-config-netfs">
|
|
|
|
<primary sortas="f-netfs">netfs</primary>
|
|
|
|
</indexterm>
|
|
|
|
|
|
|
|
<para>While LFS is capable of mounting network file
|
|
|
|
systems such as NFS, these are not mounted by the
|
2005-01-15 18:36:05 +08:00
|
|
|
<filename>mountfs</filename> init script. Network file systems must be
|
|
|
|
mounted after the networking is activated and unmounted before the network
|
|
|
|
goes down. The <filename>netfs</filename> 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 before the network is
|
|
|
|
brought down.</para>
|
2004-03-22 15:42:22 +08:00
|
|
|
|
2005-04-23 14:32:51 +08:00
|
|
|
<para>As the root user, install the <filename>/etc/rc.d/init.d/netfs</filename>
|
|
|
|
bootscript included with the <xref linkend="intro-important-bootscripts"/>
|
|
|
|
package.</para>
|
2005-01-01 22:49:30 +08:00
|
|
|
|
2005-04-23 14:32:51 +08:00
|
|
|
<screen role='root'><userinput>make install-netfs</userinput></screen>
|
2003-12-18 08:52:57 +08:00
|
|
|
|
|
|
|
</sect1>
|