Your rootfs is mounted on / and in your df output is shown as having 227.9MB of total size. That's not 2GB. /opt is actually in /home and has the additional 2GB for packages from Extras and the remainder of the 32GB built-in MMC is on /home/user/MyDocs.
So it wasn't quite what you'd described earlier, but I can see why you'd perhaps describe it that way. The fact remains though, that the rootfs is quite small and we need 'care in the community' to ensure that it doesn't get filled up.
checking in terminal brings up 227 of total size. how can i manually install programs in the 2gb space? will this help with the out of memory errors? thanks guys and gals.
first post by the way but always read up here for clues and hints. also got my n900 almost a week ago and love it!
checking in terminal brings up 227 of total size. how can i manually install programs in the 2gb space? will this help with the out of memory errors? thanks guys and gals.
Any larger apps will install under /opt (which is a symlink to /home/opt), which provides 2GB so should be enough. It's only smaller apps (or those in the -devel or -testing repositories which haven't yet been optified) which will use up the root filesystem space.
There's also currently a bug when installing multiple applications where the downloaded data isn't properly deleted after installing (until after a reboot), which can lead to running out of free space temporarily. This should be fixed with the next firmware though.
There's also currently a bug when installing multiple applications where the downloaded data isn't properly deleted after installing (until after a reboot), which can lead to running out of free space temporarily. This should be fixed with the next firmware though.
So why the 2GB partition at /dev/mmcblk0p2 (/home)? Is this for the rest of the system that wouldnt fit in the rootfs? Basically, /home is stuff we shouldn't really touch, and /dev/mmcblk0p1 (/home/user/MyDocs) we can use?
This the opt (/home/opt) area where installed applications and data are supposed to me installed. The /home/user/MyDocs and memory card partitions are umounted in USB mass storage mode. Applications don't their library and files disappearing while they are running. Hence the reason for 2G /opt (aka /home/opt) partition. /opt is never un-mounted. So applications won't break in mysterious ways in USB mass storage mode.
/ is the root system partition where applications are loaded. This is a two Gigabyte partition.
/home/user/MyDocs is the area that is visable from the N900's GUI filemanager as "N900". This is the remainder of the internal 32GB chunk (about 27~ GB).
/media/mmc1 is the Micro SCHC card.
When you plug in the N900 in USB Mass storage mode, the host PC maps the /media/mmc1 and the /home/user/MyDocs partitions as separate readable drives.
If you want to move files from anywhere else onto your PC, first copy them to either the SDHC card, or to /home/user/MyDocs.
Hope this helps.
Is it possible to resize the root partition? I'm thinking maybe 2GB for apps & libs is a bit low, but I don't know how big a lot of the apps are.
Is it possible to resize the root partition? I'm thinking maybe 2GB for apps & libs is a bit low, but I don't know how big a lot of the apps are.
You can't resize the root partition as that's on a separate memory device. The 2GB for apps & libs (/opt -> /home/opt) is not on the root partition though, so could in principle be expanded.