| The Following User Says Thank You to Andy1210 For This Useful Post: | ||
|
|
2010-04-23
, 14:42
|
|
|
Posts: 405 |
Thanked: 960 times |
Joined on Dec 2009
@ London, UK
|
#2
|
|
|
2010-04-23
, 15:00
|
|
Posts: 3,428 |
Thanked: 2,856 times |
Joined on Jul 2008
|
#3
|
Oh good, now everything will be slower, as you've moved a significant percentage of all the system files onto the slow flash from the fast flash. Great.
But at least now I've got room to install badly-packaged software! Hurrah!
I think I'll pass.
|
|
2010-04-23
, 15:09
|
|
Posts: 5,795 |
Thanked: 3,151 times |
Joined on Feb 2007
@ Agoura Hills Calif
|
#4
|
| The Following User Says Thank You to geneven For This Useful Post: | ||
|
|
2010-04-23
, 15:12
|
|
|
Posts: 2,473 |
Thanked: 12,265 times |
Joined on Oct 2009
@ Jerusalem, PS/IL
|
#5
|
Oh good, now everything will be slower, as you've moved a significant percentage of all the system files onto the slow flash from the fast flash. Great.
But at least now I've got room to install badly-packaged software! Hurrah!
I think I'll pass.
My space on rootfs after run scripts:
symlink.sh:
#!/bin/bash if [ "$(id -u)" != "0" ]; then echo "Run as root!" echo "Use \"sudo gainroot\" command!" exit 1 fi mkdir -p /home/root/usr/share cd /usr/ for FILE in games include local src var do mv $FILE /home/root/usr/ ln -s /home/root/usr/$FILE /usr/ done mkdir -p /home/root/var/cache cd /var/cache/ for FILE in apt do mv $FILE /home/root/var/cache/ ln -s /home/root/var/cache/$FILE /var/cache/ done cd /usr/share/ for FILE in fonts icons locale mime nokia-maps pixmaps sounds tutorial-applet zoneinfo do mv $FILE /home/root/usr/share/ ln -s /home/root/usr/share/$FILE /usr/share/ done mkdir /home/root/usr/share/games ln -s /home/root/usr/share/games#!/bin/bash # Created by Andy1210 - 2010. 04. 23. if [ "$(id -u)" != "0" ]; then echo "Run as root!" echo "Use \"sudo gainroot\" command!" exit 1 fi mkdir -p /home/root/usr/share cd /usr/share/themes ls -1 | sed 's/default//' | sed -e '/^ *$/d' > /root/themelist.txt for THEMES in `cat /root/themelist.txt`; do if [ -f /usr/share/themes/$THEMES/index.theme ]; then echo "" > /root/themelist2.txt echo $THEMES >> /root/themelist2.txt fi done [ ! -d /home/root/usr/share/themes ] && mv /usr/share/themes /home/root/usr/share/themes [ ! -d /usr/share/themes ] && ln -s /home/root/usr/share/themes /usr/share/themes echo "Chose Default theme from this list!" cat /root/themelist2.txt echo echo "* alpha = Nokia Nseries (blue)" echo "* beta = Digital Nature (orange)" echo rm /root/themelist.txt rm /root/themelist2.txt echo -n " Chose: " read SELECTED if [ -d /usr/share/themes/$SELECTED ];then rm /usr/share/themes/default sleep 1 ln -s /usr/share/themes/$SELECTED /usr/share/themes/default echo "New Default theme is: $SELECTED" else echo "Selected theme is not found, please chose from the list!" fiNokia N950 - PR1.3
OpenSUSE 12.2 / Windows 8
Last edited by Andy1210; 2010-04-23 at 14:02.