Ask Your Question
1

Why is updatedb in Fedora 16 not indexing other mounted filesystems?

asked 2011-12-20 17:37:24 -0500

louisvd gravatar image

updated 2011-12-23 05:40:20 -0500

FranciscoD_ gravatar image

My /etc/updatedb.conf file in F14 and my /etc/fstab file in F14 are almost identical to my files in F16 (except for the obvious differences). Yet, where in F14 the drives mounted as /media/1TB_Drive and as /media/2TB-Drive were indexed by mlocate, now, in F16, they are ignored. And yes, I have removed /media from updatedb.conf and set the prunebindmounts to no.

[root@fedora etc]# cat /etc/fstab

#
# /etc/fstab
# Created by anaconda on Sun Nov 27 03:31:16 2011
#
# Accessible filesystems, by reference, are maintained under '/dev/disk'
# See man pages fstab(5), findfs(8), mount(8) and/or blkid(8) for more info
#
/dev/mapper/vg_fedora-lv_root /                       ext4    defaults        1 1
UUID=1e8cdab4-b915-4622-9107-4dd4b7a2d485 /boot                   ext4    defaults        1 2
/dev/mapper/vg_fedora-lv_swap swap                    swap    defaults        0 0
UUID=3ca845e0-5f32-40a0-bf08-e66c5d62c46f /media/2TB-Drive      ext4    defaults        1 2
/dev/sdc1   /media/1TB_Drive    ext4    rw,nosuid,nodev,relatime,seclabel,user_xattr,acl,barrier=1,data=ordered,uhelper=udisks  1   2
[root@fedora etc]# 
[root@fedora etc]# 
[root@fedora etc]# 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"
[root@fedora etc]#
edit retag flag offensive close merge delete

2 Answers

Sort by ยป oldest newest most voted
1

answered 2011-12-22 02:41:43 -0500

mether gravatar image

You might want to file a bug report.

edit flag offensive delete link more

Comments

Please file a bug report. This seems to indicate a change in the way updatedb functions and the maintainer will be in a position to answer your query.

FranciscoD_ gravatar imageFranciscoD_ ( 2011-12-23 05:39:22 -0500 )edit
0

answered 2012-07-28 06:00:16 -0500

fast_rizwaan gravatar image

make prunefs to " " blank;

PRUNEFS = ""
edit flag offensive delete link more

Question Tools

Stats

Asked: 2011-12-20 17:37:24 -0500

Seen: 1,113 times

Last updated: Jul 28 '12