Comment on Website hosted on a 24 year old Linux serverparentComments−SoftTalker3yPretty sure Linux didn't have inotify then.Probably a CGI script updates a counter in a file.−yjftsjthsd-h3yPretty 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)−dmd3yFUSE's announcement: https://lwn.net/2001/1115/a/fuse.php3−smashed3yCan confirm, that's how it was done. A simple text file.−Zach_the_Lizard3yWhat 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.
Comments
Pretty sure Linux didn't have inotify then.
Probably a CGI script updates a counter in a file.
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)
FUSE's announcement: https://lwn.net/2001/1115/a/fuse.php3
Can confirm, that's how it was done. A simple text file.
What 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.