Why updatedb doesn't traverse my external HD?




Please someone explain me the following ---

[root@Yoda ~]# updatedb
[root@Yoda ~]# locate teraipo
/dev/disk/by-label/teraipo
[root@Yoda ~]# ll /media/
total 4
drwxr-xr-x. 17 vmarko vmarko 4096 Nov 15 00:49 teraipo

In addition, nothing under /media/teraipo/ can be located using "locate". Not
a single file in the 1.5 TB archive, on an external ext4 hard drive:

[root@Yoda ~]# mount | grep teraipo
/dev/sdb1 on /media/teraipo type ext4
(rw,nosuid,nodev,relatime,seclabel,user_xattr,acl,barrier=1,data=ordered,uhelper=udisks)

Before anyone points out that updatedb doesn't traverse /media by default, let
me add that I already knew that and have removed /media from PRUNEPATHS:

[root@Yoda ~]# cat /etc/updatedb.conf
PRUNE_BIND_MOUNTS = "no"
PRUNEFS = "9p afs anon_inodefs auto autofs bdev binfmt_misc cgroup cifs coda
configfs cpuset debugfs devpts ecryptfs exofs fuse fuse.sshfs fusectl gfs gfs2
hugetlbfs inotifyfs iso9660 jffs2 lustre mqueue ncpfs nfs nfs4 nfsd pipefs proc
ramfs rootfs rpc_pipefs securityfs selinuxfs sfs sockfs sysfs tmpfs ubifs udf
usbfs"
PRUNENAMES = ".git .hg .svn"
PRUNEPATHS = "/afs /mnt /net /sfs /tmp /udev /var/cache/ccache /var/spool/cups
/var/spool/squid /var/tmp"

I have also configured bind mounts to be traversed, hoping that it might fix the
problem with /media. It didn't.

This configuration used to work on F14. Skipped F15, clean-installed F16, if it
matters.

I'm out of ideas. Anyone?

Best, :-)
Marko


--
users mailing list
users@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
Have a question? Ask away: http://ask.fedoraproject.org