How do you get autofs and updatedb to work together?
- by Veek.M
/etc/my.misc
sda1 -fstype=ntfs,user,exec :/dev/sda1
sda3 -fstype=ntfs,user,exec :/dev/sda3
sda4 -fstype=ntfs,user,exec :/dev/sda4
/etc/auto.master
/my /etc/my.misc --ghost
When I run locate .pdf, I get nothing because though the mount points (sda1, sda2, ..) are created in /my - there's nothing in them till I access them. Unfortunately this is not good enough for updatedb and it purges its cache of /my/sdaX files. How do I prevent/solve this problem?