reupload because i mixed up sigterm and sigkill like a dumb fuck

  • smeenz@lemmy.nz
    link
    fedilink
    arrow-up
    5
    ·
    1 month ago

    Partially true. The difference is that in Linux, when you delete a file, you’re just removing the directory entry (potentially just one of many entries that point to the same data). The filesystem doesn’t actually remove the data and reclaim space until all open handles are closed and no remaining directory entries point to the data.

    Any running processes that have the file open are able to continue to read and write that data via the handle despite the directory entry being removed, until the handle is closed.