updatedb is simply a link to slocate with -u option. slocate.cron reads updatedb.conf and then invokes updatedb Krish ------- --- akonstam@xxxxxxxxxxx wrote: > I am confused . If you want to exclude a directory > path from the > running of updatedb the -e option seems to be what > you want to use. > Where does slocate come in to it? > ======================================================================= > Good salesmen and good repairmen will never go > hungry. > -- R.E. Schenk > ------------------------------------------- > Aaron Konstam > Computer Science > Trinity University > One Trinity Place. > San Antonio, TX 78212-7200 > On Tue, Feb 08, 2005 at 11:16:47AM -0800, V Krish > wrote: > > I am using FC2 and have mounted an external drive > > thus: > > mount /dev/sda1 /mnt/usb > > > > How do I modify the /etc/updatedb.conf file if I > want > > to exclude the external drive from the daily > slocate > > search done by slocate.cron? Do I add /dev/sda1 to > > PRUNEFS or /mnt/usb to PRUNEPATHS? > > > > Thanks, > > Krish > > ------------- > I am confused . If you want to exclude a directory > path from the > running of updatedb the -e option seems to be what > you want to use. > Where does slocate come in to it? > ======================================================================= > Good salesmen and good repairmen will never go > hungry. > -- R.E. Schenk > ------------------------------------------- > Aaron Konstam > Computer Science > Trinity University > One Trinity Place. > San Antonio, TX 78212-7200 > > telephone: (210)-999-7484 > email:akonstam@xxxxxxxxxxx > > -- __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com