|
|
|
|
|
by runlevel1
1320 days ago
|
|
That reminds me of something I've wanted for quite a while: A ringbuffer filetype. Similar to a named pipe file (see: fifo(7)[^1]), but without consuming the contents on read and automatically rotating out the oldest lines. Of course, there would be some complexities around handling read position as lines are being rotated out from under you. [1]: https://linux.die.net/man/7/fifo |
|
that seems solvable to me, but multiple simultaneous readers... that seems like it might be a bit more challenging...