[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug #20310] updatedb generates an invalid database of (1) one filename
From: |
David Purdy |
Subject: |
[bug #20310] updatedb generates an invalid database of (1) one filename (=concatenation of all filenames on the fs) |
Date: |
Sun, 01 Jul 2007 14:21:35 +0000 |
User-agent: |
Mozilla/5.0 (Macintosh; U; PPC Mac OS X Mach-O; en-US; rv:1.8.1.4) Gecko/20070515 Firefox/2.0.0.4 |
URL:
<http://savannah.gnu.org/bugs/?20310>
Summary: updatedb generates an invalid database of (1) one
filename (=concatenation of all filenames on the fs)
Project: findutils
Submitted by: davy_gravy
Submitted on: Sunday 07/01/2007 at 14:21
Category: updatedb
Severity: 3 - Normal
Item Group: Wrong result
Status: None
Privacy: Public
Assigned to: None
Originator Name: David Purdy
Originator Email:
Open/Closed: Open
Discussion Lock: Any
Release: None
Fixed Release: None
_______________________________________________________
Details:
At first I thought '''locate''' was broken...
locate bob
spews a single, very long filename(=concatenation of all filenames present on
the scanned filesystem).
locate -S seems to show the problem:
locate -S
Database /var/locatedb is in the LOCATE02 format.
Locate database size: 2037547 bytes
Filenames: 1 with a cumulative length of 2037535 bytes
of which 1 contain whitespace,
1 contain newline characters,
and 1 contain characters with the high bit set.
Compression ratio -0.00%
I have noticed that, on the other hand, '''updatedb --old-format''' does
generate a valid database. Using '''locate''' after the old-format updatedb
does return valid results.
The compilation was done on in the OpenEmbedded/Bitbake environment, target
platform is a PPC603 NAS device.
I have tried 4.2.29 and 4.2.31 - both exhibit the same problem.
_______________________________________________________
Reply to this item at:
<http://savannah.gnu.org/bugs/?20310>
_______________________________________________
Message sent via/by Savannah
http://savannah.gnu.org/
- [bug #20310] updatedb generates an invalid database of (1) one filename (=concatenation of all filenames on the fs),
David Purdy <=
- [bug #20310] updatedb generates an invalid database of (1) one filename (=concatenation of all filenames on the fs), David Purdy, 2007/07/01
- [bug #20310] updatedb generates an invalid database of (1) one filename (=concatenation of all filenames on the fs), James Youngman, 2007/07/03
- [bug #20310] updatedb generates an invalid database of (1) one filename (=concatenation of all filenames on the fs), James Youngman, 2007/07/03
- [bug #20310] updatedb generates an invalid database of (1) one filename (=concatenation of all filenames on the fs), James Youngman, 2007/07/03
- [bug #20310] updatedb generates an invalid database of (1) one filename (=concatenation of all filenames on the fs), David Purdy, 2007/07/03
- [bug #20310] updatedb generates an invalid database of (1) one filename (=concatenation of all filenames on the fs), David Purdy, 2007/07/03
- [bug #20310] updatedb generates an invalid database of (1) one filename (=concatenation of all filenames on the fs), James Youngman, 2007/07/03