![]() |
2010-02-09
, 02:21
|
Posts: 172 |
Thanked: 170 times |
Joined on Jan 2010
@ Sweden
|
#2
|
![]() |
2010-02-09
, 02:27
|
Posts: 4,556 |
Thanked: 1,624 times |
Joined on Dec 2007
|
#3
|
The Following User Says Thank You to Laughing Man For This Useful Post: | ||
![]() |
2010-02-09
, 02:28
|
|
Posts: 5,478 |
Thanked: 5,222 times |
Joined on Jan 2006
@ St. Petersburg, FL
|
#4
|
Assuming that the 256MB partition really is in fast flash, it seems reasonable that the 768MB swap partition also is in fast flash. Out of curiosity: Does anyone know if there is an underlying 1GB fast flash partitioned into the root and swap partitions? If so, there might be other partitioning possibilities...
The Following 4 Users Say Thank You to GeneralAntilles For This Useful Post: | ||
![]() |
2010-02-09
, 02:29
|
Posts: 486 |
Thanked: 251 times |
Joined on Oct 2009
|
#5
|
As far as I know, the total set of mass storage available for the N900 is:
* 256MB Root partition
* 768MB Swap
* 2GB /home
* 32GB FAT32 USB storage
The Following User Says Thank You to j.s For This Useful Post: | ||
![]() |
2010-02-09
, 03:19
|
Posts: 172 |
Thanked: 170 times |
Joined on Jan 2010
@ Sweden
|
#6
|
The Following 3 Users Say Thank You to stefanmohl For This Useful Post: | ||
![]() |
2010-02-09
, 04:00
|
|
Posts: 5,478 |
Thanked: 5,222 times |
Joined on Jan 2006
@ St. Petersburg, FL
|
#7
|
Solution #1: Place root in the large flash and link critical files in the fast flash
![]() |
2010-02-09
, 04:06
|
Posts: 172 |
Thanked: 170 times |
Joined on Jan 2010
@ Sweden
|
#8
|
![]() |
2010-02-09
, 04:28
|
Posts: 3,664 |
Thanked: 1,530 times |
Joined on Sep 2009
@ Hamilton, New Zealand
|
#9
|
![]() |
2010-02-09
, 04:31
|
Posts: 172 |
Thanked: 170 times |
Joined on Jan 2010
@ Sweden
|
#10
|
The current solution is "optification". However, that solution is brittle since it requires active adaptation of all packages so that they are placed in /opt instead of in their usual locations. This means added burden on developers and makes packages slower to move into stable repositories.
As far as I know, the total set of mass storage available for the N900 is:
* 256MB Root partition (in a fast 256MB flash)
* 768MB Swap
* 2GB /home
* 27GB FAT32 USB storage
(Swap, /home and USB storage are all in a 32GB slow flash)
If I understood this correctly, the main reason for the small root partition is that it is in a faster flash than the home partition. To keep the device responsive, the speed sensitive stuff is placed in that flash, and other stuff is placed in /opt (/opt in turn is mounted in /home).
There are a few more constraints, in summary:
1) There is a fast 256MB flash and a slow 32GB flash
2) The device needs to be capable of getting to a guaranteed stable functioning state from a reflash
3) A reflash should not delete the user's document data (i.e. pics, music, etc) in the large flash storage
4) A reflash will always replace the entire contents of a flash memory.
Right now I am using a home grown solution, but it breaks each time the distro has an upgrade, forcing me to spend days rebuilding and moving everything again. And newbies end up having to reflash just because they tried out a few beta-level apps and filled the root partition to a point where booting fails. We need a better standard solution!
The brainstorm for this thread is here:
https://maemo.org/community/brainsto...n_in_the_n900/
There is a related Brainstorm about re-partitioning the 32GB internal flash here:
https://maemo.org/community/brainsto...nternal_flash/
though that doesn't solve the root directory problem.
There is also a previous discussion of the issue in the wiki:
http://wiki.maemo.org/Opt_Problem
Last edited by chemist; 2010-02-10 at 11:06.