VectorLinux

Please login or register.

Login with username, password and session length
Advanced search  

News:

Visit our home page for VL info. For support and documentation, visit the Vector Linux Knowledge Center or search the Knowledge Center and this Forum using the search box above.

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

MarkGrieveson

  • Vectorian
  • ****
  • Posts: 531
updatedb in alternative hard drive
« on: November 03, 2012, 02: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).
Logged
I am using VL7.0 standard with XFCE

uelsk8s

  • Administrator
  • Vectorian
  • *****
  • Posts: 2504
Re: updatedb in alternative hard drive
« Reply #1 on: November 03, 2012, 03:29:12 pm »

/mnt and /media are normally part of the pruned folders in /etc/updatedb.conf
removing /media should fix it for you.

HTH,
Uelsk8s
Logged