> one question -- i grok the concept of the "filesystem going away" unless > it's backed up to floppy. > > what i don't grok so much is the concept of partial backups. the readme > file on the cd is confusing. > > what i'd LIKE to think is that anything i modify will be packaged up in > its own etc.lrp file on the floppy and untarred over the /etc generated > by the cd version of etc.lrp. however, the one thing i did manage to > gather from the readme file is that it's not quite this simple. > > can you tell me a little bit about how partial backups work?
Yes, unfortunately, it's not quite that simple...mainly becuase there's currently no real easy way to tell what files are "new" or "modified", and what files are part of the original package on the CD. There are several possible ways to solve this, but none are exactly easy, and all require work... Anyway, a bit about the way current backups work...all file-names are relative to /var/lib/lrpkg, and <package> indicates the package you want to backup (ie etc, modules, &c) Full backups: The <package>.list file is used to create a list of files to include in the backup...wildcards are expanded by the shell, so * ? [] and the like do what you'd expect. All other *.list files (including things like <package>.exclude.list, which is a *.list file) are used to create an exclude file list. Again, wildcards are expanded. If there are identical entries in both lists, the exclude list takes precedence. Partial backups: The <package>.list file is completely ignored. As in full backups, all other *.list files are used to create an exclude list. Finally, the <package>.local file is parsed, and used to add files to the (currently empty) include list, and also to the exclude list. The file-format is very similar to a standard *.list file, execpt each filespec is preceeded by an I (or i) or an X (or x, E, or e). I means add the filespec to the include list, while X means add the filespec to the exclude list. If there is no <package>.local file, any files in <package>.list that are in the /etc and /var/lib/lrpkg directory are added to the include list, while other files are ignored (this will safely backup configuration data for most packages, while excluding binary files)...a warning message is also printed, indicating the <package>.local file is missing. Charles Steinkuehler http://lrp.steinkuehler.net http://c0wz.steinkuehler.net (lrp.c0wz.com mirror) _______________________________________________ Leaf-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/leaf-user
