On Sep 19, 2001 20:16 -0700, Andrew Morton wrote:> It turns out that if you specify filesystem type `auto' in
> /etc/fstab, updatedb (the thing which updates your `locate'
> database) ceases to work.
>
> Here's the contents of my /etc/updatedb.conf:
>
> PRUNEFS="devpts NFS nfs afs proc smbfs autofs auto iso9660"
> PRUNEPATHS="/tmp /usr/tmp /var/tmp /afs /net"
Probably "auto" is there to catch things like CDROM/DVD (iso9660/udf)
and floppy devices (ext2/msdos). All of the filesystem types are
generally remote/virtual filesystems that should not be indexed. I
don't know how you could work around this without serious surgery
to updatedb. You can't just "resolve" the auto type, because it
would then try to index ext2 floppy drives. Maybe you could force
it to continue if "auto" turned out to be ext3, but still not a
reliable solution (wouldn't work if you were running an old kernel,
but that sort of problem will go away with time).
Probably need to add udf in the PRUNEFS types...
Cheers, Andreas
--
Andreas Dilger \ "If a man ate a pound of pasta and a pound of antipasto,
\ would they cancel out, leaving him still hungry?"
http://www-mddsp.enel.ucalgary.ca/People/adilger/ -- Dogbert