*BSD News Article 73182


Return to BSD News archive

Path: euryale.cc.adfa.oz.au!newshost.anu.edu.au!harbinger.cc.monash.edu.au!munnari.OZ.AU!spool.mu.edu!howland.reston.ans.net!newsfeed.internetmci.com!news.mathworks.com!fu-berlin.de!zrz.TU-Berlin.DE!news.tu-chemnitz.de!irz401!orion.sax.de!uriah.heep!news
From: j@uriah.heep.sax.de (J Wunsch)
Newsgroups: comp.unix.bsd.freebsd.misc
Subject: Re: Anything like Solaris's volume management?
Date: 8 Jul 1996 20:48:16 GMT
Organization: Private BSD site, Dresden
Lines: 26
Message-ID: <4rrs6g$1eu@uriah.heep.sax.de>
References: <4r1iq3$h2d@oink.cs.utexas.edu> <4rds8n$o36@sanson.dit.upm.es>
Reply-To: joerg_wunsch@uriah.heep.sax.de (Joerg Wunsch)
NNTP-Posting-Host: localhost.heep.sax.de
Mime-Version: 1.0
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 8bit
X-Newsreader: knews 0.9.6
X-Phone: +49-351-2012 669
X-PGP-Fingerprint: DC 47 E6 E4 FF A6 E9 8F  93 21 E0 7D F9 12 D6 4E

jmrueda@diatel.upm.es (Javier Martin Rueda ) wrote:

> I configured the automounter to mount the CD-ROM on /cdrom, but the
> directory to which I had to access (chdir) to mount the CD-ROM was /a/cdrom,
> which is a symbolic link to /cdrom. I couldn't find a way to make
> both directories the same ...

That's natural.  The automounter hooks itself into the system as an
NFS server, in order to intercept file system lookups.  Once it
detected a lookup for something it is managing, it first performs the
required mount (or other) operation, creates a symbolic link from the
mounted resource to whatever the lookup was intended to go to, and
returns from the pending NFS call.

> To eject the CD-ROM, you have to wait first until it is unmounted when
> the inactivity timer expires.

Not necessarily.  You can also force the automounter to immediately
release a mounted resource.  This is done with ``amq -u''.

-- 
cheers, J"org

joerg_wunsch@uriah.heep.sax.de -- http://www.sax.de/~joerg/ -- NIC: JW11-RIPE
Never trust an operating system you don't have sources for. ;-)