From owner-freebsd-bugs Sun Sep 29 7:30: 5 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 894A037B401 for ; Sun, 29 Sep 2002 07:30:03 -0700 (PDT) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id EB12043E65 for ; Sun, 29 Sep 2002 07:30:02 -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 g8TEU2Co025125 for ; Sun, 29 Sep 2002 07:30:02 -0700 (PDT) (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.12.6/8.12.6/Submit) id g8TEU2td025124; Sun, 29 Sep 2002 07:30:02 -0700 (PDT) Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 07E7C37B401 for ; Sun, 29 Sep 2002 07:23:40 -0700 (PDT) Received: from mailx.mediabase-gmbh.de (pD9E9620A.dip.t-dialin.net [217.233.98.10]) by mx1.FreeBSD.org (Postfix) with ESMTP id A507C43E8A for ; Sun, 29 Sep 2002 07:23:37 -0700 (PDT) (envelope-from woerner@mediabase-gmbh.de) Received: from gaga (aw@localhost.local.mediabase-gmbh.de [127.0.0.1]) by mailx.mediabase-gmbh.de (8.12.2/8.12.2) with SMTP id g8TEMlnK031425 for ; Sun, 29 Sep 2002 14:23:08 GMT Message-Id: <200209291423.g8TEMlnK031425@mailx.mediabase-gmbh.de> Date: Sun, 29 Sep 2002 14:22:47 GMT From: woerner@mediabase-gmbh.de To: FreeBSD-gnats-submit@FreeBSD.org X-Send-Pr-Version: 3.113 Subject: bin/43471: `ls -l` shows wrong size for big files (>10GB) 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 >Number: 43471 >Category: bin >Synopsis: `ls -l` shows wrong size for big files (>10GB) >Confidential: no >Severity: non-critical >Priority: medium >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Sun Sep 29 07:30:01 PDT 2002 >Closed-Date: >Last-Modified: >Originator: Arne Woerner >Release: FreeBSD 5.0-CURRENT-20020917-JPSNAP i386 >Organization: mediaBase Gmbh, MUC, BY, FRG >Environment: System: FreeBSD cyclops.local.mediabase-gmbh.de 5.0-CURRENT-20020917-JPSNAP Free BSD 5.0-CURRENT-20020917-JPSNAP #0: Wed Sep 25 18:23:51 GMT 2002 aw@newark.local .mediabase-gmbh.de:/usr/src/sys/i386/compile/RIDDICK i386 >Description: the file size provided by the long output format mode of /bin/ls is only 32-bit ==> 'real size' modulo 2^32 shows up in the output (at least in OpenBSD 3.1 and the FBSD source code looks alike) >How-To-Repeat: dd if=/dev/zero of=gaga bs=1000000 count=10000 ls -l gaga you will see 10000000000%(2^32) as file size >Fix: should be easy because the system is already able to handle big files ==> /usr/include/... is ok only /usr/src/bin/ls needs some enhancement too busy to do it myself and my bug fixes are not so beloved anyway... >Release-Note: >Audit-Trail: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message