Files
findutils/debian
1997-04-03 06:22:15 +00:00
..
1997-04-03 06:22:15 +00:00
1997-01-12 23:26:48 +00:00
1996-12-28 22:20:48 +00:00
1996-10-21 07:41:44 +00:00
1996-12-24 06:59:51 +00:00
1996-10-21 07:42:09 +00:00
1997-04-03 06:22:15 +00:00
1997-03-02 20:42:48 +00:00
1997-03-02 20:42:48 +00:00

Some people wish to have updatedb only include mount points which are
automatically mounted by "mount -a", which mounts devices listed in
/etc/fstab. 

The following lines may be added to /etc/updatedb.conf to exclude
non-automatic mount points from updatedb.  Add before the
"export PRUNEPATHS" line in /etc/updatedb.conf. 

# mount points not to be scanned (regexp matching lines into /etc/fstab)
EXCLUDE_MOINT_POINTS=noauto
EXCLUDE_PATH=`awk "/^#/ {next}; /$EXCLUDE_MOINT_POINTS/ {print \\$2}" < /etc/fstab | tr '\012' ' '`
PRUNEPATHS="$PRUNEPATHS $EXCLUDE_PATH"

This suggestion is due to Eric Delaunay
<delaunay@lix.polytechnique.fr>