3 ms·
inotify and seek works on most files. FIFO file descriptors, not so much. If you can't seek backwards, you pretty much have to cache the whole contents in mem
by TheDong 8y ago
inotify and seek works on most files.
FIFO file descriptors, not so much.
If you can't seek backwards, you pretty much have to cache the whole contents in memory, which seems wildly inefficient.