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

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


Hi:

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                  http://www.locolomo.org


More information about the freebsd-questions mailing list