lkml.org 
[lkml]   [1999]   [May]   [5]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: sed not working on /proc files
On Wed, 5 May 1999, Rogier Wolff wrote:
[SNIPPED]
>
> The "files" in /proc should in my opinion not pretend to be files:
> they should be "pipes". Many programs stat their input file, and if
> they get "normal file", they have all sorts of assumptions on tricks
> they can do.
>
> For example, "wc -c" will just return the st_size of the file, instead
> of doing all the work that is normally involved in counting the file.
>
>
> Roger.
>
Just for kicks, I changed them all to pipes, i.e., named FIFOS. This
broke most of the tools like 'ps`. I gave up.

Cheers,
Dick Johnson
***** FILE SYSTEM WAS MODIFIED *****
Penguin : Linux version 2.2.6 on an i686 machine (400.59 BogoMips).
Warning : It's hard to remain at the trailing edge of technology.


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

\
 
 \ /
  Last update: 2005-03-22 13:51    [W:0.249 / U:0.440 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site