PDA

View Full Version : updateb, locate and ntfs-3g ntfs-config problem



bookman
8th January 2010, 11:09 PM
Hi I am using Fedora 12, and have begun using locate command and updateb. My HD is half WinXP and half Fedora12. I use ntfs-3g ntfs-config, and so can read-write ntfs from the Fedora side. I was trying to find some mp3s I have on the NTFS side with locate, and it did not pick up anything. I ran updateb just before the search so things should be indexed ok. Is it just that locate does not work on ntfs side, even with ntfs-3g ntfs-config installed? Thanks,

Bookman

leigh123linux
8th January 2010, 11:18 PM
Where is the mount point ? , updatedb ignores /media

Look at /etc/updatedb.conf


[root@localhost leigh]# cat /etc/updatedb.conf
PRUNE_BIND_MOUNTS = "yes"
PRUNEFS = "auto afs gfs gfs2 iso9660 sfs udf"
PRUNENAMES = ".git .hg .svn"
PRUNEPATHS = "/afs /media /net /sfs /tmp /udev /var/cache/ccache /var/spool/cups /var/spool/squid /var/tmp"
[root@localhost leigh]#

bookman
9th January 2010, 01:10 AM
Hi yes you are right, the mount pt. is /media.

PRUNE_BIND_MOUNTS = "yes"
PRUNEFS = "auto afs gfs gfs2 iso9660 sfs udf"
PRUNENAMES = ".git .hg .svn"
PRUNEPATHS = "/afs /media /net /sfs /tmp /udev /var/cache/ccache /var/spool/cups /var/spool/squid /var/tmp"

Thanks,

Bookman