From owner-freebsd-stable@FreeBSD.ORG Fri Feb 10 08:52:37 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 E826E16A420 for ; Fri, 10 Feb 2006 08:52:37 +0000 (GMT) (envelope-from marck@rinet.ru) Received: from woozle.rinet.ru (woozle.rinet.ru [195.54.192.68]) by mx1.FreeBSD.org (Postfix) with ESMTP id 4281743D46 for ; Fri, 10 Feb 2006 08:52:36 +0000 (GMT) (envelope-from marck@rinet.ru) Received: from localhost (localhost [127.0.0.1]) by woozle.rinet.ru (8.13.4/8.13.4) with ESMTP id k1A8qZjt057683; Fri, 10 Feb 2006 11:52:35 +0300 (MSK) (envelope-from marck@rinet.ru) Date: Fri, 10 Feb 2006 11:52:35 +0300 (MSK) From: Dmitry Morozovsky To: Doug White In-Reply-To: <20060209160623.E10921@carver.gumbysoft.com> Message-ID: <20060210115040.W57059@woozle.rinet.ru> References: <200602091804.k19I41RN023914@lurza.secnetix.de> <20060209210748.L87003@woozle.rinet.ru> <20060209160623.E10921@carver.gumbysoft.com> X-NCC-RegID: ru.rinet MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-2.0.2 (woozle.rinet.ru [0.0.0.0]); Fri, 10 Feb 2006 11:52:35 +0300 (MSK) 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 08:52:38 -0000 On Thu, 9 Feb 2006, Doug White wrote: DW> > OF> > dd if=/dev/da0 of=/dev/da0 count=1 DW> > OF> > DW> > OF> > which results in error, but actually create GEOMs DW> > OF> DW> > OF> The following should work as well, without giving an error: DW> > OF> DW> > OF> dd if=/dev/null of=/dev/da0 count=0 DW> > OF> DW> > OF> It opens the device for writing (without actually writing DW> > OF> anything) and immediately closes it again, which causes DW> > OF> devfs to be "triggered". DW> > DW> > Aha, actually, it works. Thanks. DW> DW> How about 'fdisk da0'? :) That was the first I checked. Nope. Trying to update MBR on the flash works, but then dd is a bit simpler. DW> I have a usb drive that takes a while to become ready after being DW> inserted. It initially generates errors when attempting to access it. DW> Yours may have a similar issue. No, that's not my case. In my case there is no USB event when flash is inserted/ejected (reader is internal). Sincerely, D.Marck [DM5020, MCK-RIPE, DM3-RIPN] ------------------------------------------------------------------------ *** Dmitry Morozovsky --- D.Marck --- Wild Woozle --- marck@rinet.ru *** ------------------------------------------------------------------------