Read only filesystem size issues.

Adi Linden [email protected]
Tue, 12 Dec 2000 18:59:06 -0600 (CST)


Hi Dean,

> 2) Partition sizes are calculated by using du -s -k command. This bases 
> file size on the cluster size of the development systems filesystem. In 
> my case this cluster size is 4K, while the cluster size of the flash 
> device is set to 1K. This also tends to overestimate the required size 
> of the flash device.

Yup, this is most certainly a problem! I was under the impression the -k
switch would calculate sizes assuming 1024 byte blocks. Not so...

Do you know of any alternative way to calculate filesizes?

TTYL,
Adi

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