DragonFly bugs List (threaded) for 2005-07
[
Date Prev][
Date Next]
[
Thread Prev][
Thread Next]
[
Date Index][
Thread Index]
Re: umass panic
-----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@xxxxxxxxxxxxx
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.1 (MingW32)
iD8DBQFC26LA6xCMwBJ+1+sRAscTAKClRwznzPxqTCaMk7nCg0K/5vvNzwCfTbMp
obcX3VvzBWNFN5p0sVQEMHA=
=eb+4
-----END PGP SIGNATURE-----
[
Date Prev][
Date Next]
[
Thread Prev][
Thread Next]
[
Date Index][
Thread Index]