Hi guys,
i've been running gentoo on a mini2440, it's a arm powered development-board. Gentoo is running from a 2 GB Sd-Card.
First thing is the place on the sd-card.
After copying arm-stage3-autobuild and the latest portage-snapshot to the sd-card, "df" shows me 60% full, what means 1GB are gone. But when i check the folder size gentoo tells me all files are about 600MB only. Where are the other 400MB of the cd-card?
Next thing is a serious message when gentoo is booting it shows me the following error :

The portage snapshot can waste a lot of space as its a large number of very small files.
df shows the space allocated but the folder size shows the space used.

For example, a file may only hold 100 bytes but it is still allocated a whole disk block
Exactly what a disk block is is filesystem dependent but on FLASH, it will be 2k or 4k.
The space from byte 101 to the end of the block is wasted.

You do not need the whole snapshot and can prune branches you will not require.
Portage can manage your pruned tree for you too as it accepts an exclude list.
I don't know exactly how but I have seen it in the docs._________________Regards,

NeddySeagoon

Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail.

The portage snapshot can waste a lot of space as its a large number of very small files.
df shows the space allocated but the folder size shows the space used.

For example, a file may only hold 100 bytes but it is still allocated a whole disk block
Exactly what a disk block is is filesystem dependent but on FLASH, it will be 2k or 4k.
The space from byte 101 to the end of the block is wasted.

You do not need the whole snapshot and can prune branches you will not require.
Portage can manage your pruned tree for you too as it accepts an exclude list.
I don't know exactly how but I have seen it in the docs.

A better idea, if this is networked and you have another linux machine is to put just /usr/portage on another computer and run it nfs - that way you save space locally on distfiles as well._________________iVBORw0KGgoAAAANSUhEUgAAA

avatar: new version of logo - see topic 838248. Potentially still a WiP.