>Message: 1 >Date: Mon, 11 Feb 2002 23:06:06 -0600 >From: David Douthitt <[EMAIL PROTECTED]> >Subject: Re: [Leaf-devel] Standards and due process :-) >To: LEAF Development <[EMAIL PROTECTED]> >Reply-To: [EMAIL PROTECTED] > >On 2/11/02 at 11:31 PM, Serge Caron <[EMAIL PROTECTED]> wrote: > >> Here is a sequence of definitions that correspond to what >> we actually _do_: > >VERY useful!
Thank you. Michael and I enjoy this sort of stuff :-). [snip] >Translation: root.lrp or root.gz. [snip] >Translation: etc.lrp .... also, /sbin/init is configured by [snip] >Translation: root.gz or root.lrp ... In answer to a reporter question, Henry Ford said "You can have it in any color you want, as long as it's black." Boy, was he wrong on this one! If you ignore history, you are condemned to repeat it. Cinege associated a directory to a package for his needs. This association is _not_ cast in stone and is in fact harmful in some situations. You may think it is silly to put kernel and packages in ROM, for example. Charles, Lynn, Mike and the gang are working very hard to come up with a write-protect switch because there is a need for storage capacities larger than a floppy AND physical protection that CANNOT be tampered with over the wire. This is a simple situation and it is easy to understand that failure is not an option. By formulating the concept of a default store and that of an exclusion list, here is _what_I_do_today_ : I boot from a CD which gives me all the storage I need for the job at hand. I define my default store to be on the _floppy_. So far, so good? Then I have this code snippet as part of the boot sequence: for pkg in /var/lib/lrpkg/*.list; do sed -e "/^etc/d" -e "/^[/]etc/d" -e "/^[.][/]etc/d" \ ${pkg} > ${pkg}.light cmp -s ${pkg} ${pkg}.light if [ $? = 0 ]; then rm ${pkg}.light else echo ${pkg} mv ${pkg}.light ${pkg} fi done Yes! Every package list that claimed anything in /etc is rewritten! When I want to backup, I simply remove the write protect tab on the floppy. I can assure you that it takes a lot of config data to fill 1.6Mb of compressed space. Further, if the floppy is lost or if something BAD happens, the machine still boots from the CD: removing the floppy is akin to a master reset on the memory, not the software. The entire experience is almost identical to running from ROM. Sharing it will only improve the process. For example, the enclosure can CREATE on the fly an empty package if the default store is not specified. See the discussion.img floppy that is idling somewhere. I can do this today because the definitions for the default store and the implicit inclusion list stems from elementary set theory. Understanding these definitions allow Michael to package his persistent data in /var/ucd-snmp/snmpd.conf (which is a GOOD choice) and allows me to backup /etc and /var according to my needs. Neither of us is wright or wrong: we simply agree on a definition and we can go on about our business. [snip] >> ...The process fails because root.lrp is >> not a replacement for root.tgz and there is not enough >> space on the disk for both. > >This is something I need to work on yet. However, you can: > [snip] >...and this gives you root.lrp. Then just create a new RAM disk of >the right size, mkfs.minix it, and unarchive the root.lrp into it - >then compress it and save to disk... > I understand completely. The process of changing the way something is stored is usually referred to as a "conversion" and you will provide at a later date the conversion procedure for your RAM disk. Will you still be supporting the old LRP patches, eg, will Oxygen 1.9+ support both the old tar.gz RAM disk and the new gz only RAM disk? [snip] >> reflex was to inform Mike and I was saddened to learn that >> LEAF does not have an official package repository. > >My CDROMs are partially designed to put everything into one place, but >I keep thinking people will think _I_ packaged everything when I >didn't... > >I also put together a package extension to provide detailed >information about a package - with shell and luna scripts to read the >data and create web pages. > >Guess I should revisit that, then convert my packages to it. I am not certain I understand everything you wrote there, but I understand that you would be happy to include additional packages in your repository. I am correct? Regards, Serge Caron _______________________________________________ Leaf-devel mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/leaf-devel