From owner-freebsd-current@FreeBSD.ORG Mon Sep 27 11:26:45 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 C0AE716A4CF for ; Mon, 27 Sep 2004 11:26:45 +0000 (GMT) Received: from lara.cc.fer.hr (lara.cc.fer.hr [161.53.72.113]) by mx1.FreeBSD.org (Postfix) with ESMTP id AAA2643D3F for ; Mon, 27 Sep 2004 11:26:42 +0000 (GMT) (envelope-from ivoras@fer.hr) Received: from [127.0.0.1] (localhost.cc.fer.hr [127.0.0.1]) by lara.cc.fer.hr (8.13.1/8.13.1) with ESMTP id i8RBPwo4089310 for ; Mon, 27 Sep 2004 13:25:58 +0200 (CEST) (envelope-from ivoras@fer.hr) Message-ID: <4157F8C6.9090801@fer.hr> Date: Mon, 27 Sep 2004 13:25:58 +0200 From: Ivan Voras User-Agent: Mozilla Thunderbird 0.7.3 (X11/20040923) X-Accept-Language: en-us, en MIME-Version: 1.0 To: current@freebsd.org References: <41555396.4030009@fer.hr> <20040926021347.721a025f.benlutz@datacomm.ch> <20040926005943.GA61350@parodius.com> <200409261142.24759.doconnor@gsoft.com.au> In-Reply-To: <200409261142.24759.doconnor@gsoft.com.au> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit 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 11:26:46 -0000 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.