Re: USB memory stick hotswap problems

From: Daniel O'Connor <doconnor_at_gsoft.com.au>
Date: Sun, 26 Sep 2004 11:42:17 +0930
On Sun, 26 Sep 2004 10:29, Jeremy Chadwick wrote:
> Can't usbd (or better yet, usbd.conf) be modified or changed in some way
> to automatically handle the unmounting of any existing filesystems that
> match the device which is mounted?
>
> Seems like we're eventually going to need this to make hot-swappable USB
> devices more friendly.  I understand why you must unmount a device
> before SCSI CAM gets disconnected from it, but it just seems that this
> should be a job for usbd.

The problem is that once the device is removed it's too late :(

One possibility would be to add a facility to mark all the data for a certain 
device to be non-critical so it will throw it away when it tries to flush it 
and fails instead of panicing.

-- 
Daniel O'Connor software and network engineer
for Genesis Software - http://www.gsoft.com.au
"The nice thing about standards is that there
are so many of them to choose from."
  -- Andrew Tanenbaum
GPG Fingerprint - 5596 B766 97C0 0E94 4347 295E E593 DC20 7B3F CE8C

Received on Sun Sep 26 2004 - 02:50:41 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:38:13 UTC