Date: Mon, 10 Apr 2006 12:55:50 -0500 From: Eric Anderson <anderson@centtech.com> To: Diego Woitasen <dxw@mrecic.gov.ar> Cc: freebsd-fs@freebsd.org Subject: Re: How a file is deleted in ufs2? Message-ID: <443A9C26.4060103@centtech.com> In-Reply-To: <1144687418.11014.9.camel@diegows> References: <1144687418.11014.9.camel@diegows>
next in thread | previous in thread | raw e-mail | index | archive | help
Diego Woitasen wrote: > I want to know how a file is deleted in a ufs2 filesystem, specifically > what happen with the information in the inode. The information is > deleted to or the inode is marked as free but the information (uid, gid, > blocks, times, etc) remains there? > > I read the chapter 8 of 'Design and implementation of FreeBSD" and "a > Fast file system for Unix", but i can't see the answer. > > Reading the code is an interesting choice, but is the last resource :) I'm 100% certain here, but looking at the code, I don't think much happens besides freeing the inode and clearing it for re-use. The on-disk data remains. Eric -- ------------------------------------------------------------------------ Eric Anderson Sr. Systems Administrator Centaur Technology Anything that works is better than anything that doesn't. ------------------------------------------------------------------------
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?443A9C26.4060103>