Hi Paul,
>1: In case of a large upgrade (e.g. a new B-U is released), it would be
>nice if one could simply scp all the new packages over to the MSDOS
>filesystem, and then type "apkg -u -a" to have apkg check *EVERY*
>package currently loaded on the system.
>
In that case it's better to just scp all new packages to the MSDOS fs
and reboot. This has the same function as an 'apkg -u -a' but clears
possible old unused files, reboot all daemons and updates initrd.
>2: I'd like a command that simply gives me a list of all change or new
>files changed since boot. Maybe by default only show changed config
>files, and an option to show all changed or new files anywhere in the
>system (including /var/log /var/run, et al...).
>
Files in /var/log and /var/run are not taken into account, they are
never saved. You can scp them ofcourse.
But because no log or var files are in a package, the complete
contents of those directories is dynamically created so changed/new.
A simple 'ls -la' would give you a list of those.
A list of other changed files is difficult to create. For the config
system every file changed/added in comparison with the standard
packages is 'changed' including the files already saved. A 'complete'
backup is always done for a few reasons:
-it removes stale changed config files from no longer installed
packages.
-it's fast because the configdb is not big
-it's much simpler and robust
So it's possible to create such a list, it will not contain the
changed config files after reboot but all changed files compared to
the 'standard' config in the packages.
You can take a look at the files saved in the configd. Just mount
your MSDOS fs and do a 'apkg -c /mnt/configdb'.
>> - During backup the sha1sums of the files in memory are compared with the
>> saved *.sha1 sums, new files are detected and duplicates are filtered out.
>> For example: when one package has an etc/ppp directory in <package>.local
>> and
>> another one an etc/ppp/dsl-providers file listed, the dsl-provider file
>> would
>> be find twice and also stored twice in the configdb.
>
>3: Stored twice in the configdb? Isn't this a bug?
>
Nope, see the sentence above the example: "duplicates are filtered out.
"
>> Changed files are saved in "configdb".lrp with a "full" backup, this is
>> dynamic so installing (or removing) a package will also be taken into
>> account.
>
>What does a "non-full" backup do now? Or is that option gone?
>
That option is gone, the configdb is more or less a "non-full" backup.
With full backup in this context is meant: when you press save, the
configdb is recreated from scratch ("full"), removing old stale files.
>
>You guys have done a great job moving leaf foward. Thanks!
>
Thanks!
Eric
>-------------------------------------------------------------------------
>Using Tomcat but need to do more? Need to support web services, security?
>Get stuff done quickly with pre-integrated technology to make your job easier
>Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
>http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
>------------------------------------------------------------------------
>leaf-user mailing list: [email protected]
>https://lists.sourceforge.net/lists/listinfo/leaf-user
>Support Request -- http://leaf-project.org/
-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
------------------------------------------------------------------------
leaf-user mailing list: [email protected]
https://lists.sourceforge.net/lists/listinfo/leaf-user
Support Request -- http://leaf-project.org/