Reattach/redetect allways connected umass device - is it possible ?

Vladimir Grebenschikov vova at fbsd.ru
Mon Mar 28 00:28:54 PST 2005


В ср, 23/03/2005 в 17:53 -0800, Julian Elischer пишет:
> 
> Matthew N. Dodd wrote:
> 
> > You want this:
> >
> >     ftp://ftp.jurai.net/users/winter/cam-detach.patch
> >
> > You will then be able to perform a 'camcontrol detach daX', swap 
> > cards, and run 'camcontrol rescan'. scu6a.lbxs
> >
> 
> 
> eject should imply a detach..
> i.e. I think your patch should call the detach code from the eject code.

Not sure, how about this scenario:

# camcontrol eject cd0
# camcontrol load cd0

If eject will also detach device, load will fail (no device).
Also If I load cd manually - I will not be able mount it without rescan.

> Either way can you commit it asap?
> needed functionality.
> 
-- 
Vladimir B. Grebenchikov
vova at fbsd.ru


More information about the freebsd-mobile mailing list