VectorLinux
October 23, 2014, 01:56:51 am *
Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
News: Visit our home page for VL info. To search the old message board go to http://vectorlinux.com/forum1. The first VL forum is temporarily offline until we can find a host for it. Thanks for your patience.
 
Now powered by KnowledgeDex.
   Home   Help Search Login Register  
Please support VectorLinux!
Pages: [1]
  Print  
Author Topic: updatedb in alternative hard drive  (Read 522 times)
MarkGrieveson
Vectorian
****
Posts: 531


« 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).
Logged

I am using VL7.0 standard with XFCE
uelsk8s
Administrator
Vectorian
*****
Posts: 2504



« 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.

HTH,
Uelsk8s
Logged
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2013, Simple Machines Valid XHTML 1.0! Valid CSS!