Re: size of files in /proc

H. Peter Anvin (hpa@transmeta.com)
19 May 1998 22:29:47 GMT


Followup to: <6jsu4j$1g4$1@post.lunix.org>
By author: thospel@mail.dma.be (Ton Hospel)
In newsgroup: linux.dev.kernel
>
> But even then I'd like /proc to report the unknown sizes as 1, not 0.
> Because I like to be able to export /proc over NFS, and NFS doesn't even
> bother to read the file if the size is 0.
>

Forget it. I hear this idea every now and then, and it is almost
always the Wrong Thing[TM] to do. Especially given the wacko
characteristics of NFS -- you're basically horked if it isn't
something that is truly like a file.

-hpa

-- 
    PGP: 2047/2A960705 BA 03 D3 2C 14 A8 A8 BD  1E DF FE 69 EE 35 BD 74
    See http://www.zytor.com/~hpa/ for web page and full PGP public key
        I am Bahá'í -- ask me about it or see http://www.bahai.org/
   "To love another person is to see the face of God." -- Les Misérables

- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.rutgers.edu