You must log in or # to comment.
Well actshly, rm removes the inode, not the file. If it’s still in use it’ll stay on the disk until the last fd is closed.
- with most file systems that are usual on linux
Yep, it’s a smart system.
For the user, the file is immediately no longer in the tree, so for them it’s considered done.
The OS should handle all the hassle, not the user.I think “consider it done” puts it well.

