From owner-freebsd-stable@FreeBSD.ORG Wed Jul 18 15:42:12 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 797CF16A404 for ; Wed, 18 Jul 2007 15:42:12 +0000 (UTC) (envelope-from jdc@parodius.com) Received: from mx01.sc1.parodius.com (mx01.sc1.parodius.com [72.20.106.3]) by mx1.freebsd.org (Postfix) with ESMTP id 6614413C4B7 for ; Wed, 18 Jul 2007 15:42:12 +0000 (UTC) (envelope-from jdc@parodius.com) Received: by mx01.sc1.parodius.com (Postfix, from userid 1000) id 5319A1CC050; Wed, 18 Jul 2007 08:42:12 -0700 (PDT) Date: Wed, 18 Jul 2007 08:42:12 -0700 From: Jeremy Chadwick To: Momchil Ivanov Message-ID: <20070718154212.GA10371@eos.sc1.parodius.com> Mail-Followup-To: Momchil Ivanov , "[LoN]Kamikaze" , Josh Paetzel , freebsd-stable@freebsd.org References: <200707181142.27240.idiotbg@gmail.com> <200707180839.50113.josh@tcbug.org> <469E1B2A.3030901@gmx.de> <200707181703.07480.idiotbg@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <200707181703.07480.idiotbg@gmail.com> User-Agent: Mutt/1.5.15 (2007-04-06) Cc: "\[LoN\]Kamikaze" , freebsd-stable@freebsd.org, Josh Paetzel 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: Wed, 18 Jul 2007 15:42:12 -0000 On Wed, Jul 18, 2007 at 05:03:03PM +0200, Momchil Ivanov wrote: > "Windows" doesn`t reboot if you unplug the usb or network cable, which I think > is the right way of handling these kind of situations. Windows also (as of XP; I don't think it was this way in 2000) by default disables read/write caching on all USB-plugged storage devices. This was done because people were unplugging USB storage devices without "shutting them down" (going to the systray and selecting the device then choosing "Stop" to ensure all caches were flushed and data on the device had been written). The performance hit is pretty major, but the attitude is "safety first". You can, of course, toggle the caching feature per device/drive, but you'll need to Stop the device before removing it from the USB bus. -- | Jeremy Chadwick jdc at parodius.com | | Parodius Networking http://www.parodius.com/ | | UNIX Systems Administrator Mountain View, CA, USA | | Making life hard for others since 1977. PGP: 4BD6C0CB |