On 8/17/07, Gus Wirth <[EMAIL PROTECTED]> wrote:
> Carl Lowenstein wrote:
> [snip]
> >
> > $ locate --version
> > Secure Locate 2.7 - Released January 24, 2003
> >
> > That's how I just spent Friday afternoon. If anybody wants more
> > explanation of the command-line stuff, I will supply it.
> >
> > Late-breaking news, from another Google exercise, this time looking
> > for "updatedb" not "locate" or "slocate".
> >
> > "GNU findutils does have largefile support as of 4.1.5."
> >
> > Bah.
>
> Fedora 5 has mlocate, which is different from both but tries to be
> compatible. It is written by Miloslav Trmac of Redhat. It doesn't seem
> to have any file size issues.
>
1) I don't see why the combination "updatedb/slocate" should care
about file sizes, since it is only asked to create and search a list
of file names.
2) Unfortunately the slocate database /var/locate/slocate.db and the
mlocate database /var/lib/mlocate/mlocate.db are not compatible with
one another, so I can't tell easily whether the problem is in the
creation of the database or the searching.
3) I copied the two edge-case DVD images (just under 2GB, just over
2GB) to a FC6 system and ran /etc/cron.daily/mlocate.cron to produce a
new database. locate was able to find both files. So the problem has
indeed been solved in one or both of the two programs.
$ mlocate --version
bash: mlocate: command not found
$ locate --version
mlocate 0.15
4) I suppose it isn't worth the time and effort to "Use the Source",
but it would be sort of interesting to know why a program that deals
with file names should screw up because of file sizes..
carl
--
carl lowenstein marine physical lab u.c. san diego
[EMAIL PROTECTED]
--
[email protected]
http://www.kernel-panic.org/cgi-bin/mailman/listinfo/kplug-list