Subject: Re: umount won't
To: Curt Sampson <cjs@cynic.net>
From: Manuel Bouyer <bouyer@antioche.lip6.fr>
List: port-i386
Date: 09/04/2001 17:24:54
On Mon, Aug 27, 2001 at 10:45:40AM +0900, Curt Sampson wrote:
> On Fri, 24 Aug 2001, gabriel rosenkoetter wrote:
> 
> > Sure, but the PCMCIA infrastructure doesn't make the same
> > presumption that the SCSI or ATAPI infrastructure does. The
> > assumption in question here is that when the kernel tells the drive
> > to lock its door, it does.
> 
> Yes, but you can't assume that, just because the door is locked, the
> filesystem will remain accessible until you unlock the door. The ATAPI
> system ought to be able to deal with the fact that, when it's talking
> to my ATAPI CD-ROM via a USB/ATAPI cable, that cable can be removed at
> any time, thus making the entire atapibus device disappear.

For USB or PCMCIA device, there is code to automatically umount devices
at unplug time.

--
Manuel Bouyer, LIP6, Universite Paris VI.           Manuel.Bouyer@lip6.fr
--