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

Dan Nelson dnelson at allantgroup.com
Thu Mar 24 11:56:38 PST 2005


In the last episode (Mar 24), Julian Elischer said:
> John Baldwin wrote:
> >On Mar 23, 2005, at 9:00 PM, Matthew N. Dodd wrote:
> >>On Wed, 23 Mar 2005, Julian Elischer wrote:
> >>>eject should imply a detach..
> >>>i.e. I think your patch should call the detach code from the eject 
> >>>code.
> >>
> >>Eject is for devices that support removable media.
> 
> that doesn't mean that an eject shouldn't do all teh work for a
> detach as well.

I would be extremely surprised if a "camcontrol eject cd0" removed
/dev/cd0 :)  Eject is for devices whose media can be removed, but the
device itself stays.

Or are you just saying detach should do an eject (possibly a stop also)
first?

-- 
	Dan Nelson
	dnelson at allantgroup.com


More information about the freebsd-mobile mailing list