Hacker News new | ask | show | jobs
by Chris2048 1865 days ago
If lmm shared this opinion, then there should be no problem, as systemd logs can be piped.
1 comments

All pipes are files. Not all files are pipes.
So, back to the original question: what's the problem here? what is disallowed?

Also: If all pipes are files, but not all files are pipes, it would seems to me that files are more restrictive. That, and the extra steps you need to take to avoid needless IO.

I recommend https://www.amazon.co.uk/dp/013937681X/ref=cm_sw_r_cp_apa_gl... as an introduction to the fundamental concepts of the Unix filesystem. Certainly a better education than I could give here.
The original post was:

  that doesn't allow you to do all the things you can do with a real file
I'm not interested in what the differences between a pipe and a file are (I know) - I'm interested in why OP thinks they are relevant in this specific context/case; particularly in context of my statement:

  seems to me that files are more restrictive
Is, for example, a sticky bit relevant to systemd log files?