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 ...

karl


Reply via email to