coreutils wishlist

Corinna Vinschen
Wed Feb 23 16:44:00 GMT 2005

On Feb 22 21:52, Eric Blake wrote:
> The following two wishes are not essential, but would improve coreutils. 
> Unfortunately, I am not in a position to assign copyright to Red Hat at the 
> moment, so I can't contribute an implementation.

Too bad.  We could need help.

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

Which is weird since statvfs doesn't contain much more information than

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

Did you try to create a symlink?

  mkdir -p /dev
  ln -s /dev/null /dev/full


Corinna Vinschen                  Please, send mails regarding Cygwin to
Cygwin Project Co-Leader
Red Hat, Inc.

Unsubscribe info:
Problem reports:

More information about the Cygwin mailing list