Date: Fri, 10 Feb 2006 11:52:35 +0300 (MSK) From: Dmitry Morozovsky <marck@rinet.ru> To: Doug White <dwhite@gumbysoft.com> Cc: freebsd-stable@freebsd.org Subject: Re: USB Flash reader under RELENG_6: force GEOM rescan Message-ID: <20060210115040.W57059@woozle.rinet.ru> In-Reply-To: <20060209160623.E10921@carver.gumbysoft.com> References: <200602091804.k19I41RN023914@lurza.secnetix.de> <20060209210748.L87003@woozle.rinet.ru> <20060209160623.E10921@carver.gumbysoft.com>
next in thread | previous in thread | raw e-mail | index | archive | help
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 *** ------------------------------------------------------------------------
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20060210115040.W57059>