From owner-freebsd-current@FreeBSD.ORG Wed Oct 14 17:56:04 2009 Return-Path: Delivered-To: freebsd-current@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 1A2011065692 for ; Wed, 14 Oct 2009 17:56:04 +0000 (UTC) (envelope-from shuvaev@physik.uni-wuerzburg.de) Received: from mailrelay.rz.uni-wuerzburg.de (mailrelay.rz.uni-wuerzburg.de [132.187.3.28]) by mx1.freebsd.org (Postfix) with ESMTP id C14098FC15 for ; Wed, 14 Oct 2009 17:56:02 +0000 (UTC) Received: from virusscan.mail (localhost [127.0.0.1]) by mailrelay.mail (Postfix) with ESMTP id E7D595BA8C for ; Wed, 14 Oct 2009 19:56:00 +0200 (CEST) Received: from localhost (localhost [127.0.0.1]) by virusscan.mail (Postfix) with ESMTP id E3F265B97B for ; Wed, 14 Oct 2009 19:56:00 +0200 (CEST) X-Virus-Scanned: by amavisd-new at uni-wuerzburg.de Received: from mail.physik.uni-wuerzburg.de (wthp192.physik.uni-wuerzburg.de [132.187.40.192]) by mailmaster.uni-wuerzburg.de (Postfix) with ESMTP id C1E805CD7B for ; Wed, 14 Oct 2009 19:56:00 +0200 (CEST) Received: from wep4035 ([132.187.37.35]) by mail.physik.uni-wuerzburg.de (Lotus Domino Release 8.0.2FP1HF244) with ESMTP id 2009101419555976-162763 ; Wed, 14 Oct 2009 19:55:59 +0200 Received: by wep4035 (sSMTP sendmail emulation); Wed, 14 Oct 2009 19:56:00 +0200 Date: Wed, 14 Oct 2009 19:56:00 +0200 From: Alexey Shuvaev To: freebsd-current@FreeBSD.org Message-ID: <20091014175600.GA55864@wep4035.physik.uni-wuerzburg.de> Mail-Followup-To: freebsd-current@FreeBSD.org References: <20091014151026.699a5765@ernst.jennejohn.org> Mime-Version: 1.0 In-Reply-To: User-Agent: Mutt/1.4.2.3i Organization: Universitaet Wuerzburg X-MIMETrack: Itemize by SMTP Server on domino1/uni-wuerzburg(Release 8.0.2FP1HF244 | April 7, 2009) at 10/14/2009 07:55:59 PM, Serialize by Router on domino1/uni-wuerzburg(Release 8.0.2FP1HF244 | April 7, 2009) at 10/14/2009 07:56:00 PM, Serialize complete at 10/14/2009 07:56:00 PM Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Cc: Subject: Re: buffers not syncing correctly during shutdown X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 14 Oct 2009 17:56:04 -0000 On Wed, Oct 14, 2009 at 03:13:00PM +0200, Ivan Voras wrote: > Gary Jennejohn wrote: > > >I personally don't see why it ever should be handled. This is UNIX not > >Windows and users should be smart enough to know that they umount such > >devices before removing them otherwise nasty things can happen. > > Yes, but this is 2009 not 1978. > Well, the other side of being in 2009 is that filesystems have evolved too. For example, I have UFS2 + SU on most of my removable media (sticks and external hard drives). I was always interested how this new "feature" of FreeBSD, to allow removable media disappear almost silently, plays in this case? I've had one case when I lost my external hard drive during tar -xvf ports.tar.bz2 into it. I haven't touched it at the moment (voltage spikes?). It was quite funny trying to browse through the half-cached content then... have spent ~5 minutes before noticing kernel message. Re-plugging the drive has brought it back, with dirty filesystem, of course. Maybe it would be better if the system paniced then :/) Anyway, my point is that removing the media with most of modern filesystems on it without unmounting is an operator error. IMHO, the system should warn such an operators in one or the other way... 0.00$, Alexey.