Hacker News new | past | comments | ask | show | jobs | submit login

> or just an inode? But then how is inode re-use handled?

inodes have generations. Each reuse increments generation. (ino, generation) tuple uniquely identifies an object within the file system.




This is correct, however generation is mostly needed (and was created) for NFS, and rarely used for anything else. Unveal lives in kernel, it just keeps a reference to vnode (https://github.com/openbsd/src/blob/03249988e9bbffb48a568839...)


Thanks. I was wrong about that, I was confusing this with PID re-use.




Join us for AI Startup School this June 16-17 in San Francisco!

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: