USB memory stick hotswap problems

Doug White dwhite at gumbysoft.com
Sat Sep 25 13:26:29 PDT 2004


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 at gumbysoft.com          |  www.FreeBSD.org


More information about the freebsd-current mailing list