media changes and umass flash card readers

Hans Petter Selasky hselasky at c2i.net
Tue Jun 9 16:37:32 UTC 2009


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


More information about the freebsd-usb mailing list