Subject: kern/14244: LFS strange file size
To: None <gnats-bugs@gnats.netbsd.org>
From: Frank Kardel <kardel@acm.org>
List: netbsd-bugs
Date: 10/14/2001 16:46:38
>Number: 14244
>Category: kern
>Synopsis: :> filename in LFS created "big" files
>Confidential: no
>Severity: serious
>Priority: medium
>Responsible: kern-bug-people
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Sun Oct 14 07:47:01 PDT 2001
>Closed-Date:
>Last-Modified:
>Originator: Frank Kardel
>Release: Sat Oct 6 21:38:01 MEST 2001 up to Sun Oct 14 16:41:55 MEST 2001
>Organization:
>Environment:
System: NetBSD pip 1.5Y NetBSD 1.5Y (PIP) #0: Sat Oct 6 21:38:01 MEST 2001 kardel@pip:/fs/305040-0-e/src/NetBSD/netbsd/sys/arch/i386/compile/PIP i386
Architecture: i386
Machine: i386
>Description:
cd into V1-lfs file system
do a ":>filename" in csh or sh
ls -l
... and watch how large NetBSDs files can get 8-(
>How-To-Repeat:
# df .
Filesystem 1K-blocks Used Avail Capacity Mounted on
/dev/wd1g 7724016 1189168 5762447 17% /fs/305040-0-g
# mount
/dev/wd1g on /fs/305040-0-g type lfs (local)
# ls -l
total 1
drwxr-xr-x 5 root wheel 512 Oct 14 16:25 REPOSITORY
# :>filename
# ls -ls
total 1
1 drwxr-xr-x 5 root wheel 512 Oct 14 16:25 REPOSITORY
0 -rw-r--r-- 1 root wheel 18446744073709551615 Oct 14 16:44 filename
#
>Fix:
no idea
>Release-Note:
>Audit-Trail:
>Unformatted: