umass panic

Thomas E. Spanjaard tgen at netphreax.net
Mon Jul 18 05:38:24 PDT 2005


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Simon 'corecode' Schubert wrote:
| yea, despite that it's not particularly nice to the operating system to
| remove devices without telling so first, we have to face this situation.
| I'd even prefer that non-flushed data will be kept (or transferred to a
| userland tool), so that if you notice "uh, I didn't umount!" and insert
| it back, the data can be flushed out...
I think it's best that it automatically gets unmounted when removed (a
bit differently from normal, because the drive isn't there anymore). If
any data is still in buffers, it's discarded. Also, don't enable
read/write buffers or softupdates on drives like this. Isn't this what
devd's supposed to do? Also, this is imo preferred behaviour for CD's as
well, with the added advantage that you can intercept an eject command
to be able to umount first and only then release the disc(-drawer).
Cheers,
- --
		-- Thomas E. Spanjaard
		   tgen at xxxxxxxxxxxxx
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.1 (MingW32)
iD8DBQFC26LA6xCMwBJ+1+sRAscTAKClRwznzPxqTCaMk7nCg0K/5vvNzwCfTbMp
obcX3VvzBWNFN5p0sVQEMHA=
=eb+4
-----END PGP SIGNATURE-----




More information about the Bugs mailing list