freeman groups wrote:
I have a CD-ROM & f/d partial-backup setup happening. I was finding that no matter the changes made to a config file and saving it ('partially') to the floppy, when I rebooted I was met with the 'original' cd-rom-stored settings.
My relevant leaf.cfg lines: PKGPATH="/dev/cdrom:iso9660,/dev/fd0u1440:msdos"
<snip>
I was able to work around this by merely reversing the order of the media on the PKGPATH line so no major hardship, but my observation seem to be in conflict with the documented (expected) behaviour.
Might someone else be able to confirm that this is not happening to 'just me'? Alternatively I could do more testing if someone would like to tell me a preferred setup - I have 2 f/d, a h/d and a cd-rom on my test box so I can make an efficient (quick reboots) testbed.
Can you let us know where you found the conflicting documentation?
As the person who actually wrote the partial backup scripts in the first place, the problem sounds like it's with the documentation. In the PKGPATH list, the "most authoritative" source (ie: loaded last) is *FIRST* in the PKGPATH list, with the "least authoritative" (ie: loaded first and possibly overwritten) source is listed last, which matches the behavior you're seeing (ie: by default PKGPATH entries are read from right to left), and the documentation I provided:
http://lrp2.steinkuehler.net/files/diskimages/dachstein-CD/README.txt
<quoute> package[:searchorder][,package[:searchorder]]
package is an LRP package file (without the .lrp extension)
searchorder controls the pakckage load behavior, and is one of:
f forward search, load multiple packages *DEFAULT*
F forward search, load first package found and stop
r reverse search, load multiple packages
R reverse search, load first package found and stop
A "forward search" starts with the PKGPATH entries (read right to
left) and looks at the boot= device last
A "reverse search" starts with the boot= device, and goes through
the PKGPATH entries (read left to right)
<quote>Note that the boot= device is no longer used, so the floppy disk needs to be added to the PKGPATH variable.
NOTE: Multiple package path entries is a little-used (especially prior to the deprication of the boot= entry in the kernel command line) and often mis-understood feature of the backup scripts, so I would not be suprised to find some incorrect documentation floating around.
-- Charles Steinkuehler [EMAIL PROTECTED]
------------------------------------------------------- This SF.Net email is sponsored by The 2004 JavaOne(SM) Conference Learn from the experts at JavaOne(SM), Sun's Worldwide Java Developer Conference, June 28 - July 1 at the Moscone Center in San Francisco, CA REGISTER AND SAVE! http://java.sun.com/javaone/sf Priority Code NWMGYKND ------------------------------------------------------------------------ leaf-user mailing list: [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/leaf-user SR FAQ: http://leaf-project.org/pub/doc/docmanager/docid_1891.html
