Kerry Baker wrote:

I need to know the actual procedure the file system uses to delete a
file. That is, what files are modified (Inode table, SuperBlock,
Group Descriptors etc) and which fields within the files are
modified.

If you know C, check out the code in /usr/src/linux/fs/ext2/

Look for the function ext2_unlink in namei.c and go from there. It's not as incomprehensible as I expected.

Hint: ext2 code is based on the easier to understand minix fs code. Grokking the minix code and then the ext2 code is probably the way to go.

Cheers,
Carl.

Reply via email to