Re: sed not working on /proc files

David B. Rees (dbr@spoke.nols.com)
Mon, 26 Apr 1999 19:47:29 -0700 (PDT)


On 27-Apr-99 Richard B. Johnson wrote:
> If everything seems to work okay, then ask Linus. It's his code. There
> is zero overhead to making such a phony size, but, as I said, it's
> Linus' code. He may have a good reason for zero-length files.

So what happens if the length of a /proc file is bigger than 1000 bytes?

Programs which expect it to be only 1000 bytes will not read all the data.
Seems like a hack, to me.

-Dave

-
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/