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

 
 

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

Submitter:  James Youngman <jay>
Submitted:  Mon 24 Mar 2008 06:30:36 PM UTC
   
 
Category:  updatedb Severity:  3 - Normal
Priority:  5 - Normal Item Group:  Wrong result
Status:  None Privacy:  Public
Assigned to:  jay Originator Name:  Karl Berry
Open/Closed:  Open Release:  None
Fixed Release:  None
* Mandatory Fields

Post a Comment

Add a New Comment Rich Markup
   

Discussion

Sun 11 Apr 2010 11:58:26 AM UTC, 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>
Group administrator
Mon 24 Mar 2008 06:30:36 PM UTC, original submission:  


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

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

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

   # : A6
   $find $SEARCHPATHS $FINDOPTIONS
   \( $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>
Group administrator

 

Attached Files

This item currently has no attached files.

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

Attach Files:
   
   
Comment:
   

 

Dependencies

This item does not depend on any other items.

No items depend on this one.

 

Mail Notification Carbon-Copy List

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

    Votes

    There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

    Only logged-in users can vote.

     

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

    History

    Follow 2 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2024-05-26 jay StatusPostponed None
    2010-04-11 jay StatusNone Postponed

    Back to the top

    Powered by Savane 3.16-a7ba.
    Corresponding source code