From owner-freebsd-questions@FreeBSD.ORG Mon Mar 16 06:30:13 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 44B421065676 for ; Mon, 16 Mar 2009 06:30:13 +0000 (UTC) (envelope-from frank@esperance-linux.co.uk) Received: from mailout.zetnet.co.uk (mailout.zetnet.co.uk [194.247.47.231]) by mx1.freebsd.org (Postfix) with ESMTP id F0E0F8FC34 for ; Mon, 16 Mar 2009 06:30:12 +0000 (UTC) (envelope-from frank@esperance-linux.co.uk) Received: from irwell.zetnet.co.uk ([194.247.47.48] helo=zetnet.co.uk) by mailout.zetnet.co.uk with esmtp (Exim 4.63) (envelope-from ) id 1Lj6Ku-0000ly-0i; Mon, 16 Mar 2009 06:30:08 +0000 Received: from melon.esperance-linux.co.uk (54-144.adsl.zetnet.co.uk [194.247.54.144]) by zetnet.co.uk (8.14.1/8.14.1/Debian-9) with ESMTP id n2G6U6kI020564; Mon, 16 Mar 2009 06:30:06 GMT Received: by melon.esperance-linux.co.uk (Postfix, from userid 1001) id 3246DFCA699; Mon, 16 Mar 2009 06:30:01 +0000 (GMT) Date: Mon, 16 Mar 2009 06:30:01 +0000 From: Frank Shute To: prad Message-ID: <20090316063001.GA93060@melon.esperance-linux.co.uk> Mail-Followup-To: prad , "freebsd-questions@freebsd.org" References: <20090312223713.55535586@gom.home> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20090312223713.55535586@gom.home> User-Agent: Mutt/1.4.2.3i X-Face: *}~{PHnDTzvXPe'wl_-f%!@+r5; VLhb':*DsX%wEOPg\fDrXWQJf|2\,92"DdS%63t*BHDyQ|OWo@Gfjcd72eaN!4%NE{0]p)ihQ1MyFNtWL X-Operating-System: FreeBSD 6.4-RELEASE-p2 i386 X-Organisation: 'http://www.shute.org.uk/' X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.1.7 (zetnet.co.uk [194.247.46.1]); Mon, 16 Mar 2009 06:30:07 +0000 (GMT) Cc: "freebsd-questions@freebsd.org" Subject: Re: the pause that removes X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Frank Shute List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 16 Mar 2009 06:30:13 -0000 On Thu, Mar 12, 2009 at 10:37:13PM -0700, prad wrote: > > one of the neat things i've found about freebsd vs linux is the > 'instantaneous' rm. > > when you remove a large file or a substantial directory, freebsd does > it right away ard you get your prompt back, while with every linux i've > tried, you wait and wait and wait. > > i presume freebsd just takes the pointer to the file out so it can be > overwritten, while may be the linuxes fill stuff with zeros or > something like that?? > > is this instantaneity a result of the ufs file system vs say ext3 or > reiser? > ext3 has a journal, so I guess the journal has to be updated after a big delete unlike FreeBSD. This could be the delay you've noticed. I don't know anything about Reiser. To confirm this, you could mount the ext3 as ext2 and see if that helps. Regards, -- Frank Contact info: http://www.shute.org.uk/misc/contact.html