From owner-freebsd-current@FreeBSD.ORG Tue Sep 28 17:31:27 2004 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 9BC0916A4CE for ; Tue, 28 Sep 2004 17:31:27 +0000 (GMT) Received: from smtp.prodigy.net.mx (nlpproxy10.prodigy.net.mx [148.235.52.30]) by mx1.FreeBSD.org (Postfix) with ESMTP id 0B49A43D62 for ; Tue, 28 Sep 2004 17:31:26 +0000 (GMT) (envelope-from eculp@prodigy.net.mx) Received: from prodigy.net.mx (du-148-235-52-33.prodigy.net.mx [148.235.52.33]) by smtp.prodigy.net.mx (iPlanet Messaging Server 5.2 HotFix 1.21 (built Sep 8 2003)) with ESMTP id <0I4R0099MI0DLH@smtp.prodigy.net.mx>; Tue, 28 Sep 2004 12:31:25 -0500 (CDT) Received: from [148.235.52.101] (Forwarded-For: [201.129.94.187]) by nlpmail03.prodigy.net.mx (mshttpd); Tue, 28 Sep 2004 12:31:43 -0500 Date: Tue, 28 Sep 2004 12:31:43 -0500 From: eculp To: current@FreeBSD.org Message-id: <4072f3ac0d.3ac0d4072f@prodigy.net.mx> MIME-version: 1.0 X-Mailer: iPlanet Messenger Express 5.2 HotFix 2.01 (built Aug 26 2004) Content-type: text/plain; charset=us-ascii Content-language: es Content-transfer-encoding: 7bit Content-disposition: inline X-Accept-Language: es Priority: non-urgent X-Priority: 5 (Lowest) Subject: Re: USB memory stick hotswap problems X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 28 Sep 2004 17:31:27 -0000 Quoting Ivan Voras : [Hide Quoted Text] > Daniel O'Connor wrote: >> One possibility would be to add a facility to mark all the data for >> a certain device to be non-critical so it will throw it away when it >> tries to flush it and fails instead of panicing. > > That (and a message in syslog) would be just fine. ("Windows does it, so > it's normal".) I know (and I think other USB drive users know too) that > I need to wait for the little LED on the device to stop blinking before > unplugging it. > > IIRC, Windows mounts removable drives with write caching disabled, so it > should probably be the same in FreeBSD. Would it not be a good idea to do something like this for cd's and floppies? I'm substituting FreeBSD for windows in some internet cafes and not automatically recovering from unmounted cd's, floppies and usbdev's, is probably the biggest PITA that I've found and haven't been able to solve cleanly. I've had to put icons on the kde-desktop for accessing and removing them that many just ignore. This is also the case in a corporate environment where I have had the same problem but they are a little better at using the icon because it is their pc that crashes :) Thanks, ed