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: 1.7.7: upper limit to df reported available size?


On Dec 10 17:59, Corinna Vinschen wrote:
> On Dec 10 11:20, Elford,Andrew [Ontario] wrote:
> > $ df -T /cygdrive/f/file
> > Filesystem    Type   1K-blocks      Used Available Use% Mounted on
> > C:            ntfs    83886076  31717608  52168468  38% /cygdrive/c
> > F:            ntfs   11717703676  72036296 -5534201804   -  /cygdrive/f
> > L:            ntfs   6143999996 883063196 5260936800  15% /cygdrive/l
> [...]
> Hmm.  OTOH, seeing the size of your FS, I'm also wondering if we should
> make the algorithm a bit more foolproof for the future by manipulating
> the value of f_frsize if the TotalAllocationUnits returned by Windows
> is > sizeof (fsblkcnt_t).

No, scratch that.  It wouldn't work well.  I guess what we really need
is to redefine fsblkcnt_t to become a 64 bit type.  Oh well, this
requires another backward compatibility hack, just like back when we
switched to 64 bit off_t (Cygwin 1.5).


Corinna

-- 
Corinna Vinschen                  Please, send mails regarding Cygwin to
Cygwin Project Co-Leader          cygwin AT cygwin DOT com
Red Hat

--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple


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