Current-Users archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: usb flash drive removal (Re: Desktop NetBSD needs your help)
Hi,
On Mon, Feb 9, 2009 at 10:33 AM, Eric Haszlakiewicz
<erh%nimenees.com@localhost> wrote:
> I think that there should not _be_ a wrong time to remove a USB drive.
> Yes, it may be hard to implement it in NetBSD, but it is entirely possible
> to have a system that doesn't crash, and even does something reasonable.
> (e.g. like providing an api for prompting the user to reattach the device)
>
You cannot ensure that the device is the same state than previously.
You cannot even ensure that the newly plugged device is the same that
the old one. The only sane thing to do is to clean-up everything.
- Arnaud
Home |
Main Index |
Thread Index |
Old Index