what's the behavior of write supposed to be?

Marty Leisner (leisner@sdsp.mc.xerox.com)
Mon, 18 Sep 1995 07:03:24 PDT


If I cat a file larger than a floppy to a drive, should
write start failing with ENOSPC?

I saw (in strace with 1.2.8) write returning 0...which caused
cat to infinite loop...

marty leisner@sdsp.mc.xerox.com
Member of the League for Programming Freedom (http://www.lpf.org)
Any sufficiently advanced technology is indistinguishable from magic
Arthur C. Clarke, The Lost Worlds of 2001