-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Joep Blom wrote:
> Hi, Eric,
> I have played somewhat with diskwait and I have some problems with it.
> First, diskwait=yes works in syslinux.cfg  but in leaf.cfg you need to 
> use KMCD_diskwait=yes.
> Furthermore, I had the idea that diskwait looked first at the original 
> disk and when it didn't find any packages than asked for the second disk 
> and if this was not sufficient it did it again until all packages were 
> loaded.
> I tested diskwait the following way:
> On the first disk I have the necessary files + root,lrp and libcrpto.lrp 
> as they are large. This disk is 1.34 MB. On the second disk I have the 
> rest which is 1.45 MB.
> diskwait in syslinux gave: "insert 2nd disk" immediately after starting 
> LINUXRC.
> I then tried diskwait in leaf.cfg but that didn't work. I then set 
> KMCD_diskwait in leaf before the LRP= line(s). That gave the same result 
> as diskwait in syslinux.cfg.
> Setting KMCD_diskwait after the LRP= line didn't do anything ( and was 
> skipped in the parsing of the leaf.cfg script).
> I therefore have a problem as I want to load all packages together. Of 
> course I can install packages later and copying them from another system 
> but I think that a solution to load Bering_uclib using multiple floppies 
> with packages would be very welcome.
> USB could be a solution but old systems (often used for firewalls) do 
> miss then.
> Hope you can help me out..  .

It's been a *LONG* time since I looked at the diskwait code, but IIRC,
the functionality you're describing is what it was setup to do (ie: load
the kernel and initial ramdisk (AKA: root.lrp) from the first floppy,
then load packages from the second disk).

I don't think anyone's implemented support for what you seem to want
(ie: load some packages off the first disk, then wait for a diskchange
and load more packages).

It ought to be fairly easy to implement, however, with a "fake" package
name that caused the init scripts to wait for you to swap disks.  You'd
have to manually insure proper package order in syslinux/leaf.cfg.  Make
sure you unmount (and re-mount) the floppy before asking the user to
swap it, however!

- --
Charles Steinkuehler
[EMAIL PROTECTED]
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.0 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFEjXthLywbqEHdNFwRAnByAJ4+6B/hd0fa9CZI6AnCFBO4OHukUQCg3Xfx
ceGe9R2u2SBzZpyn/TEbs2k=
=u3Qa
-----END PGP SIGNATURE-----


------------------------------------------------------------------------
leaf-user mailing list: [email protected]
https://lists.sourceforge.net/lists/listinfo/leaf-user
Support Request -- http://leaf-project.org/

Reply via email to