A while back I spent 2 days that turned into 2 weeks building compression support into the EROS disk bootstrap code. It was becoming clear that the install floppy would need to hold a lot of initially empty pages, and in the EROS model space for these actually has to be out there on the disk somewhere.
The (still incomplete) networking code finally pushed me over the edge. A normal PC floppy holds 2880 sectors. I've just booted a 3112 sector volume into an in-memory ramdisk.
This volume contains a kernel, the bootstrap code, and 248 object frames (each one page) on disk, populated as follows:
Content Occupies ------- --------- 233 initially allocated nodes 34 frames 53 initially allocated non-zero pages 53 frames 21 initially allocated zero pages 21 frames balance (initially unallocated frames) 140 frames
Before I increased the volume size, it held 40 unallocated frames, which was insufficient.
shap