> >
> > There is no unmounting because usb-storage doesn't remove the
/dev/sda1
> > entry when cli� is no longer connected.. Therefore, there is no way
to
> > know the device is here or not :((
> 

It tries to remove it. But it can't because it is held busy by
supermount :(

> Can this be changed in the usb-storage module or is nobody willing to
> touch
> the kernel modules issues at this point, or is it simply too
difficult?
> 

It is non-trivial at the very least. Initial idea about supermount was
to make it self-content susbsystem, as non-intrusive as possible.
Unfortunately it means some important features cannot be implemented.

One possibility is to forcibly decrement device usage count after subfs
has been mounted. I am not sure what side effects it may have, besides,
I am not even sure kernel provides suitable interface for it. But it
also makes cdrom driver hack unneeded and allow ejecting of SCSI
removable disks as well (iirc it did not work with stock kernel; I guess
@home I use patched version that simply ignores usage count).

-andrej

Reply via email to