considering the complexity arriving from handling nfs4 ( #101624 ) we may delegate the nfsmounts completly to nfsmount and depend on it, instead of duplicating its functionality to netmount?
not really nfs mounts can sanely be used without nfs-utils package even installed
You should look at the netmount script in 1.13 - here's a link http://sources.gentoo.org/viewcvs.py/baselayout/trunk/init.d/netmount?view=markup The only nfs stuff is the dependency on portmap for the init script.
I agree, the nfs part isn't a big thing. However, I still claim, that /etc/init.d/nfsmount and /etc/init.d/netmount are ment to do the same: mount nfs{,4} volumes (and others). I'd say netmount does the job not as good. (Issue - missing id mapping for nfs4) So in presence of nfsmount, we might depend on it. Shouldn't we? Solution: Currently we just use="nfsmount", but in case it present we might need="nfsmount" to have rpc.idmap and friends started, though, this is _not yet_ implemented in nfsmount. (See bug #101624 for details)
Created attachment 104982 [details, diff] netmount-1.13.patch The patch checks for nfsmount and if present add need=nfsmount to start the respective services (portmap, idmapper and friends) see bug #101624 for details. Exclusion of nfs/nfs4 of the mount list is not necessary, though the nfs volumes are already mounted at this time via nfsmount.