From owner-freebsd-usb@FreeBSD.ORG Thu Jul 7 15:23:29 2005 Return-Path: X-Original-To: freebsd-usb@freebsd.org Delivered-To: freebsd-usb@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id E72BE16A41C for ; Thu, 7 Jul 2005 15:23:28 +0000 (GMT) (envelope-from ticso@cicely12.cicely.de) Received: from srv1.cosmo-project.de (srv1.cosmo-project.de [213.83.6.106]) by mx1.FreeBSD.org (Postfix) with ESMTP id 7120543D45 for ; Thu, 7 Jul 2005 15:23:28 +0000 (GMT) (envelope-from ticso@cicely12.cicely.de) Received: from cicely5.cicely.de (cicely5.cicely.de [10.1.1.7]) (authenticated bits=0) by srv1.cosmo-project.de (8.12.10/8.12.10) with ESMTP id j67FNJBS075231 (version=TLSv1/SSLv3 cipher=EDH-RSA-DES-CBC3-SHA bits=168 verify=OK); Thu, 7 Jul 2005 17:23:21 +0200 (CEST) (envelope-from ticso@cicely12.cicely.de) Received: from cicely12.cicely.de (cicely12.cicely.de [IPv6:3ffe:400:8d0:301::12]) by cicely5.cicely.de (8.12.10/8.12.10) with ESMTP id j67FMvJ7002885 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Thu, 7 Jul 2005 17:22:58 +0200 (CEST) (envelope-from ticso@cicely12.cicely.de) Received: from cicely12.cicely.de (localhost [127.0.0.1]) by cicely12.cicely.de (8.12.11/8.12.11) with ESMTP id j67FMuON030323; Thu, 7 Jul 2005 17:22:56 +0200 (CEST) (envelope-from ticso@cicely12.cicely.de) Received: (from ticso@localhost) by cicely12.cicely.de (8.12.11/8.12.11/Submit) id j67FMu21030322; Thu, 7 Jul 2005 17:22:56 +0200 (CEST) (envelope-from ticso) Date: Thu, 7 Jul 2005 17:22:56 +0200 From: Bernd Walter To: "Alexander N. Mueller" Message-ID: <20050707152255.GE35575@cicely12.cicely.de> References: <200507061940.j66JeB7t020115@freefall.freebsd.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <200507061940.j66JeB7t020115@freefall.freebsd.org> X-Operating-System: FreeBSD cicely12.cicely.de 5.2-CURRENT alpha User-Agent: Mutt/1.5.9i X-Spam-Status: No, hits=-4.9 required=3.0 tests=BAYES_00 autolearn=ham version=2.64 X-Spam-Report: * -4.9 BAYES_00 BODY: Bayesian spam probability is 0 to 1% * [score: 0.0000] X-Spam-Checker-Version: SpamAssassin 2.64 (2004-01-11) on cicely12.cicely.de Cc: freebsd-usb@freebsd.org Subject: Re: usb/76461: disklabel of umass(4)-CAM(4)-da(4) not used by devfs automatically X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: ticso@cicely.de List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 07 Jul 2005 15:23:29 -0000 On Wed, Jul 06, 2005 at 07:40:11PM +0000, Alexander N. Mueller wrote: > The following reply was made to PR usb/76461; it has been noted by GNATS. > > From: "Alexander N. Mueller" > To: Andriy Gapon > Cc: bug-followup@freebsd.org, arne_woerner@yahoo.com > Subject: Re: usb/76461: disklabel of umass(4)-CAM(4)-da(4) not used by devfs automatically > Date: Wed, 6 Jul 2005 21:34:35 +0200 > > On Tue, Jul 05, 2005 at 05:04:38PM +0300, Andriy Gapon wrote: > > > > Alex, Arne, > > > > could you please read a thread starting with the following mail: > > http://docs.freebsd.org/cgi/getmsg.cgi?fetch=12145+0+archive/2005/freebsd-geom/20050703.freebsd-geom > > and see if it covers your case as well and if suggested procedure is > > Good Enough for you too ? > > Andriy, > > yes, doing "true > /dev/da0" works for me. I had to do it three times, > however, before my Fujitsu DynaMO 2300 U2 finally recognized the medium I > had inserted. After doing that, all the missing partitions (da0a, da0c) > were there. Thanks for this hint! > > It's just a little inconvenient, because I have quite a few USB mass > storage devices, which I only power up on demand. Therefore I usually > don't know which device node (da0, da1, ...) is being assigned to each > device. Normally this doesn't impose any problem because I use GEOM > labels to mount these devices. Of course, the above workaround doesn't > help with that... Just do it for all drives - you get permisson denied for drives with partitions mounted, but that's it. It's only a problem if you are worried about sleeping disks having to spin up for this to work. You can also use camcontrol devlist -v and wrap a script around it, the umass-sim number is identic to the umass number. -- B.Walter BWCT http://www.bwct.de bernd@bwct.de info@bwct.de