• oats@piefed.zip
    link
    fedilink
    English
    arrow-up
    2
    ·
    1 month ago

    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
    • DaGammla@lemmy.mlOP
      link
      fedilink
      English
      arrow-up
      2
      ·
      1 month ago

      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.