On Tue, Jan 13, 2026 at 09:15:35AM -0500, Jeffrey Walton wrote: > On Tue, Jan 13, 2026 at 8:38 AM Jan Claeys <lists@janc.be> wrote: > > > > On Mon, 2026-01-12 at 20:03 -0500, Greg Wooledge wrote: > > > I didn't > > > even think that was possible on Linux -- for a process to continue > > > running after its program file on disk has been unlinked. > > > > That literally happens every time you upgrade a running program? > > To add to Jan's reply, it can happen with shared objects and data files, too. [...] > The takeaway is, the file is not actually deleted until the final > unlink and the inodes are freed. You just remove the directory entry, which points to the file inode. The latter keeps a ref count and is freed once that reaches 0. (Basically what you said, I just allowed myself to sharpen it a bit). Cheers -- t
Attachment:
signature.asc
Description: PGP signature