Xavier Bestel wrote:
> timeouts are *evil*.
>
Since the PC has no way of knowing when you eject the disk (for
floppies) you have to have a timeout, so that the data gets flushed.
For CD's you need a timeout to unlock the drive, otherwise the user hits
the eject button and nothing happens - you have to unlock the drive for
eject.
I'm not saying you automatically EJECT the disk - just unmount it, or
mount it RO so that the user can remove it without harm.
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
This archive was generated by hypermail 2b29 : Sun Jun 30 2002 - 22:00:11 EST