bugfindutils - Bugs: bug #22715, find command for NETPATHS in...


bug #22715: find command for NETPATHS in updatedb is inconsistent with that for SEARCHPATHS

Submitted by:  James Youngman <jay>
Submitted on:  Mon Mar 24 18:30:36 2008  
Category: updatedbSeverity: 3 - Normal
Item Group: Wrong resultStatus: Postponed
Privacy: PublicAssigned to: James Youngman <jay>
Originator Name: Karl BerryOpen/Closed: Open
Release: NoneFixed Release: None

Add a New Comment (Rich MarkupRich Markup):

You are not logged in

Please log in, so followups can be emailed to you.


Sun Apr 11 11:58:26 2010, comment #1:

updatedb would probably be best rewritten. I'm going to mark the updatedb-related bus as "Postponed" in order to consider them all in a batch, when I get around to the rewrite.

(Leslie P. Polzer did start on a rewrite some time back as part of the Summer of Code but there are some updatedb-related issues his changes don't resolve yet, I think)

James Youngman <jay>
Project AdministratorIn charge of this item.
Mon Mar 24 18:30:36 2008, original submission:

The find command for NETPATHS in updatedb is different than the others.
For example (line breaks changed for ease of comparison):

# : A8
\( -type d -regex "$PRUNEREGEX" -prune \)
-o $print_option || ...

The -prune is inside the parentheses. Compare with, say:

# : A6
\( $prunefs_exp -type d -regex "$PRUNEREGEX" \)
-prune -o $print_option || ...

I don't actually use NETPATHS, so I'm not sure if it actually makes a difference, I just saw it by inspection ...

James Youngman <jay>
Project AdministratorIn charge of this item.


(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach File(s):

No files currently attached


Depends on the following items: None found

Items that depend on this one: None found


Carbon-Copy List
  • -unavailable- added by jay (Submitted the item)

    Do you think this task is very important?
    If so, you can click here to add your encouragement to it.
    This task has 0 encouragements so far.

    Only logged-in users can vote.


    Please enter the title of George Orwell's famous dystopian book (it's a date):



    Follows 1 latest change.

    Date Changed By Updated Field Previous Value => Replaced By
    Sun Apr 11 11:58:26 2010jayStatusNone=>Postponed

    Back to the top

    Powered by Savane 3.1-cleanup1