View Single Post
Posts: 236 | Thanked: 223 times | Joined on Oct 2009 @ NE UK
#5
Originally Posted by myk View Post
Is that something that can be fixed by copying e.g. /usr/lib into /home/opt and sym-linking from the original location?

Actually, isn't this the sort of reason why we have both /bin and /usr/bin - so you can have a small root device, and put the bulk in /usr on the big one. Is the main store too slow for /usr?
I think it's more to-do with what needs to be available during boot and at other times. I did read a highly informative discussion about the decisions surrounding /opt, but unfortunately didn't bookmark it.
The idea of /usr + symlinks certainly came up, but a different way was chosen for some reason.

I claimed back a fair bit of space from the rootfs as posted at: http://talk.maemo.org/showthread.php...137#post428137

Haven't had any noticeable problems with that so far. It''s not a well tested approach however.

I basically did things like:

mkdir -p /opt/reclaim/var/lib
cp -a /var/lib/dbpkg /opt/reclaim/var/lib/dpkg
mv /var/lib/dpkg /var/lib/dpkg_tmp && ln -s /opt/reclaim/var/lib/dpkg /var/lib/dpkg

< test a bit >

rm -rf /var/lib/dpkg_tmp
Originally Posted by myk View Post
" du -sxh / " says 341MB. Whats gone wrong there? rootfs compression of some sort?
Good question! I've no idea!

Originally Posted by myk View Post
edit: ok, I see that diffmo has installed into /home/opt/maemo/usr/bin/.
Maybe we need to install packages with "apt-get install --root=/opt/maemo ..." to avoid filling root?
Well, packages are supposed to put their bigger files under /opt, with symlinks if necessary - do a search on "optification", but not all packages do this (even some of the system packages, as can be seen in my post linked above!)

And yes, for being stuck in the 1980's there's a spectrum emulator if I want it
 

The Following 4 Users Say Thank You to kwotski For This Useful Post: