Subject: Re: Netpliance Iopener booted with NetBSD...
To: None <firstname.lastname@example.org, email@example.com>
From: Simon Burge <firstname.lastname@example.org>
Date: 03/18/2000 10:44:00
Bill Studenmund wrote:
> [ discussion about a compressing filesystem layer ]
> Also, don't forget that most of the programs on the install media are
> cruched into one file. So that will give different access patterns than
> from a file system full of random files.
I wonder if the cheap-n-nasty trick I saw comp.sources.unix or somesuch
years ago where binaries were replaced with shell scripts that contained
compressed images of the real binary and were cached in /tmp or
somewhere might be useful in CF-type root disks. This would involve
having a reasonalby sized mfs /tmp to store the uncompressed binaries
(how much ram does a iopener have?), but would be a lot less work than
writing a new filesystem :-)
For a quick test on a -current i386:
wincen:/tmp/xx 53> du
wincen:/tmp/xx 54> gzip -r9 .
wincen:/tmp/xx 55> du
You'd probably write a stand-alone program to do the decompression,
etc instead of leaving a "normal" /bin/sh, gzip and a handful of other
commands that the orignal script used.
Well, that's it for my hair-brained pre-coffee early Saturday morning