Martin Michlmayr <[EMAIL PROTECTED]> writes: > * Falk Hueffner <[EMAIL PROTECTED]> [2005-08-20 03:13]: >> (o) SPACE:18301984TB waiting_WAVs:00 DAE:0+1 ENC:1+0 errors: 952 :-[ >> Unfortunately, I don't have 18301984 TB of disk space. It's probably >> a 64 bit problem. > > jack_functions.df() tries to use os.statvfs() and falls back to > calling df directly. Maybe there's a problem here. Alternatively, > there could be a problem later on. > > Can you please try 3 things: > > 1. does the following work okay? > > 8425:[EMAIL PROTECTED]: ~] python >>>> from os import statvfs >>>> statvfs(".") > (4096, 4096, 4643036L, 1401905L, 1401905L, 2359296L, 2269308L, 2269308L, 0, > 255) >>>> (f_bsize, f_frsize, f_blocks, f_bfree, f_bavail, f_files, f_ffree, >>>> f_favail, f_flag, f_namemax) = statvfs(".") >>>> long(f_bavail) * long(f_bsize) > 5740130304L
[EMAIL PROTECTED]:~% python Python 2.3.5 (#2, Aug 13 2005, 20:48:47) [GCC 4.0.2 20050806 (prerelease) (Debian 4.0.1-4)] on linux2 Type "help", "copyright", "credits" or "license" for more information. >>> from os import statvfs >>> statvfs(".") (4096, 4096, 3383545173598030, 5629499534869841, 4912214227121058, 0, 1024, 255, 0, 0) >>> (f_bsize, f_frsize, f_blocks, f_bfree, f_bavail, f_files, f_ffree, >>> f_favail, f_flag, f_namemax) = statvfs(".") >>> long(f_bavail) * long(f_bsize) 20120429474287853568L >>> This seems pretty bogus. So I guess this is a Python bug, then? > 2. If not, can you take a look at line 51+ of > /usr/lib/python2.3/site-packages/jack_functions.py > I guess that "df ." returns the right thing. Yes, it does. > Is the blocksize 1024 on Alpha? You mean df's? It's 1024 everywhere, unless POSIXLY_CORRECT is set, or something. Jacks df parsing routine doesn't work, though, it looks for "Available" instead of "Avail" and keep_free isn't defined anywhere (yay for dynamic typing). -- Falk -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]