Hans Ulrich Niedermann wrote:
<snip>
3. (lrcfg aka "config") Every time I have modified a config file of package XYZ in lrcfg, I have to a) run "/etc/init.d/XYZ restart" from another shell b) make the changes permanent doing this: - go up two levels in the menu - enter the "backup" menu - read through the list to find XYZ' number (different from XYZ' number in the "Packages configuration" menu)
NOTE: You can use the package name instead of the number. I haven't typed a package number in ages (they're too hard to locate when you've got a lot of packages loaded).
- type b to back up
- wait for some time
- manually compare two numbers without given units, where one shows Bytes (new file size) and the other Kilobytes
(free space)
- if enough space is available, I have to manually confirm
I'd like to have to menu entries in the "package configuration":
i) "restart service"
ii) "make changes permanent"
This should check for the amount of free space by itself.
Both are good ideas. Checking for free space is harder than you'd think, especially at the limits (when the backup media is almost full), as you have to compare available space with file size taking into account sector sizes that might be different between the /tmp ramdisk and the backup media. The lack of du amd some other tools on earlier versions of LRP/LEAF when the backup scripts were written also contributes to the current behavior.
4. (lrcfg, buildtool, ???) Every time I have an updated package and install it, I have to manually save my config files and somehow merge them into the new package. Keeping the config, or having diff/edit, or even 3-way merge would be very nice.
Try using partial backups, which backup just the configuration files. As long as you don't update to a new version with incompatable config files, you should be OK. I upgrade my systems by just inserting a new CD (with updated packages) and rebooting...the configuration data is all on a floppy (as partial backups) and is seamlessly used by the newly updated package(s) from the CD.
-- Charles Steinkuehler [EMAIL PROTECTED]
------------------------------------------------------- This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting Tool for open source databases. Create drag-&-drop reports. Save time by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc. Download a FREE copy at http://www.intelliview.com/go/osdn_nl
_______________________________________________ leaf-devel mailing list leaf-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/leaf-devel