On 7 Mar 2009, at 12:42, Stroller wrote:
I was looking for a Knoppix DVD today, and came across any anomaly
whereby locate doesn't show it. It lists the CD iso in the same
directory, but not the DVD right next to it, and both files seem to
be read by the database when I run updatedb manually.
A big old bump from 6 months ago, could I ask kind members of the list
to try running locate to look for a big file to see if they can
reproduce this, please?
I'm seeing on a SECOND machine exactly the same thing - files larger
than about 4gb are not showing up in the locate search results:
$ ls -lh File.big
-rw-r--r-- 1 stroller users 5.4G 2009-02-27 10:31 File.big
$ sudo updatedb -v > foo
Password:
$ grep File.big foo
/home/stroller/File.big
$ locate File.big
$
If you don't have any DVD iso images on your system, you should be
create a suitable file with `dd if=/dev/zero of=file.big bs=5M
count=1k`. Update the slocate database & take a look for it, if you
would be so kind.
I can't quite believe this and I'm kinda rubbing my eyes here. One
machine behaving like this I can shrug it off as a quirk that I should
really get around to fixin' sometime. I find it too incredible to
imagine that I may have stumbled over some heretofore undiscovered bug
in such a popular package.
Stroller.