Skip to contentSkip to conversation

fstab

DISCUSSION Peter 2 participants 2 messages May 3, 2009 – May 5, 2009 Kernel automounter

lore
Share & tools
lore

Peter

author
#0 lore raw

I can't find any reference to a network share (nfs) can or can not be present in fstab. My problem is SLOCATE doesn't like Autofs and ignores my nfs share when I run updatedb. Using nfs in a "normal" fashion from fstab slocate works. Looks like Autofs ignore has been hardcoded because removing autofs from updatedb.conf makes no difference. I keep my file storage server down and bring it up when needed. Autofs works like a charm, nfs via fstab doesn't. If I put in a line in fstab noauto with the nfs share will KDE or AUTOFS have problems? I am on Gentoo. thanks
regards
peter

Signature · 1 line
Peter <Sheldon>
#1 lore raw
Quoted 3 lines

I can't find any reference to a network share (nfs) can or can
not be present in fstab. My problem is SLOCATE doesn't
like Autofs and ignores my nfs share when I run updatedb.

I found that when using AutoFS 5, setting DEFAULT_BROWSE_MODE to "yes" (it's the default, but perhaps your distribution tweaks it by default) in /etc/sysconfig/autofs can influence updatedb behavior.

Also, if you want updatedb to search down the AutoFS paths, make sure it is configured to allow NFS, CIFS and whatever other file systems you are mounting with AutoFS.

Regards,
Leonardo