This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: coreutils wishlist


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

According to Corinna Vinschen on 2/23/2005 5:14 AM:
>>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.

Well, I'm willing; it is getting my employer to sign a disclaimer that is
holding me up at the moment.

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

Well, CVS coreutils (but not 5.3.0) added stat -f -c"%s%S", to
differentiate between %s (optimum block size for fast transfers) and %S
(fundamental block size, or the size of a block on disk), based on
information in statvfs but not statfs.

Also, your first cut at <sys/statvfs.h> left out ST_RDONLY and ST_NOSUID.
 When you add those #defines, you might as well populate all the other
f_flag member bits with the ST_* namespace reserved to this header.

>>looks like it would not be too hard to extend the existing fhandler_zero 
>>functionality into supporting /dev/full.

Thanks for implementing that.

- --
Life is short - so eat dessert first!

Eric Blake             ebb9@byu.net
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.0 (Cygwin)
Comment: Public key at home.comcast.net/~ericblake/eblake.gpg
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org

iD8DBQFCHJBf84KuGfSFAYARApjSAJ4y/U///QNmkbAl26hkqloDQtbhdgCgj2/9
jKosbk5pKUgdPmVPOfohbqA=
=0vO5
-----END PGP SIGNATURE-----

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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]