tftpboot cleanup script: your input needed
Warren Togami <[email protected]>
| Newsgroups | gmane.linux.terminal-server.devel |
|---|---|
| Message-ID | <[email protected]> |
I'm writing a tftpboot cleanup script with the following logic: If it finds a vmlinuz-$NAME file, it looks for a matching /opt/ltsp/$arch/lib/modules/$NAME. If $NAME does not exist, then it was removed from the chroot, and there is no reason to keep the corresponding kernel in the tftpboot directory anymore. Removals from the tftpboot directory happen only by a strict pattern, so it is safe to whatever other content you have in that directory. For this reason I intend on adding this cleanup routine (after it is thoroughly tested to be safe) to the standard ltsp-update-kernels script. I need your distro's unique "patterns" of filenames that need to be cleaned up based upon $NAME. For example, here are Fedora's patterns. Please let me know your patterns only if they differ from this, so I can add it to the cleanup list. vmlinuz-$NAME config-$NAME System.map-$NAME initrd-$NME.img wraplinux-nbi-$NAME.img elf-$NAME.img Warren Togami [email protected] ------------------------------------------------------------------------- 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-developer mailing list. To un-subscribe, or change prefs, goto: https://lists.sourceforge.net/lists/listinfo/ltsp-developer For additional LTSP help, try #ltsp channel on irc.freenode.net