POSIX requires statvfs() in <sys/statvfs.h>, but cygwin currently only provides statfs() in <sys/vfs.h>. stat(1) can print more accurate information from a working statvfs than it currently does with the existing statfs interface.
Linux provides /dev/full at major device 1, minor 7, and the properties of world readable/writable, writes error out with ENOSPC, reads behave like /dev/zero, seeks succeed. The coreutils testsuite tries to use /dev/full to ensure that utilities behave correctly in the face of write errors. It looks like it would not be too hard to extend the existing fhandler_zero functionality into supporting /dev/full.
-- Someday, I might put a cute statement here.
Eric Blake [EMAIL PROTECTED]
-- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/