From owner-freebsd-current@FreeBSD.ORG Wed Oct 14 17:16:15 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 EB9981065672 for ; Wed, 14 Oct 2009 17:16:15 +0000 (UTC) (envelope-from mlobo@digiart.art.br) Received: from sv4.hmnoc.net (sv4.hmnoc.net [63.247.76.174]) by mx1.freebsd.org (Postfix) with ESMTP id C28938FC21 for ; Wed, 14 Oct 2009 17:16:15 +0000 (UTC) Received: from localhost ([127.0.0.1]:37110 helo=squirrel.sv4.hmnoc.net) by sv4.hmnoc.net with esmtp (Exim 4.69) (envelope-from ) id 1My7SQ-0002di-NI; Wed, 14 Oct 2009 14:16:14 -0300 Received: from 200.249.56.17 (proxying for unknown) (SquirrelMail authenticated user mlobo@digiart.art.br) by squirrel.sv4.hmnoc.net with HTTP; Wed, 14 Oct 2009 14:16:14 -0300 (BRT) Message-ID: <26594.200.249.56.17.1255540574.squirrel@squirrel.sv4.hmnoc.net> In-Reply-To: <86vdiix775.fsf@ds4.des.no> References: <20091014151026.699a5765@ernst.jennejohn.org> <18175.200.249.56.17.1255528438.squirrel@squirrel.sv4.hmnoc.net> <86vdiix775.fsf@ds4.des.no> Date: Wed, 14 Oct 2009 14:16:14 -0300 (BRT) From: "Mario Lobo" To: Dag-Erling =?iso-8859-1?Q?Sm=C3=B8rgrav?= User-Agent: SquirrelMail/1.4.8 MIME-Version: 1.0 Content-Type: text/plain;charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Priority: 3 (Normal) Importance: Normal X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - sv4.hmnoc.net X-AntiAbuse: Original Domain - freebsd.org X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12] X-AntiAbuse: Sender Address Domain - digiart.art.br Cc: freebsd-current@freebsd.org 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:16:16 -0000 > "Mario Lobo" writes: >> I must add that even windows has a "Safely Remove Hardware" before >> unplugging the usb device. > > What it really means is "sync the filesystem and tell me if there are > any open or locked files". In most cases, you can yank the USB stick > out without adverse consequences. > > DES > -- > Dag-Erling Smørgrav - des@des.no > That IS true ! but like you said, "most cases" <> "all cases". Once, on a company I was doing work at, I clicked on "Safely Remove Hardware" and it said "can´t do it. device busy", although there was (apparently) nothing using any files from the stick. I yanked it out anyway. result: the 3 files I edited from the stick were gone :(. Since I don´t know when I am gonna hit a case that doesn´t belong to "most", I always try to remember to unmount (i.e. Safely Remove Hardware) the stick before unplugging it. Mario