DaGammla@lemmy.ml to linuxmemes@lemmy.worldEnglish · 5 months agoWho is using my file?lemmy.mlimagemessage-square3linkfedilinkarrow-up14arrow-down10
arrow-up14arrow-down1imageWho is using my file?lemmy.mlDaGammla@lemmy.ml to linuxmemes@lemmy.worldEnglish · 5 months agomessage-square3linkfedilink
minus-squareoats@piefed.ziplinkfedilinkEnglisharrow-up2·5 months 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·5 months 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.
I think “consider it done” puts it well.
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.