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)



dyoung%pobox.com@localhost (David Young) writes:

>Relying on an access LED to discourage the user from disconnecting it is
>fraught with problems: not every drive has an access light.

That's the major problem. My current 'simulation' of this is a
Tk widget that tells me which removable devices are mounted
and an automounter dismount period of 3 seconds.

> You have to
>start flashing an access light well ahead of the time of access, because
>the system will always win a race to start an access before the user can
>remove the device.

Systems that used that scheme didn't cause such problems.

>Also, an access LED does not discourage accidental
>disconnection.

People easily understand that this is a bad thing to do. You just
have make sure that the system handles such an event gracefully.

-- 
-- 
                                Michael van Elst
Internet: mlelstv%serpens.de@localhost
                                "A potential Snark may lurk in every tree."


Home | Main Index | Thread Index | Old Index