Heh. I've gotten enough negative feedback from this idea that I've
decided to drop it.
I didn't realize that most of the information in /proc is generated on
the fly (under NetBSD, most of it is not). Obviously, it would just
be wasteful to compute "file" sizes in this case.
> Perhaps the file type should change to a non-regular file.
> Character devices, sockets, and named pipes are all OK.
At a minimum, it would be nice if there were some way for stat() to
tell the caller "this is a file of indefinite size", rather than the
misleading "this is an empty file". That way, ls could be modified to
display "--" or some other non-numeric for the file size.
I'm not a Linux guru (yet) so I'm not sure if there is an acceptable
way to do this.
-- Mirian Crzig Lennox Systems Anarchist "There's a New World Order coming every minute. Make mine extra cheese."- 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/