How to run cron scripts (310.locate) in chrooted env.

Erik Norgaard norgaard at
Tue Feb 9 12:55:54 UTC 2010


I have a setup with diskless clients mounting /var/diskless/FreeBSD 
read-only as root file system.

How do I configure cron/locate.rc to run on the server such that the 
locate database is relative to the root for the diskless systems?

I could do a chroot and run it within this environment, at least it 
would work manually.

Thanks, Erik
Erik Nørgaard
Ph: +34.666334818/+34.915211157        

More information about the freebsd-questions mailing list