Slide 8
Slide 8 text
Deleting files in UNIX
• In UNIX, files do not get deleted, they get overwritten
• When a file is “deleted” from the file system, you delete the inode pointing to the file
data, not the actual file data.
• A file is considered “deleted”, when the last inode pointing to it is removed.
(Despite that, they can still be restored)
• Similar to deleting reference objects in programming languages.
(In UNIX, there is no garbage collector )