maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Applications (https://talk.maemo.org/forumdisplay.php?f=41)
-   -   a quick and easy way to free more space on rootfs (https://talk.maemo.org/showthread.php?t=43825)

jakiman 2010-02-09 07:18

Re: a quick and easy way to free more space on rootfs
 
Quote:

Originally Posted by pycage (Post 517301)
I can imagine a lot of N900s will be getting bricked by PR 1.2 because of hacks like this.
Making root filesystem modifications circumventing the package database is generally a very bad idea.

I can only imagine that new firmware will overwrite the symlinks with real directories again.
(Which makes some folders in the /home/root/ useless..)

Well, I'll uninstall some apps, revert the symlinks I've done here, then update to PR1.2 when it comes out. :D

ossipena 2010-02-09 07:21

Re: a quick and easy way to free more space on rootfs
 
what for do you need the extra 40mb of rootfs? isn't 60mb enough? if not, why?

berty 2010-02-09 07:28

Re: a quick and easy way to free more space on rootfs
 
Looks good, but don't want to risk it. I don't want to start messing about flashing my device etc.

roamerjiang 2010-02-09 15:01

Re: a quick and easy way to free more space on rootfs
 
Quote:

Originally Posted by ossipena (Post 517308)
what for do you need the extra 40mb of rootfs? isn't 60mb enough? if not, why?

When I found this method, i just wanted to try it since more free space is always better than less. To be honest, i didn't imagine it could free that much space just by doing this :D. It works fine for me with both previous firewire version and current 51.1. Hope those commands can be helpful to those who really need more rootfs :).

roamerjiang 2010-02-09 15:13

Re: a quick and easy way to free more space on rootfs
 
Quote:

Originally Posted by buxz777 (Post 517086)
this is a good tip

has this been added to wiki rootfs info :-) maybe it could be added with an explanation of what it does and if there are any risks

is this safe for neewbies to use , after doing this can you use the device as normal still :-) thanks

I think this should be ok to newbies, since I'm also a newbie :). After doing this, my device works quite normal and i haven't noticed anything wrong yet. BUT, just do it one time, no matter how much space you free, do not do it again except you want to reflash your n900 :).

titan 2010-02-09 17:49

Re: a quick and easy way to free more space on rootfs
 
you could also use the section "# move root stuff to /home" of my script on
http://wiki.maemo.org/User:Tanner#Re...ng_.26_Restore
it detects if some directory was already moved.

hawaii 2010-02-09 21:15

Re: a quick and easy way to free more space on rootfs
 
PR1.2 update should over-write the symlinks with REAL directories and files, I don't forsee a "break" happening unless the for some idiotic reason, the symlinks are followed instead of a force creation in parent directories.

titan 2010-02-09 21:22

Re: a quick and easy way to free more space on rootfs
 
Quote:

Originally Posted by hawaii (Post 518333)
PR1.2 update should over-write the symlinks with REAL directories and files, I don't forsee a "break" happening unless the for some idiotic reason, the symlinks are followed instead of a force creation in parent directories.

why should it overwrite and why would keeping the symlinks be stupid?
If you perform an over-the-air upgrade, dpkg will keep the symlinks as it already
does for the /opt symlink.

deadmalc 2010-02-09 21:29

Re: a quick and easy way to free more space on rootfs
 
sorry, I don't really see the point in this thread.
/opt is a little pain, but that's it.

rm -rf / ? anyone ;-)


All times are GMT. The time now is 09:55.

vBulletin® Version 3.8.8