Advertisement
If you have a new account but are having problems posting or verifying your account, please email us on hello@boards.ie for help. Thanks :)
Hello all! Please ensure that you are posting a new thread or question in the appropriate forum. The Feedback forum is overwhelmed with questions that are having to be moved elsewhere. If you need help to verify your account contact hello@boards.ie
Hi there,
There is an issue with role permissions that is being worked on at the moment.
If you are having trouble with access or permissions on regional forums please post here to get access: https://www.boards.ie/discussion/2058365403/you-do-not-have-permission-for-that#latest

locate command ignores other hard drives

  • 02-05-2011 10:33am
    #1
    Moderators, Arts Moderators Posts: 35,741 Mod ✭✭✭✭


    Pretty straightforward problem - the locate command only finds files on my primary hard drive, ignoring the two other ones where all my media files reside. Is there some way of forcing locate to index drives other than the one where / is mounted?


Comments

  • Registered Users, Registered Users 2 Posts: 1,931 ✭✭✭PrzemoF


    Make sure those 2 are mounted and run "updatedb"? ( http://linux.die.net/man/1/locate )


  • Moderators, Arts Moderators Posts: 35,741 Mod ✭✭✭✭pickarooney


    They're all automounted and ext3. I'll check updatedb.conf.


  • Moderators, Arts Moderators Posts: 35,741 Mod ✭✭✭✭pickarooney


    Problem solved, thanks.

    /media was in the PRUNEPATHS list. It might not be such a good idea that I have my drives mounted there come to think of it as now any USB sticks or CDs will be included in the locate db. I can always explicitly exclude /media/disk etc. if needs be.


Advertisement