|
2011-11-21
, 13:01
|
Posts: 1,523 |
Thanked: 1,997 times |
Joined on Jul 2011
@ not your mom's FOSS basement
|
#2
|
|
2011-11-21
, 13:06
|
Posts: 1,680 |
Thanked: 3,685 times |
Joined on Jan 2011
|
#3
|
The Following User Says Thank You to vi_ For This Useful Post: | ||
|
2011-11-21
, 13:25
|
Posts: 1,523 |
Thanked: 1,997 times |
Joined on Jul 2011
@ not your mom's FOSS basement
|
#4
|
|
2011-11-21
, 13:27
|
|
Posts: 5,028 |
Thanked: 8,613 times |
Joined on Mar 2011
|
#5
|
|
2011-11-21
, 13:30
|
Posts: 1,680 |
Thanked: 3,685 times |
Joined on Jan 2011
|
#6
|
|
2011-11-21
, 13:31
|
|
Moderator |
Posts: 2,622 |
Thanked: 5,447 times |
Joined on Jan 2010
|
#7
|
The Following User Says Thank You to qwazix For This Useful Post: | ||
|
2011-11-21
, 13:38
|
Posts: 1,523 |
Thanked: 1,997 times |
Joined on Jul 2011
@ not your mom's FOSS basement
|
#8
|
The Following 3 Users Say Thank You to don_falcone For This Useful Post: | ||
|
2011-11-21
, 13:41
|
Posts: 1,680 |
Thanked: 3,685 times |
Joined on Jan 2011
|
#9
|
I have bookmarked this post some time ago
http://talk.maemo.org/showpost.php?p...&postcount=254
I think it's relevant
The Following User Says Thank You to vi_ For This Useful Post: | ||
|
2011-11-21
, 13:58
|
Posts: 1,523 |
Thanked: 1,997 times |
Joined on Jul 2011
@ not your mom's FOSS basement
|
#10
|
I think the speed difference between NAND and EMMC is minimal.
I see two ways of freeing up root space.
1. Deleting unused locals, can free up ~20-25MB.
2. Symlinking stuff that you definitely will not be needing for bootup.
I thought about copying everything from '/usr' to '/opt/maemo/usr' and mounting '/usr' as 'opt/maemo'usr' by editing /usr/lib/genfstab.awk (/etc/fstab/)
...but:
Because '/usr' already contains links to /opt/*, i f*cked up and now /opt/maemo/usr contains unresolved symbolic links of files that now point to themself... of course those files are gone.
I know that
-p (preserve)
-R or -r (recursive)
were necessary options, but maybe i should have used also this?
-L (dereference)
Currently running a 'find /usr -type l -exec ls -l {} \; > /home/user/symlinks.txt' to try to resolve this without reflashing, only reinstalling some packages if doable.
EDIT:
Why is the system generally in such a messy state without my doings?
Alone within /usr/lib, there are at least those directories targeted by files using symlinks:
/opt/maemo/usr/lib (f.e. libavcodec etc.)
/opt//lib (f.e the Qt stuff)
/opt/usr/lib (f.e. libcups)
Why? Isn't there an agreed standard? This makes it almost impossible to choose /usr/lib as a target for relocation, and i will have to rely on sym-linking single files or directories only from /usr/bin /usr/lib /usr/share as before, which is what i wanted to avoid (creating even more of a mess).
Last edited by don_falcone; 2011-11-21 at 10:16.