Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 25 Feb 1996 14:29:54 -0700 (MST)
From:      Terry Lambert <terry@lambert.org>
To:        msmith@atrad.adelaide.edu.au (Michael Smith)
Cc:        World1996@aol.com, questions@FreeBSD.org
Subject:   Re: cd9660
Message-ID:  <199602252129.OAA00193@phaeton.artisoft.com>
In-Reply-To: <199602251322.XAA29983@genesis.atrad.adelaide.edu.au> from "Michael Smith" at Feb 25, 96 11:52:14 pm

next in thread | previous in thread | raw e-mail | index | archive | help
> > I have mounted my CD drive.  It works very good except a few problems.  One
> > of which is bothering me.  After I do the 'mount -t cd9660 /dev/mcd0 /cdrom'
> > and it works, I can not swich the CDs unless I unmount it.  I do not like
> > unmounting and remounting every time I want to swich the CD.  Why can I not
> > swich the CD while mounted?  How can I make it so I don't need to unmount it?
> 
> Basically, you can't.  Unix doesn't like having filesystems taken away from 
> it without being told first; you'll notice that you can't easily unmount
> the cdrom if any applications' working directory is on the disk either.
> 
> I'd be inclined to write a small alias that unmounted and ejected the disk;
> this would put the two tasks together and remove your severe agitation.

I'd be inclined to define "media departure" (and "media arrival") events
and deliver them to a resource manager when the CDROM realizes it has
been ejected so that they can be processed as "unmount old/mount new".

8-).


					Terry Lambert
					terry@lambert.org
---
Any opinions in this posting are my own and not those of my present
or previous employers.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199602252129.OAA00193>