lkml.org 
[lkml]   [1998]   [Dec]   [22]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: /dev/full
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/

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