Please support VectorLinux!

Author Topic: updatedb in alternative hard drive  (Read 630 times)


  • Vectorian
  • ****
  • Posts: 531
updatedb in alternative hard drive
« on: November 03, 2012, 01:30:30 pm »
Hello.  I have two hard drives (a master and slave).  When I run updatedb, and then use "locate" to find files, it only searches the master hard drive.  Is there a way to have both drives covered by the updatedb command?  Currently the secondary hard drive is at /media/Extra, whereas the first is simply at / (the root).
I am using VL7.0 standard with XFCE


  • Administrator
  • Vectorian
  • *****
  • Posts: 2504
Re: updatedb in alternative hard drive
« Reply #1 on: November 03, 2012, 02:29:12 pm »
/mnt and /media are normally part of the pruned folders in /etc/updatedb.conf
removing /media should fix it for you.