Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 25 Sep 2004 13:26:28 -0700 (PDT)
From:      Doug White <dwhite@gumbysoft.com>
To:        Ivan Voras <ivoras@fer.hr>
Cc:        current@freebsd.org
Subject:   Re: USB memory stick hotswap problems
Message-ID:  <20040925132430.C65556@carver.gumbysoft.com>
In-Reply-To: <41555396.4030009@fer.hr>
References:  <41555396.4030009@fer.hr>

next in thread | previous in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20040925132430.C65556>