[SWLUG] using locate and update DB on additional disk

Neil Jones linlist2 at nwjones.demon.co.uk
Sun Apr 17 02:26:08 UTC 2005


On Sunday 17 April 2005 12:41, nat wrote:
> On 16 Apr 2005, at 23:37, Neil Jones wrote:
> > I have 3 hard disks on my system.
> > 1 is a windows disk
> > number 2 is my main linux disk
> > number 3 is an extra linux disk actally my original one.
> >
> > Updatdb and locate are only working on the first 2
> >
> > It doesn't find the contents of the third.
> >
> > I need to be able to seartch number 3.
> > How do I do it?
>
> Tried man updatedb?

Yes

>
> Maybe you could force the third disk into the locate db via
> --localpaths=/pathto/disk3 etc

I tried that  and then it only seemed to index the new disk.

However running an ordinary updatedb after seems to have both.



> You might also be able to add it via /etc/updatedb.conf
> (where it is on my debian boxes). I've made extra entries
> on ours to ignore NFS/Samba servers etc.
>
> nat,

My distro ( SUSE 9) doesn't seem to have that file.

-
--
Neil Jones- Neil at nwjones.demon.co.uk http://www.butterflyguy.com/




More information about the Swlug mailing list