From owner-freebsd-current@FreeBSD.ORG Sat Sep 25 20:26:29 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 0B8E016A4CE for ; Sat, 25 Sep 2004 20:26:29 +0000 (GMT) Received: from carver.gumbysoft.com (carver.gumbysoft.com [66.220.23.50]) by mx1.FreeBSD.org (Postfix) with ESMTP id F2C2343D49 for ; Sat, 25 Sep 2004 20:26:28 +0000 (GMT) (envelope-from dwhite@gumbysoft.com) Received: by carver.gumbysoft.com (Postfix, from userid 1000) id E24B072DD4; Sat, 25 Sep 2004 13:26:28 -0700 (PDT) Received: from localhost (localhost [127.0.0.1]) by carver.gumbysoft.com (Postfix) with ESMTP id DCF4672DCB; Sat, 25 Sep 2004 13:26:28 -0700 (PDT) Date: Sat, 25 Sep 2004 13:26:28 -0700 (PDT) From: Doug White To: Ivan Voras In-Reply-To: <41555396.4030009@fer.hr> Message-ID: <20040925132430.C65556@carver.gumbysoft.com> References: <41555396.4030009@fer.hr> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII cc: current@freebsd.org 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: Sat, 25 Sep 2004 20:26:29 -0000 On Sat, 25 Sep 2004, Ivan Voras wrote: > What is the expected behavour when umounting USB drives which have > already been unplugged? :) panic. You must unmount volumes before removing them from the system. Otherwise there is unflushed dirty data that will get lost, causing data corruption on the volume. You will get a panic since the system doesn't know what to do with the data and wants to avoid causing any further damage. -- Doug White | FreeBSD: The Power to Serve dwhite@gumbysoft.com | www.FreeBSD.org