Re: sed not working on /proc files

Stephen C. Tweedie (sct@redhat.com)
Thu, 29 Apr 1999 22:24:25 +0100 (BST)


Hi,

On Tue, 27 Apr 1999 13:51:54 +0200, Rafal Maszkowski <rzm@icm.edu.pl>
said:

> /proc files could pretend to be pipes. Would it spoil any programme
> behaviour?

It would spoil the kernel: the kernel works very hard to make sure
that even when you have different filesystem types present, the pipe
and socket code is all handled by common code, not by the particular
filesystem involved. You'd have to break that abstraction to give
pipes special meaning inside /proc.

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