From owner-freebsd-current@FreeBSD.ORG Mon Sep 27 15:55:57 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 9297616A4CE for ; Mon, 27 Sep 2004 15:55:57 +0000 (GMT) Received: from smtp.prodigy.net.mx (nlpproxy05.prodigy.net.mx [148.235.52.25]) by mx1.FreeBSD.org (Postfix) with ESMTP id D0B9343D2F for ; Mon, 27 Sep 2004 15:55:56 +0000 (GMT) (envelope-from edwinculp@prodigy.net.mx) Received: from prodigy.net.mx (du-148-235-52-34.prodigy.net.mx [148.235.52.34]) by smtp.prodigy.net.mx (iPlanet Messaging Server 5.2 HotFix 1.21 (built Sep 8 2003)) with ESMTP id <0I4P00JHFIX5B6@smtp.prodigy.net.mx>; Mon, 27 Sep 2004 10:55:53 -0500 (CDT) Received: from [148.235.52.102] (Forwarded-For: [201.129.94.187]) by nlpmail04.prodigy.net.mx (mshttpd); Mon, 27 Sep 2004 10:56:17 -0500 Date: Mon, 27 Sep 2004 10:56:17 -0500 From: edwinculp To: current@freebsd.org Message-id: <1b79851b2436.1b24361b7985@prodigy.net.mx> MIME-version: 1.0 X-Mailer: iPlanet Messenger Express 5.2 HotFix 1.21 (built Sep 8 2003) 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) X-Mailman-Approved-At: Tue, 28 Sep 2004 14:39:14 +0000 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: Mon, 27 Sep 2004 15:55:57 -0000 Quoting Ivan Voras : > 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. 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