4 ms·
Pretty sure Linux didn't have inotify then. Probably a CGI script updates a counter in a file.
by SoftTalker 4y ago
Pretty sure Linux didn't have inotify then.
Probably a CGI script updates a counter in a file.
- smashed 4y agoCan confirm, that's how it was done. A simple text file.
- yjftsjthsd-h 4y ago> Pretty sure Linux didn't have inotify then. Did FUSE exist yet? You could hack it up in userspace... (Have the HTML on a FUSE filesystem, and every time it gets a read it updates the HTML)
- dmd 4y agoFUSE's announcement: https://lwn.net/2001/1115/a/fuse.php3 https://lwn.net/2001/1115/a/fuse.php3
- Zach_the_Lizard 4y agoWhat about dnotify? I think that predated inotify. If so, I think it has the ability to notify a process when a file was accessed, so could fill a similar role.