DaGammla@lemmy.ml to linuxmemes@lemmy.worldEnglish · 1 month agoWho is using my file?lemmy.mlimagemessage-square3linkfedilinkarrow-up12arrow-down10
arrow-up12arrow-down1imageWho is using my file?lemmy.mlDaGammla@lemmy.ml to linuxmemes@lemmy.worldEnglish · 1 month agomessage-square3linkfedilink
minus-squareoats@piefed.ziplinkfedilinkEnglisharrow-up2·1 month agoWell 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
minus-squareDaGammla@lemmy.mlOPlinkfedilinkEnglisharrow-up2·1 month agoYep, 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.
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.
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.