What's in the Undelete Directory?
After we were able to copy a file
to the undelete directory, we had to somehow list the contents of the undelete
directory. We wrote a function to do this in linux/fs/ext2/namei.c,
called lsdel. The function lsdel accept two parameter: -i lists the
file's inode number along with the name, and -l provides a long listing
of the file's information. lsdel lists the contents of the undelete
directory of the current filesystem.
Back ...