News for hackers. Stuff that matters.
Re:Path Isn't Real on Linux by edoceo on Tuesday April 29, 2025 @11:57PM (#43841119)
Isn't cache invalidation one of the hard problems?
Re:Path Isn't Real on Linux by vlovich123 on Wednesday April 30, 2025 @10:52AM (#43846100)
Sure but not doing it on ENOENT suggests they’re just being completely lazy. Not to mention that they do have the tools (eg inotify watches) to proactively remove stale entries based on HD changes. Of course I’d be careful about the proactive one as it’s really easy to screw things up more (eg 100 bash instances all watching the same PATH directories might get expensive or forgetting to only do this for interactive mode connected to a TTY)