<?xml version="1.0" encoding="ISO-8859-1"?>
<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
   "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
  <!ENTITY % general-entities SYSTEM "../../general.ent">
  %general-entities;
]>

<sect1 id="postlfs-config-netfs"  xreflabel="Configuring for Network Filesystems">
  <?dbhtml filename="netfs.html"?>

  <sect1info>
    <othername>$LastChangedBy: bdubbs $</othername>
    <date>$Date: 2011-11-03 19:05:47 -0400 (Thu, 03 Nov 2011) $</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>

  <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
  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>

  <para>As the <systemitem class="username">root</systemitem> user, install
  the <filename>/etc/rc.d/init.d/netfs</filename> bootscript included with the
  <xref linkend="bootscripts"/> package.</para>

<screen role='root'><userinput>make install-netfs</userinput></screen>

</sect1>
