Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 26 Sep 2004 18:21:13 +0200
From:      Benjamin Lutz <benlutz@datacomm.ch>
To:        freebsd-current@freebsd.org
Subject:   Re: USB memory stick hotswap problems
Message-ID:  <20040926182113.7ccffc2c.benlutz@datacomm.ch>
In-Reply-To: <200409261036.49484.Lucas.James@LDJcs.Com.Au>
References:  <41555396.4030009@fer.hr> <20040926021347.721a025f.benlutz@datacomm.ch> <20040926005943.GA61350@parodius.com> <200409261036.49484.Lucas.James@LDJcs.Com.Au>

next in thread | previous in thread | raw e-mail | index | archive | help
--Signature=_Sun__26_Sep_2004_18_21_13_+0200_ueFWMZhWpaIO1CQ/
Content-Type: text/plain; charset=US-ASCII
Content-Disposition: inline
Content-Transfer-Encoding: 7bit

> We should be telling the kernel at some point that this is a removable
> device, and not have the kernel complain if we umount it when the device
> has already disappeared (assuming that we have mounted it with -o sync).

Even if it's mounted async, the kernel should just shrug, flush the now
useless stuff from memory, and get on with it's live. Maybe a log entry
could be made when there's still unwritten data that has now been lost.

I'm anxious to see what phk comes up with :)

Benjamin

--Signature=_Sun__26_Sep_2004_18_21_13_+0200_ueFWMZhWpaIO1CQ/
Content-Type: application/pgp-signature

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.6 (FreeBSD)

iD8DBQFBVux8gShs4qbRdeQRAu0uAKCA9wZwPEpiW5dL7sf21Ae1eRQ77ACePl32
1M6SPXnkZ8j77gPQOcV86j4=
=KtRz
-----END PGP SIGNATURE-----

--Signature=_Sun__26_Sep_2004_18_21_13_+0200_ueFWMZhWpaIO1CQ/--



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