Subject: Re: umount won't
To: Jukka Marin , Port-i386 <port-i386@NetBSD.ORG>
From: gabriel rosenkoetter <gr@eclipsed.net>
List: port-i386
Date: 08/24/2001 12:08:02
On Fri, Aug 24, 2001 at 06:41:50PM +0300, Jukka Marin wrote:
> It's some HP..  but theoretically, the same problem applies to Compact
> FLASH cards.  They can be ejected at any time and I still wish I could
> umount them after ejecting them accidentally.  (Actually, I would love
> some kind of an automatic umount when a removable media is removed.)

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. If you have a file system from a drive
mounted, pushing the button on the drive should do *nothing*, since
the drive lock should be engaged. Unless your CD-ROM device (or our
device driver, don't rule that out) isn't locking properly.

Not that this is a viable excuse for having an un-unmountable file
system, which is why I presented it with a smiley the first time
around.

:^>

-- 
       ~ g r @ eclipsed.net