From owner-freebsd-bugs Sun Sep 29 8:10: 6 2002 Delivered-To: freebsd-bugs@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id E0F6037B401 for ; Sun, 29 Sep 2002 08:10:04 -0700 (PDT) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 9F51543E75 for ; Sun, 29 Sep 2002 08:10:04 -0700 (PDT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.12.6/8.12.6) with ESMTP id g8TFA4Co042246 for ; Sun, 29 Sep 2002 08:10:04 -0700 (PDT) (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.12.6/8.12.6/Submit) id g8TFA4Nm042244; Sun, 29 Sep 2002 08:10:04 -0700 (PDT) Date: Sun, 29 Sep 2002 08:10:04 -0700 (PDT) Message-Id: <200209291510.g8TFA4Nm042244@freefall.freebsd.org> To: freebsd-bugs@FreeBSD.org Cc: From: Arne Woerner Subject: Re: bin/43471: `ls -l` shows wrong size for big files Reply-To: Arne Woerner Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org The following reply was made to PR bin/43471; it has been noted by GNATS. From: Arne Woerner 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