Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 29 Sep 2002 08:10:04 -0700 (PDT)
From:      Arne Woerner <woerner@mediabase-gmbh.de>
To:        freebsd-bugs@FreeBSD.org
Subject:   Re: bin/43471: `ls -l` shows wrong size for big files
Message-ID:  <200209291510.g8TFA4Nm042244@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help
The following reply was made to PR bin/43471; it has been noted by GNATS.

From: Arne Woerner <woerner@mediabase-gmbh.de>
To: freebsd-gnats-submit@FreeBSD.org
Cc:  
Subject: Re: bin/43471: `ls -l` shows wrong size for big files
Date: Sun, 29 Sep 2002 15:00:41 GMT

 Oops... :-)
 
 May be 10GB is not the best hint...
 `df -k` showed before I deleted the file
 	59231680 used blocks
 and after
 	38487696 used blocks
 (that is 20743984 KB less).
 
 `ls -l` showed a file size of
 	4045263471 bytes
 which is round about
 	3950452 KB
 which is not enough.
 
 But obviously may analysis was not correct (I just tested a 10^10
 Bytes file and `ls -l` was OK). But in fact the ls.h uses type int
 for file size...
 
 I will try a bigger file... ;-) Will be back tomorrow...

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-bugs" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200209291510.g8TFA4Nm042244>