https://bugzilla.novell.com/show_bug.cgi?id=331255 User brian@clusterfs.com added comment https://bugzilla.novell.com/show_bug.cgi?id=331255#c6 --- Comment #6 from Brian Murrell <brian@clusterfs.com> 2008-02-15 15:45:36 MST --- (In reply to comment #5 from Ruediger Oertel)
not really ;)
:-(
yes, I'd consider this a _new_ feature to have a generic network filesystem mount script.
This "_new_" feature is what has been in the likes of RHEL (and other distros) for ever and known as "netfs": # netfs Mount network filesystems. # # Authors: Bill Nottingham <notting@redhat.com> # AJ Lewis <alewis@redhat.com> # Miquel van Smoorenburg, <miquels@drinkel.nl.mugnet.org> .. NFSFSTAB=`LC_ALL=C awk '!/^#/ && $3 ~ /^nfs/ && $3 != "nfsd" && $4 !~ /noauto/ { print $2 }' /etc/fstab` SMBFSTAB=`LC_ALL=C awk '!/^#/ && $3 == "smbfs" && $4 !~ /noauto/ { print $2 }' / CIFSFSTAB=`LC_ALL=C awk '!/^#/ && $3 == "cifs" && $4 !~ /noauto/ { print $2 }' / NCPFSTAB=`LC_ALL=C awk '!/^#/ && $3 == "ncpfs" && $4 !~ /noauto/ { print $2 }' / NETDEVFSTAB=`LC_ALL=C awk '!/^#/ && $4 ~/_netdev/ && $4 !~ /noauto/ { print $1 } NFSMTAB=`LC_ALL=C awk '!/^#/ && $3 ~ /^nfs/ && $3 != "nfsd" && $2 != "/" { print SMBMTAB=`LC_ALL=C awk '!/^#/ && $3 == "smbfs" { print $2 }' /proc/mounts` CIFSMTAB=`LC_ALL=C awk '!/^#/ && $3 == "cifs" { print $2 }' /proc/mounts` NCPMTAB=`LC_ALL=C awk '!/^#/ && $3 == "ncpfs" { print $2 }' /proc/mounts` NETDEVMTAB=`LC_ALL=C awk '!/^#/ && $4 ~ /_netdev/ && $2 != "/" { print $2 }' /et That one script mounts cifs, nfs, ncpfs and _netdev flagged filesystems.
On the other hand, given current development with dynamic network devices, sysv-initscripts that need the network first might be a thing of the past and might fade away again soon.
Well, upstart really is pushing in that direction, indeed. But I think we are a ways away from seeing the reality of that in the real world. In the meanwhile we will continue to need initscripts.
For SLE10 this might still be an option however, at least on SLES the ifconfig method of bringing up network devices is still the default there.
As it is for every other distro I have my fingers on.
Sure I chose lustre-lite for a reason, but that list can easily be expanded to smbfs/cifs, ocfs, iscsi, ....
netfs in RHEL4 seems to achieve the goal without a separate script for every network filesystem. I don't have RHEL5 to see how they are maintaining that in the modern world though.
The nfs client script is probably the most primitive one from these examples, all we do is check if /usr or /opt is in the list of newly mounted filesystems and run ldconfig afterwards (which would be a pretty generic thing as well).
But where do NFS client mounts actually happen in system init? Surely they are not part of the localfs mounts are they? Do you have network up before you do localfs mounts? -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.