Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

How do I do that? fstat(2) is no help on macOS, and even if it were would return false positives from things like backup and content indexers ("Time Machine" and "Spotlight" on macOS).


You need to control the lifecycle of the file in some manner.

Or force a reboot, I guess?




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

Search: