delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2005/02/23/09:17:22

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com
Message-ID: <421C905F.6020207@byu.net>
Date: Wed, 23 Feb 2005 07:17:03 -0700
From: Eric Blake <ebb9 AT byu DOT net>
User-Agent: Mozilla Thunderbird 1.0 (Windows/20041206)
MIME-Version: 1.0
To: cygwin AT cygwin DOT com
Subject: Re: coreutils wishlist
References: <421C0C16 DOT 80702 AT byu DOT net> <20050223121406 DOT GL18314 AT cygbert DOT vinschen DOT de>
In-Reply-To: <20050223121406.GL18314@cygbert.vinschen.de>
X-IsSubscribed: yes

-----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 AT byu DOT 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/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019