🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: cu.decstation.managers
Article #1048

automount can't cope with nested mounts

#1048
From: Norman Wilson
Date: Fri, 05 Jan 1996 00:00
41 lines
2280 bytes
I am running Ultrix 4.3A, and want to mount all the NFS-accessible file
systems on a single remote system.  That system is also running Ultrix
4.3A.

Right now, I hard-mount everything with entries in /etc/fstab:

/@netsvc:/n/netsvc:ro:0:0:nfs:bg,nodev,nosuid,intr:
/usr@netsvc:/n/netsvc/usr:ro:0:0:nfs:bg,nodev,nosuid,intr:
/usr/local@netsvc:/n/netsvc/usr/local:rw:0:0:nfs:bg,nodev,nosuid,intr:
/nu@netsvc:/n/netsvc/nu:rw:0:0:nfs:bg,nodev,nosuid,intr:
/svc@netsvc:/n/netsvc/svc:rw:0:0:nfs:bg,nodev,nosuid,intr:

I'd like to get the automounter to do it for me, and so I tried the
following direct map, which is almost a direct steal from an example
in the manual page:

/n/netsvc	/	netsvc:/ \
		/usr	netsvc:/usr \
		/usr/local	netsvc:/usr/local \
		/nu	netsvc:/nu \
		/svc	netsvc:/svc

This is supposed to mount all the file systems whenever the first one
is touched.  In fact it mounts only the first one:
	ls /n/netsvc lists the contents of netsvc:/, as it should
	ls /n/netsvc/usr lists an empty directory;
		likewise /n/netsvc/nu, /n/netsvc/svc
	ls /n/netsvc/usr/local complains that the directory doesn't exist

The same map works as I want it to (all five file systems are mounted,
despite the nesting) when I feed it to automount on IRIX 5.3 or Digital
UNIX 3.2C.

Is there a known fix or patch or workaround for my broken Ultrix automount?
(Replies of the form `use amd' will be saved away and politely ignored for
now; I have too much public-domain software running as the super-user
already.)

Norman Wilson
High Performance Research Computing, University of Toronto
norman@hprc.utoronto.ca
Technical Details
Message-ID: <820884776.14343@news.Colorado.EDU>
Path: arc1-ca.pugleaf.net!unknown!not-for-mail

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 1065d6,fa9d15ff04aaff49,start
X-Google-Attributes: gid1065d6,public
From: norman@hprc.utoronto.ca (Norman Wilson)
Subject: automount can't cope with nested mounts
Date: 1996/01/05
Message-ID: <820884776.14343@news.Colorado.EDU>
X-Deja-AN: 134200228
distribution: cu
sender: daemon@lace.colorado.edu
followup-to: poster
x-note1: message-id generated by recnews
x-note2: mail msgid was   <199601052326.SAA31232@oaunx1.ctd.ornl.GOV>
organization: University of Colorado at Boulder
reply-to: norman@hprc.utoronto.ca (Norman Wilson)
newsgroups: cu.decstation.managers