Package: slocate
Version: 2.7-4
Severity: normal

I discovered today that slocate cannot find a file >= 2 GiB

mike:~# dd if=/dev/zero of=bigfile bs=1M count=2048
2048+0 records in
2048+0 records out
2147483648 bytes transferred in 56.693277 seconds (37878983 bytes/sec)
mike:~# ls -al bigfile
-rw-r--r--  1 root root 2147483648 Nov 11 14:51 bigfile
mike:~# updatedb
mike:~# locate bigfile
mike:~# dd if=/dev/zero of=bigfile bs=1M count=2047
2047+0 records in
2047+0 records out
2146435072 bytes transferred in 49.318821 seconds (43521622 bytes/sec)
mike:~# updatedb
mike:~# locate bigfile
/root/bigfile
mike:~# locate -V
Secure Locate 2.7 - Released January 24, 2003

Same behaviour for both this sarge 2.4.31 machine, and another sid 2.6.13.4 
machine, so I do not think this is a kernel issue.

I tried findutil's locate in sid, and it was able to locate bigfile properly.

-- System Information:
Debian Release: 3.1
Architecture: i386 (i686)
Kernel: Linux 2.4.31
Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968)

Versions of packages slocate depends on:
ii  adduser                     3.63         Add and remove users and groups
ii  dpkg                        1.10.28      Package maintenance system for Deb
ii  libc6                       2.3.2.ds1-22 GNU C Library: Shared libraries an

-- no debconf information



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to