However, I implemented code in Puppy4 for it to return, but in an improved manner. It now loads as a layer in the Unionfs layered filesystem at bootup, so is continuously present while Puppy is running.
As the Woof builds are bulging a bit, beyond 100MB, I decided to reintroduce the zdrv. What this does is take out all the modules and firmware to the 'zdrv' SFS file, and this is quite a lot, the zdrv SFS file for my 18.104.22.168 kernel is 18.3MB. The main SFS gets copied into RAM at bootup, and being smaller frees up some RAM for general use. On a 256MB system, 18.3MB is significant. The 'zdrv' SFS does not have to be copied to RAM, just mounted from where it is -- in the case of a CD, the normal behaviour is that it gets copied to the same place as the 'pupsave' file so gets mounted from there, so freeing-up the CD.
In Puppy4, if anyone examined the 'init' script, you would see that I had reserved /dev/loop3 for the 'zdrv'. Note however, now that I have actually done it, I found a couple of bugs, now fixed.
So, alpha4, due out Real Soon Now, will probably be built this way. Note, the 'zdrv' file is now named to fit in the 8+3 format and cram in as much information as possible. For example, in my latest build, it is named 'zu460274.sfs' -- the first letter identifies it as a zdrv, the second as an Ubuntu compatible-distro-build, the 460 is the version number, and the 274 is a reduction of the kernel version (from 22.214.171.124).
Comments:Posted on 15 Apr 2009, 24:07 by dogone
I understand your interest in keeping Puppy's memory footprint small. I am a bit concerned about users having to keep track of another puppy file. Is the hassle/risk ("zu460274.sfs" looks a lot like "za480274.sfs") worth the benefit? RAM is rarely a serious constraint, even in older "pup-patible" hardware.
Yes, "100MB" is enchanting. But I would rather give up a few MB of RAM than to have to worry about "that other file". Puppy's simplicity is something very precious.
Posted on 15 Apr 2009, 24:27 by Terryphi
Kernel 2.6.29 - upup
Are you not sticking with kernel 2.6.29 for upup?
I have been very happy with it.
Posted on 16 Apr 2009, 4:07 by GreatnessGuru
"RAM is rarely ..."
"RAM is rarely a serious constraint,
even in older "pup-patible" hardware."
In apparent, but fruitless,
Our Fearless Pack Leader saith:
"On a 256MB system,
18.3MB is significant."
On my "older" 64 MB Gateway 2000,
18.3MB is Four Times more
So, I say:
RAM is Always a serious constraint,
Especially in older "pup-patible" hardware.
Thanks so much, Barry,
for thinking of us "older"
Inwood IA USA
Posted on 16 Apr 2009, 4:49 by PaulBx1
Always did think zdrv was a good concept.
I hear the point about simplicity, but the advantages far outweigh this drawback. Windows refugees, with thousands of files on their hard drive, are not going to carp about a single additional file for puppy.
However I suggest a change to the filename to make things a bit more transparent for users:
"pupzu999.sfs", see explanation below:
"pup" to make it clear this is a puppy file, and will be seen in close proximity with the pupsave and pup_999.sfs in Rox et. al., making puppy file management simpler.
"z" meaning zdrv as you specify
"u" meaning ubuntu build as you specify
"999" being a number that starts at zero and increases for each zdrv released, whether for different puppy version, different kernel, or zdrv fix. There must be a document somewhere that makes the correspondence between zdrv number and these other things. This may sound like an additional bit of work, but it adds flexibility and anyway even your current filename specification requires explanation. Instead of explaining what "zu460274.sfs" means, why not just say "Go look at /root/zdrvinfo.txt, which explains everything"?
Posted on 16 Apr 2009, 8:38 by technosaurus
welcome back zdrv
I have been advocating for the return of the zdrv for many reasons... better ability to add driver modules, switch kernels, customize for specific platforms ... maybe even to customize the drivers in the zdrv at install/remaster (using lsmod and a bash script... or maybe even dump it to initrd.gz so that the zdrv search could be skipped via a boot parameter) I have been using the zdrv as a way to load the devx without a save file and to test sfs files that I have made (via pfix=ram) so I'll have to edit init to continue to be able to do this but definitely well worth the minor inconvenience