nfs-utils

Bruce Dubbs bdubbs at swbell.net
Wed Apr 20 08:49:31 PDT 2005


Nathan Coulson wrote:
> On 4/19/05, Bruce Dubbs <bdubbs at swbell.net> wrote:
> 
> The netfs bootscript is actually where remote filesystems are
> mounted...  I believe it is in Chapter 4 , Configuring for Network
> Filesystems.
> 
> It just mounts all mounts with the _netfs option. [samba, nfs, e.t.c]

OK, thanks.  When I started looking at this, I wasn't aware of the
_netfs parameter.  I note that RH has:

NFSFSTAB=`LC_ALL=C awk '!/^#/ && $3 == "nfs" && $4 !~ /noauto/ { print
$2 }' /etc/fstab`
SMBFSTAB=`LC_ALL=C awk '!/^#/ && $3 == "smbfs" && $4 !~ /noauto/ { print
$2 }' /etc/fstab`
NCPFSTAB=`LC_ALL=C awk '!/^#/ && $3 == "ncpfs" && $4 !~ /noauto/ { print
$2 }' /etc/fstab`
NETDEVMTAB=`LC_ALL=C awk '!/^#/ && $4 ~ /_netdev/ && $2 != "/" { print
$2 }' /proc/mounts`
NFSMTAB=`LC_ALL=C awk '!/^#/ && $3 == "nfs" && $2 != "/" { print $2 }'
/proc/mounts`
SMBMTAB=`LC_ALL=C awk '!/^#/ && $3 == "smbfs" { print $2 }' /proc/mounts`
NCPMTAB=`LC_ALL=C awk '!/^#/ && $3 == "ncpfs" { print $2 }' /proc/mounts`

Also, when doing the normal mounts at startup, they add -t nonfs to
mount.  Having to put a _netfs in the fstab options seems to be
redundant because the user has already said its nfs, etc.

I could go ahead and fix the book's nfs_utils to add _netfs and point to
Chapter 3, but I think it should be taken care of in the mountfs and
netfs bootscripts instead.

  -- Bruce



More information about the blfs-dev mailing list