Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 9 Jun 2009 18:41:44 +0200
From:      Hans Petter Selasky <hselasky@c2i.net>
To:        freebsd-usb@freebsd.org
Subject:   Re: media changes and umass flash card readers
Message-ID:  <200906091841.45108.hselasky@c2i.net>
In-Reply-To: <20090609103029.70a488a9@vixen42>
References:  <20090609103029.70a488a9@vixen42>

next in thread | previous in thread | raw e-mail | index | archive | help
On Tuesday 09 June 2009 17:30:29 Zane C.B. wrote:
> This machine here has a USB flash card reader integrated into it. It
> works with out issue, minus re-reading the partition and slice info
> upon disk change. Is there any way to actually force it to re-read
> that information?
>
> Currently the only thing I've come across that works is to either
> power cycle the machine or try mounting something on that device,
> which will fail even if the specified partition does actually exist.
> After it fails I will see the proper dev entries for it and will work
> the second time.

In 8-current you can use the usbconfig utility to re-enumerate the 
device. Else "cat /dev/null > /dev/daX" usually does the trick. Note 
/dev/null is not /dev/zero !

--HPS



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