Hi! On Wed, Feb 23, 2000 at 08:42:07PM +0100, Michael Schwingen wrote: > While we are at it, the FS should also have a means of locking the drive as > long as modified buffers exist. That's already done. Try ejecting, for example, a zip disk while you're writing to it, it won't come out until the drive has been unlocked by the code in block_IO.c (yes, a Zip drive "remembers" when the eject button was pressed while it was locked and will do it as soon as the drive gets unlocked). Another note here: Ejecting ext2 or MinixFS media without having called Dlock() to internally "unmount" the filesystem will always result in "Mounting unchecked FS" warnings. Unfortunately, Thing currently misses doing so when ejecting via XHDI (which is the only way to eject them, as both filesystems don't support CDROMEJECT), so you'd better be off using some other eject program if you're really concerned by the messages. Ciao Thomas -- Thomas Binder (Gryf @ IRCNet) gryf@hrzpub.tu-darmstadt.de PGP-key available on request! binder@rbg.informatik.tu-darmstadt.de
Attachment:
pgpEoyPIi3nw2.pgp
Description: PGP signature