From owner-freebsd-usb@FreeBSD.ORG Tue Jun 9 16:37:32 2009 Return-Path: Delivered-To: freebsd-usb@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 4C97F106564A for ; Tue, 9 Jun 2009 16:37:32 +0000 (UTC) (envelope-from hselasky@c2i.net) Received: from swip.net (mailfe04.swip.net [212.247.154.97]) by mx1.freebsd.org (Postfix) with ESMTP id D7FF08FC19 for ; Tue, 9 Jun 2009 16:37:31 +0000 (UTC) (envelope-from hselasky@c2i.net) X-Cloudmark-Score: 0.000000 [] X-Cloudmark-Analysis: v=1.0 c=1 a=sWUr0f3V378A:10 a=XaVDx7nfaVgA:10 a=MXw7gxVQKqGXY79tIT8aFQ==:17 a=rXTpsDoA6JR3bfv7YCwA:9 a=RVuade9JVup4MUF5SHce0ldDRo8A:4 Received: from [62.113.132.61] (account mc467741@c2i.net HELO laptop.adsl.tele2.no) by mailfe04.swip.net (CommuniGate Pro SMTP 5.2.13) with ESMTPA id 1256174032; Tue, 09 Jun 2009 18:37:30 +0200 From: Hans Petter Selasky To: freebsd-usb@freebsd.org Date: Tue, 9 Jun 2009 18:41:44 +0200 User-Agent: KMail/1.11.4 (FreeBSD/8.0-CURRENT; KDE/4.2.4; i386; ; ) References: <20090609103029.70a488a9@vixen42> In-Reply-To: <20090609103029.70a488a9@vixen42> MIME-Version: 1.0 Content-Type: Text/Plain; charset="iso-8859-15" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200906091841.45108.hselasky@c2i.net> Cc: Subject: Re: media changes and umass flash card readers X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 09 Jun 2009 16:37:32 -0000 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