Re: /dev/full

=?iso-8859-1?Q?Johnny_Teve=DFen?= (j.tevessen@gmx.net)
Wed, 23 Dec 1998 03:55:58 +0100


Quoting Charles Cazabon (charlesc-linux@hal.qcc.sk.ca):

> Er, I thought the point of /dev/full was to return ENOSPACE (or whatever the
> disk-full error code is) when you attempted to write to it...I don't think
> you get anything from it when you try to read.

Well, that's actually what I use it for: To have a "file" that gives you
0 bytes and then EOF when read from.

ciao,
johnny

-- 
Trust no-one.

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