public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
From: Stroller <stroller@stellar.eclipse.co.uk>
To: gentoo-user@lists.gentoo.org
Subject: Re: [gentoo-user] Weird slocate behaviour - file ignored?
Date: Fri, 7 Aug 2009 04:25:28 +0100	[thread overview]
Message-ID: <617BA82A-0E5E-4489-A4E5-1475B9CC258E@stellar.eclipse.co.uk> (raw)
In-Reply-To: <6AF8CEA7-7B7D-4B6A-818F-7DD7410013D3@stellar.eclipse.co.uk>


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.




  parent reply	other threads:[~2009-08-07  3:25 UTC|newest]

Thread overview: 16+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-03-07 12:42 [gentoo-user] Weird slocate behaviour - file ignored? Stroller
2009-03-07 17:34 ` Paul Hartman
2009-03-07 19:28   ` Stroller
2009-08-07  3:25 ` Stroller [this message]
2009-08-07  8:04   ` Alan McKinnon
2009-08-07 13:33     ` Stroller
2009-08-07 19:17       ` pk
2009-08-07  9:31   ` pk
2009-08-07 10:17     ` Alan McKinnon
2009-08-07 11:01       ` pk
2009-08-07 11:42         ` Volker Armin Hemmann
2009-08-07 11:47           ` pk
2009-08-07 11:48     ` Alex Schuster
2009-08-07 15:19   ` Paul Hartman
2009-08-07 15:21     ` Paul Hartman
2009-08-07  9:48 ` Volker Armin Hemmann

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=617BA82A-0E5E-4489-A4E5-1475B9CC258E@stellar.eclipse.co.uk \
    --to=stroller@stellar.eclipse.co.uk \
    --cc=gentoo-user@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox