From owner-freebsd-stable@FreeBSD.ORG Fri Feb 10 00:07:45 2006 Return-Path: X-Original-To: freebsd-stable@freebsd.org Delivered-To: freebsd-stable@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id A87C816A420 for ; Fri, 10 Feb 2006 00:07:45 +0000 (GMT) (envelope-from dwhite@gumbysoft.com) Received: from carver.gumbysoft.com (carver.gumbysoft.com [66.220.23.50]) by mx1.FreeBSD.org (Postfix) with ESMTP id 74B2743D49 for ; Fri, 10 Feb 2006 00:07:45 +0000 (GMT) (envelope-from dwhite@gumbysoft.com) Received: by carver.gumbysoft.com (Postfix, from userid 1000) id 51BF672DDD; Thu, 9 Feb 2006 16:07:45 -0800 (PST) Received: from localhost (localhost [127.0.0.1]) by carver.gumbysoft.com (Postfix) with ESMTP id 4D17972DDB; Thu, 9 Feb 2006 16:07:45 -0800 (PST) Date: Thu, 9 Feb 2006 16:07:45 -0800 (PST) From: Doug White To: Dmitry Morozovsky In-Reply-To: <20060209210748.L87003@woozle.rinet.ru> Message-ID: <20060209160623.E10921@carver.gumbysoft.com> References: <200602091804.k19I41RN023914@lurza.secnetix.de> <20060209210748.L87003@woozle.rinet.ru> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Cc: freebsd-stable@freebsd.org Subject: Re: USB Flash reader under RELENG_6: force GEOM rescan X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 10 Feb 2006 00:07:45 -0000 On Thu, 9 Feb 2006, Dmitry Morozovsky wrote: > OF> > > OF> > dd if=/dev/da0 of=/dev/da0 count=1 > OF> > > OF> > which results in error, but actually create GEOMs > OF> > OF> The following should work as well, without giving an error: > OF> > OF> dd if=/dev/null of=/dev/da0 count=0 > OF> > OF> It opens the device for writing (without actually writing > OF> anything) and immediately closes it again, which causes > OF> devfs to be "triggered". > > Aha, actually, it works. Thanks. How about 'fdisk da0'? :) I have a usb drive that takes a while to become ready after being inserted. It initially generates errors when attempting to access it. Yours may have a similar issue. -- Doug White | FreeBSD: The Power to Serve dwhite@gumbysoft.com | www.FreeBSD.org