New answers tagged journaling
Deleting a file involves a few steps: Mark the name in the directory as deleted Decrement the link count in the inode If the link count is now zero, set the deleted time and Mark the data blocks as free in the bitmap So the journal "looks like" this sequence.
When a file or directory is "deleted" its inode number is removed from the directory which contains the file. You can see the list of inodes that a given directory contains using the tree command. Example $ tree -a -L 1 --inodes . . |--  dir1 |--  dir2 |--  dir3 |--  dir4 |--  dir5 |--  file1 |-- ...
Top 50 recent answers are included