From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: Date: Thu, 3 Apr 2008 19:58:29 -0400 From: "devrin talen" To: "Fans of the OS Plan 9 from Bell Labs" <9fans@9fans.net> In-Reply-To: <73e155073a3b3f0412c336ad8b41017e@plan9.bell-labs.com> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <01044970cb30fd41a02e19818ead294e@coraid.com> <73e155073a3b3f0412c336ad8b41017e@plan9.bell-labs.com> Subject: Re: [9fans] Unmount a USB stick? Topicbox-Message-UUID: 88b5ae78-ead3-11e9-9d60-3106f5b1d025 On Thu, Apr 3, 2008 at 6:28 PM, wrote: > I believe dossrv (which implements the fat filesystem) is synchronous, > so you shouldn't have to do anything special before removing the > stick. What are the errors you get the next time you try to mount the > stick? If I have mounted the stick, then try to exit the rc window with which I mounted it: % exit the window hangs indefinitely. If I delete the window, remove the stick, reinsert it, then in a new rc window type: % echo kill > /proc/86/notes # 86 is the pid of usbd % usb/usbd % usb/disk -l usb/disk: describedevice: error reading usb device descriptor, got 0 of 18: usb/disk: maxlun 0 and a few black boxes in the upper left of my screen with messages such as: CleanTD 1/0: Error 00000001 ... Usually at this point I just end up restarting the box, and I'll be able to use the stick once again. - Devrin