Re: usbd does not use detach

From: Jan Stocker <Jan.Stocker_at_t-online.de>
Date: Sun, 17 Aug 2003 09:44:08 +0200
On Thu, 2003-08-14 at 16:30, Olivier Cortes wrote:
> Le Mer 06/08/2003 à 17:55, Jan Stocker a écrit :
> > Does nobody has this problem or does noone use this feature?
> 
> the problem i see with detach is the "utility" of the command.

> but when detaching, the umount part should be done BEFORE detaching, not
> after. i can't find any good use for the detach hook. most of things
> should have been done before detaching, and i can't see how to do it
> without user interactivity, thus avoiding use of the detach hook.

Thats another one.... thats a wrong specification or idea behind it...
but here nothing is been called....

> i once included a umount -f in the detach hook. after unplugin' the
> device, it resulted in a panic. i don't remember if the umount was
> causing it or if it was right after, when accessing the mount point or
> repluging the digital recorder. anyway, i learned that umount -f is not
> meant to be used often... perhaps not on top of usb. for now.

But none of this should cause a panic..... here this works fine if i
doing it by hand...

Jan
-- 
Jan Stocker <Jan.Stocker_at_t-online.de>
Received on Sat Aug 16 2003 - 22:45:18 UTC

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