5 ms·
Go ahead and cut a notch out of my expertise card, but in all my years playing with UNIX, I’ve never used that directory.
by russfink 2mo ago
Go ahead and cut a notch out of my expertise card, but in all my years playing with UNIX, I’ve never used that directory.
- ButlerianJihad 2mo agoI think the most common use case was when a file descriptor was still open in some process, but the file itself had been completely unlink'd from the filesystem. Most often it was some sort of temporary file. Anyway the /lost+found link would be its inode number, I think. And then you could recover it after fsck had relinked it into the hierarchy. It would have to put them there, because it had no idea what pathname it had used when it was a real file.
- stevewodil 2mo agoYou don’t use it, the system might in edge cases
- jmclnx 2mo agoI have had items put there a few time on an fsck. Not often but it has happened.