Rob Owens wrote: > Scott Balneaves wrote: >> Until then, if someone would like to try a "ln -s /opt/ltsp/i386/etc/lts.conf >> /etc/ltsp/lts.conf", and see if that brings the desired result, it might be a >> nice short-term stopgap. >> > I understand the dilemma. The problem to the sysadmin is that doing a > backup of /etc *should* backup all your config files, but it misses > lts.conf. In fact, now that I think about it, I don't have any backups > of my lts.conf file (I'd better fix that!). FHS has good reasons > specifying what type of files go where, but this one seems to not fit > well into the FHS way of doing things. Hmm... > Hey, what about a hard link of the configurable files in /var/lib/tftpboot to /etc/ltsp/lts.conf -- this way a backup of /etc would actually back up the files. (If it was a symlink, a normal backup of /etc would only save the symlink, which wouldn't do much good if the target file doesn't exist).
So here's my proposal: 1) Organize /var/lib/tftpboot in such a way that distribution files (like the kernels, etc) are in a separate directory from the configuration files (like lts.conf and possibly the pxelinux.cfg directory). For instance, put the config files in /var/lib/tftpboot/ltsp/config.ltsp/ 2) Hard link /var/lib/tftpboot/ltsp/config.ltsp/ to /etc/ltsp/config.ltsp/ OK, so here are the problems with my idea: a) Ubuntu 8.04 doesn't seem to want to allow me to create a hard link of a directory. b) Hard links apparently cannot cross filesystems. This means that if /var/lib/tftpboot is in a different partition than /etc, a hard link will be impossible. Any thoughts? -Rob ******************************************************** The information transmitted is intended only for the person or entity to which it is addressed and may contain confidential and/or privileged material. If you are not the addressee, any disclosure, reproduction, copying, distribution, or other dissemination or use of this transmission in error please notify the sender immediately and then delete this e-mail. E-mail transmission cannot be guaranteed to be secure or error free as information could be intercepted, corrupted lost, destroyed, arrive late or incomplete, or contain viruses. The sender therefore does not accept liability for any errors or omissions in the contents of this message which arise as a result of e-mail transmission. If verification is required please request a hard copy version. ******************************************************** ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _____________________________________________________________________ Ltsp-discuss mailing list. To un-subscribe, or change prefs, goto: https://lists.sourceforge.net/lists/listinfo/ltsp-discuss For additional LTSP help, try #ltsp channel on irc.freenode.net