On Monday 01 Oct 2012 17:19:40 Thomas Bächler wrote:
Am 01.10.2012 15:50, schrieb Paul Gideon Dann:
Makes sense. I would certainly think twice for something as complex as a full interactive desktop setup. I hold by NFS for this cluster, though. If you don't run a desktop, then you may be fine.
I really like your sync-on-boot solution. I'd like to store this information away for future use. How did you implement it? Something in an initrd hook? sysupgrade install hook (run without autodetect):
[...]
sysupgrade run hook:
[...]
my sync_include_file looks like this:
[...]
# Site-specific config files [...]
Note that this syncs the whole content of /var/lib/{pacman,texmf}, but otherwise only recreates the directory structure of /var and does not sync any files.
Also note that you must load the kernel and initramfs from the network when running sysupgrade, so you can boot directly into the updated system when finished without a further reboot.
Thanks. I'm not sure what sysupgrade you're referring to? Sysupgrade seems to be a BSD thing. It seems like this stuff needs to happen in the initrd, but I'm a little confused that you haven't mentioned it. What is it that runs these hooks? Cheers, Paul