3 ms·
isn't the concept of deletes not being instantaneous a normal aspect of unix file systems? i.e. do an unlink a 1TB file that is in use in linux on ext4. file
by compsciphd 4y ago
isn't the concept of deletes not being instantaneous a normal aspect of unix file systems?
i.e. do an unlink a 1TB file that is in use in linux on ext4. file disappears immediately form namespace but space isn't freed up. close program keeping that file opened and space will slowly be reclaimed. similarly, due to unlink / ext4 semantics, if one did unlink that file without anyone keeping it open, the unlink() would block until the file was deleted, but I'm not sure that's really required by posix (i.e. the file could be opened by someone). Therefore I think one has to believe that the expectation on any file system is that unlink returning doesn't mean the space was freed up yet.