Date: Mon, 16 Mar 2009 06:30:01 +0000 From: Frank Shute <frank@shute.org.uk> To: prad <prad@towardsfreedom.com> Cc: "freebsd-questions@freebsd.org" <freebsd-questions@freebsd.org> Subject: Re: the pause that removes Message-ID: <20090316063001.GA93060@melon.esperance-linux.co.uk> In-Reply-To: <20090312223713.55535586@gom.home> References: <20090312223713.55535586@gom.home>
next in thread | previous in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20090316063001.GA93060>