Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 14 Aug 2003 10:38:07 -0700
From:      John-Mark Gurney <gurney_j@efn.org>
To:        Eric Jacobs <eaja@erols.com>
Cc:        freebsd-current@freebsd.org
Subject:   Re: usbd does not use detach
Message-ID:  <20030814173807.GR10708@funkthat.com>
In-Reply-To: <20030814110113.4d238ddd.eaja@erols.com>
References:  <1059835661.1198.7.camel@Twoflower.liebende.de> <1060185309.676.1.camel@Twoflower.liebende.de> <1060504397.777.15.camel@syrenna.deep-ocean.local> <20030814110113.4d238ddd.eaja@erols.com>

next in thread | previous in thread | raw e-mail | index | archive | help
Eric Jacobs wrote this message on Thu, Aug 14, 2003 at 11:01 -0400:
> In addition, the DETACH_FORCE and DETACH_EJECTED flags could
> be mapped to appropriate flag values for the other subsystems, such
> as MNT_FORCE and (a new) MNT_EJECTED flag for VFS.

This is a bit more complex than this.  There are many more layers between
usb and VFS.  For USB umass devices, they proxy to cam, which then is an
interface to da which is a provider for geom which then provides the
final device for ufs to mount.  So, each and every one of those steps
need to be taught about this.  Right now, very few things use newbus
even though they should.  This is a problem of them existing before
newbus was nailed down.  CAM doesn't use newbus for any of it's device
management (scsi device, not HBA attachment).

-- 
  John-Mark Gurney				Voice: +1 415 225 5579

     "All that I will do, has been done, All that I have, has not."



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20030814173807.GR10708>