public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
From: pk <peterk2@coolmail.se>
To: gentoo-user@lists.gentoo.org
Subject: Re: [gentoo-user] Weird slocate behaviour - file ignored?
Date: Fri, 07 Aug 2009 11:31:22 +0200	[thread overview]
Message-ID: <4A7BF46A.8090509@coolmail.se> (raw)
In-Reply-To: <617BA82A-0E5E-4489-A4E5-1475B9CC258E@stellar.eclipse.co.uk>

Stroller wrote:
> 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
> $

I get the same behaviour as you:
# updatedb -v | grep -i file.big
/home/pk/file.big
# locate file.big
#

Files below that ~4Gb shows up as normal...

I have nothing out of the ordinary in my updatedb.conf either:

# /etc/updatedb.conf: config file for slocate
# $Id: updatedb.conf,v 1.25 2008/12/02 20:09:15 vapier Exp $

# This file sets variables that are used by updatedb.
# For more info, see the updatedb(1) manpage.

# Filesystems that are pruned from updatedb database
PRUNEFS="afs auto autofs cifs devfs devpts eventpollfs futexfs gfs
hugetlbfs iso9660 mqueue ncpfs nfs NFS nfs4 nfsd nnpfs ocfs ocfs2 pipefs
proc ramfs rpc_pipefs selinuxfs sfs shfs smbfs sockfs spufs subfs
supermount sysfs tmpfs udf usbfs vperfctrfs"

# Paths which are pruned from updatedb database
PRUNEPATHS="/tmp /var/tmp /root/.ccache"

# nice value to run at: see -n in nice(1)
NICE="10"

# ionice class to run at: see -c in ionice(1)
IONICE_CLASS="2"

# ionice priority to run at: see -n in ionice(1)
IONICE_PRIORITY="7"

So why does it prune files with bigger size than about 4Gb? The only
thing I can think of is that my machine is 32bit... But why would
slocate use file size as a factor?

Best regards

Peter K



  parent reply	other threads:[~2009-08-07  9:31 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
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 [this message]
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=4A7BF46A.8090509@coolmail.se \
    --to=peterk2@coolmail.se \
    --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