*** empty log message ***
[findutils.git] / debian / README.debian
blob3412d375697d5041469a1ce66d6d5d46453cdd13
1 Some people wish to have updatedb only include mount points which are
2 automatically mounted by "mount -a", which mounts devices listed in
3 /etc/fstab. 
5 The following lines may be added to /etc/updatedb.conf to exclude
6 non-automatic mount points from updatedb.  Add before the
7 "export PRUNEPATHS" line in /etc/updatedb.conf. 
9 # mount points not to be scanned (regexp matching lines into /etc/fstab)
10 EXCLUDE_MOINT_POINTS=noauto
11 EXCLUDE_PATH=`awk "/^#/ {next}; /$EXCLUDE_MOINT_POINTS/ {print \\$2}" < /etc/fstab | tr '\012' ' '`
12 PRUNEPATHS="$PRUNEPATHS $EXCLUDE_PATH"
14 This suggestion is due to Eric Delaunay
15 <delaunay@lix.polytechnique.fr>