Nathan Coulson wrote:
> On 4/19/05, Bruce Dubbs <[EMAIL PROTECTED]> 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
--
http://linuxfromscratch.org/mailman/listinfo/blfs-dev
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page