The Following 2 Users Say Thank You to jaysire For This Useful Post: | ||
![]() |
2010-01-13
, 07:02
|
Posts: 162 |
Thanked: 25 times |
Joined on Dec 2009
|
#32
|
![]() |
2010-01-13
, 07:33
|
|
Posts: 3,159 |
Thanked: 2,023 times |
Joined on Feb 2008
@ Finland
|
#33
|
I see people here talking about 'optifying', which I suppose to mean 'moving apps to /opt', thereby freeing space on the rootfs.
But how do I do that safely, and how do I know which apps can be optified?
Paai
![]() |
2010-01-13
, 07:44
|
|
Posts: 3,159 |
Thanked: 2,023 times |
Joined on Feb 2008
@ Finland
|
#34
|
![]() |
2010-01-13
, 08:20
|
|
Posts: 2,173 |
Thanked: 2,678 times |
Joined on Oct 2009
@ Cornwall, UK
|
#35
|
I see people here talking about 'optifying', which I suppose to mean 'moving apps to /opt', thereby freeing space on the rootfs.
But how do I do that safely, and how do I know which apps can be optified?
Paai
![]() |
2010-01-13
, 08:29
|
|
Posts: 290 |
Thanked: 165 times |
Joined on Sep 2009
|
#36
|
![]() |
2010-01-13
, 09:03
|
|
Posts: 276 |
Thanked: 224 times |
Joined on Dec 2009
@ Frankfurt, Germany
|
#37
|
![]() |
2010-01-13
, 09:05
|
|
Posts: 2,173 |
Thanked: 2,678 times |
Joined on Oct 2009
@ Cornwall, UK
|
#38
|
No RevdKathy, you are wrong again! There is a mentioned before script, to do the optifying after installation. It takes a bit of time, it moves the files from /usr to /opt on the mmc and symlink them them. It is the same procedure...
![]() |
2010-01-13
, 09:10
|
|
Posts: 276 |
Thanked: 224 times |
Joined on Dec 2009
@ Frankfurt, Germany
|
#39
|
![]() |
2010-01-13
, 09:12
|
|
Posts: 1,111 |
Thanked: 1,985 times |
Joined on Aug 2009
@ Åbo, Finland
|
#40
|
![]() |
Tags |
fremantle, maemo, maemo 5, n900, opt, optification, optify, root space, rootfs |
|
But I'd like to address the matter of symlinking stuff in /usr from the (slower) ext3-partition that is mounted in /home. I would probably not just move everything, since most of the stuff doesn't take that much space.
There are some apps that take up a lot of space though, one of them being nokia-maps (maemo maps, I presume) in /usr/share/nokia-maps, which takes up about 10 megabytes. I could easily see myself symlinking from /home/share/nokia-maps, because if we only have 227.9 megabytes of "fast" memory, it stands to reason that MOST applications won't be on the fast memory partition and I haven't seen them taking any huge performance hit yet.
I guess Nokia elected to put their maemo maps on the rootfs to gain some (small?) performance increase, since it's quite sluggish as it is out of the box.
I found the command
du -d 2 /var /usr /lib | sort -n
to be quite effective when it comes to check which directories take up a lot of space. It sorts 2 levels of directories in /var /usr and /lib in ascending order according to disk space usage (in kilobytes).
/usr/share/nokia-maps and /usr/share/locale take about 10 megabytes each and /usr/lib/locale/ has a single file "locale-archive" that takes up about 16 megabytes and I don't even know what it does.
I'm not saying you should remove this stuff or even move it behind a symlink. I'm just saying it's good to know what takes up space on your device so you can do something about it if the need rises. If in doubt, research (google) it
http://linux.derkeiler.com/Mailing-L...5-08/1529.html
Read about my N900 experiences from my blog.