From owner-freebsd-stable@FreeBSD.ORG Thu Jul 19 06:58:31 2007 Return-Path: X-Original-To: freebsd-stable@FreeBSD.ORG Delivered-To: freebsd-stable@FreeBSD.ORG Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 2AC5716A406 for ; Thu, 19 Jul 2007 06:58:31 +0000 (UTC) (envelope-from LoN_Kamikaze@gmx.de) Received: from mail.gmx.net (mail.gmx.net [213.165.64.20]) by mx1.freebsd.org (Postfix) with SMTP id 77F1C13C474 for ; Thu, 19 Jul 2007 06:58:30 +0000 (UTC) (envelope-from LoN_Kamikaze@gmx.de) Received: (qmail invoked by alias); 19 Jul 2007 06:58:28 -0000 Received: from nat-wh-1.rz.uni-karlsruhe.de (EHLO mobileKamikaze.norad) [129.13.72.169] by mail.gmx.net (mp035) with SMTP; 19 Jul 2007 08:58:28 +0200 X-Authenticated: #5465401 X-Provags-ID: V01U2FsdGVkX1882X57gwc8CSAkacU0rAX9wYk3FnueYJkCdbJH9C 6+cyLZxjtmelLC Message-ID: <469F0B93.9020409@gmx.de> Date: Thu, 19 Jul 2007 08:58:27 +0200 From: "[LoN]Kamikaze" User-Agent: Thunderbird 2.0.0.4 (X11/20070616) MIME-Version: 1.0 To: freebsd-stable@FreeBSD.ORG, LoN_Kamikaze@gmx.de, idiotbg@gmail.com, josh@tcbug.org References: <200707181541.l6IFf4ht051775@lurza.secnetix.de> In-Reply-To: <200707181541.l6IFf4ht051775@lurza.secnetix.de> X-Enigmail-Version: 0.95.1 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Y-GMX-Trusted: 0 Cc: Subject: Re: removing external usb hdd without unmounting causes reboot? X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 19 Jul 2007 06:58:31 -0000 Oliver Fromme wrote: > Momchil Ivanov wrote: > > On Wednesday 18 July 2007 15:52:42 [LoN]Kamikaze wrote: > > > Josh Paetzel wrote: > > > > Yes, it's expected behavior. The workaround is to not unplug mounted > > > > devices. (There's nothing special about USB here, if you unplugged an > > > > IDE drive you'd get the same behavior) > > > > > > Wouldn't it make some sense not to panic if mounted devices that are in > > > sync get removed? A few applications might get in trouble, but that's > > > hardly a reason to bring a whole system down. > > > > I don`t know how things work, but shutting down the system when some > > mounted fs is no longer present seems like the wrong thing to me. > > As Josh wrote, it's expected. The problem is known > to exist for a long time already (probably as long > as FreeBSD itself exists), and if there was an easy > solution, certainly someone would have fixed it. I remember on 5.3 I removed a mounted USB stick. The system did not panic, all I had to do was to plug the stick back in to be able to unmount it. So the behaviour has been more tolerant, in the past.