Messages in this thread | | | From | "Stephen C. Tweedie" <> | Date | Fri, 18 Feb 2000 15:01:56 +0000 (GMT) | Subject | Re: getting more that 4K out of a proc file? |
| |
Hi,
On Thu, 17 Feb 2000 13:07:08 +0100 (MET), Werner Almesberger <almesber@lrc.di.epfl.ch> said:
> IMHO, seeking to non-zero positions in /proc is a little bogus anyway, > because many files have sufficiently variable content that you can't > really tell where you might end up.
> Would be nice if once could flag /proc as non-seekable and make them > appear as pipes, though.
Seeking to zero should always be allowed. Seeking elsewhere is of value in certain cases, but seeking to the start allows rereading of a file for fresh stats without having to do an open/close cycle.
--Stephen
- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.rutgers.edu Please read the FAQ at http://www.tux.org/lkml/
| |