🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.sys.next.sysadmin
Article #839

How do I change the order of /Net (auto)-NFS mounts?

#839
From: Izumi Ohzawa
Date: Tue, 01 Sep 1992 07:01
47 lines
2497 bytes
I tried mounting the Washington Univ. St. Louis archive (wuarchive.wustl.edu)
via /Net NFS mounts, but some of the directories appears empty when accessed.
I think this is because of the way directries are structured at wuarchive, and
the order of autonfsmounts are not right, for example:

/archive/usenet is mounted before /archive is mounted.  The later mount
that is closer to the root of directory tree must be over-riding the
previous nfs mounts.

My question is how do I specify in NetInfo to mount /archive first BEFORE
/archive/usenet, /archive/mirrors, etc are mounted?

Nidump shows the mount order correctly, but actual mounts seem to take place
in the reverse order.  Why and how do I change the order of autonfsmounts?

Thanks.

----
### Relevant entries in NetInfo /Net mount specification ###
% nidump fstab .
 ....
wuarchive.wustl.edu:/archive /Net nfs ro,net,noquota,soft,intr,bg 0 0 
wuarchive.wustl.edu:/archive/usenet /Net nfs ro,net,noquota,soft,intr,bg 0 0 
wuarchive.wustl.edu:/archive/mirrors /Net nfs ro,net,noquota,soft,intr,bg 0 0 
wuarchive.wustl.edu:/archive/mirrors2 /Net nfs ro,net,noquota,soft,intr,bg 0 0 

### Mount table entries ###
% cat /etc/mtab
thishost:(autonfsmount[134]) "/Net" nfs ro,intr,port=733 0 0
wuarchive.wustl.edu:/archive/mirrors2
			"/private/Net/wuarchive.wustl.edu/archive/mirrors2"
			nfs ro,net,noquota,soft,intr,bg 0 0
wuarchive.wustl.edu:/archive/mirrors
			"/private/Net/wuarchive.wustl.edu/archive/mirrors"
			nfs ro,net,noquota,soft,intr,bg 0 0
wuarchive.wustl.edu:/archive/usenet
			"/private/Net/wuarchive.wustl.edu/archive/usenet"
			nfs ro,net,noquota,soft,intr,bg 0 0
wuarchive.wustl.edu:/archive
			"/private/Net/wuarchive.wustl.edu/archive"
			nfs ro,net,noquota,soft,intr,bg 0 0

--
Izumi Ohzawa             [ $BBg_78^=;(J ]
USMail: University of California, 360 Minor Hall, Berkeley, CA 94720
Telephone: (510) 642-6440     Fax:  (510) 642-3323
Internet: izumi@pinoko.berkeley.edu (NeXT Mail OK)
Technical Details
Message-ID: <17v4gkINNfp4@agate.berkeley.edu>
Path: arc1-ca.pugleaf.net!sparky!uunet!cs.utexas.edu!sun-barr!ames!agate!agate!usenet

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!sparky!uunet!cs.utexas.edu!sun-barr!ames!agate!agate!usenet
From: izumi@pinoko.berkeley.edu (Izumi Ohzawa)
Newsgroups: comp.sys.next.sysadmin
Subject: How do I change the order of /Net (auto)-NFS mounts?
Date: 1 Sep 1992 07:01:40 GMT
Organization: University of California, Berkeley
Lines: 47
Distribution: world
Message-ID: <17v4gkINNfp4@agate.berkeley.edu>
Reply-To: izumi@pinoko.berkeley.edu
NNTP-Posting-Host: moica.berkeley.edu
Keywords: autonfsmount, Net