Gentoo Archives: gentoo-user

From: Stroller <stroller@××××××××××××××××××.uk>
To: gentoo-user@l.g.o
Subject: [gentoo-user] Weird slocate behaviour - file ignored?
Date: Sat, 07 Mar 2009 12:42:24
Message-Id: 6AF8CEA7-7B7D-4B6A-818F-7DD7410013D3@stellar.eclipse.co.uk
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.

Is there anyone who can possibly explain this, please? Am I  
overlooking some intentional slocate behaviour, or should I delete the  
slocate database file & see if rebuilding it makes a difference? That  
seems like a very Windows thing to do, but I guess it's possible the  
db is damaged.

Stroller.




$ locate -i KNOPPIX
/mnt/space/Archive/Linux/CDs/KNOPPIX_V5.1.1CD-2007-01-04-EN.iso
/var/cache/edb/dep/usr/portage/sys-apps/ddcxinfo-knoppix-0.6
/usr/portage/metadata/cache/sys-apps/ddcxinfo-knoppix-0.6
/usr/portage/sys-apps/ddcxinfo-knoppix
/usr/portage/sys-apps/ddcxinfo-knoppix/Manifest
/usr/portage/sys-apps/ddcxinfo-knoppix/ddcxinfo-knoppix-0.6.ebuild
/usr/portage/sys-apps/ddcxinfo-knoppix/ChangeLog
/usr/portage/sys-apps/ddcxinfo-knoppix/metadata.xml
$ locate KNOPPIX
/mnt/space/Archive/Linux/CDs/KNOPPIX_V5.1.1CD-2007-01-04-EN.iso
$ ls -l /mnt/space/Archive/Linux/CDs/KNOPPIX_V5.*
-rwxr--r-- 1 stroller users  730177536 Mar  8  2007 /mnt/space/Archive/ 
Linux/CDs/KNOPPIX_V5.1.1CD-2007-01-04-EN.iso
-rw-r--r-- 1 stroller users 4446816256 Oct 24 05:31 /mnt/space/Archive/ 
Linux/CDs/KNOPPIX_V5.3.1DVD-2008-03-26-EN.iso
$ sudo /usr/bin/updatedb -v | grep -i knoppix
/mnt/space/Archive/Linux/CDs/KNOPPIX_V5.1.1CD-2007-01-04-EN.iso
/mnt/space/Archive/Linux/CDs/KNOPPIX_V5.3.1DVD-2008-03-26-EN.iso
/var/cache/edb/dep/usr/portage/sys-apps/ddcxinfo-knoppix-0.6
/usr/portage/metadata/cache/sys-apps/ddcxinfo-knoppix-0.6
/usr/portage/sys-apps/ddcxinfo-knoppix
/usr/portage/sys-apps/ddcxinfo-knoppix/Manifest
/usr/portage/sys-apps/ddcxinfo-knoppix/ddcxinfo-knoppix-0.6.ebuild
/usr/portage/sys-apps/ddcxinfo-knoppix/ChangeLog
/usr/portage/sys-apps/ddcxinfo-knoppix/metadata.xml
$ locate KNOPPIX
/mnt/space/Archive/Linux/CDs/KNOPPIX_V5.1.1CD-2007-01-04-EN.iso
$

Replies

Subject Author
Re: [gentoo-user] Weird slocate behaviour - file ignored? Paul Hartman <paul.hartman+gentoo@×××××.com>
Re: [gentoo-user] Weird slocate behaviour - file ignored? Stroller <stroller@××××××××××××××××××.uk>
Re: [gentoo-user] Weird slocate behaviour - file ignored? Volker Armin Hemmann <volkerarmin@××××××××××.com>