Read only filesystem size issues.

Adi Linden [email protected]
Tue, 12 Dec 2000 19:29:43 -0600 (CST)


Hi Dean,

I am just looking at bugfixes for PeeWeeLinux.

> > > 1) When calculating the size of the / filesystem, the /home and /root
> > > directories are included. These directories are then separated out and
> > > placed in the second partition. The size of the /home and /root
> > > directories are not subtracted from the / filesystem. This overestimates
> > > the size of the / filesystem by the size of the /home and /root
> > > directories.

I looked at the pwl_target_load script. The filesystem size calculated is
compared to the total device space available. Since both /root and /home
are placed on the target device both need to be considered when
calculating if the extracted system will fit onto the target device.

I did however miss to deduct the sizes of /etc, /var and /dev from the
root partition. Those three directories are placed in a ramdisk and the
size of the compressed ramdisk is already taken into consideration when
calculating the root filesystem sizes.

TTYL,
Adi

---------------------------------------------------
See the list archives at http://adis.on.ca/archives/
See the PWL homepage at  http://peeweelinux.com
---------------------------------------------------