View Single Post

  #1 (permalink)  
Old 07-23-2003
J Trost
 
Posts: n/a
Default What happens to the directory entry of a file when it is deleted using rm

Does anyone know what exactly happens to the directory entry of a file
when that file is deleted? (Assuming you used the standard rm command
and you are using the ext2fs) Is the entry zeroed out? Or is it
"simply included in the slack space of the previous entry" (the Grugq
-- Phrack, issue 59)? I read the Design and Implementation of the
Second Extended Filesystem
(http://e2fsprogs.sourceforge.net/ext2intro.html), and it didn't
confirm the Grugq's claim.

I would appreciate any and all help.
Thanks,

--Trost
Reply With Quote