Reply
Thread Tools
Posts: 79 | Thanked: 1 time | Joined on May 2006
#1
Question for the 770 'gurus' out there -

I used wolframs script to (a) Extend Root and then (b) Create a 24MB swapfile on a 200MB partition on my 1GB RS MMC. Its been working great and I can have loads of aps open at the same time.

Does anyone know if upgrading to OS/iT2006 will:

(1) Wipe out this script and the operation of the swapfile
(2) Disbale R&D mode

In other words - will I have to 'become root' again (not just sudo gainroot but the whole shebang with the flasher in Linux), then re-install & run the extrootfs script? Will I need to repartition the RS MMC?

Thanks!!
 
aflegg's Avatar
Posts: 1,463 | Thanked: 81 times | Joined on Oct 2005 @ UK
#2
No-one really knows yet. Some educated guesses:
  1. The R&D flag will probably remain - but getting root from scratch should be trivial with the new package management. Effectively a simple package could be produced with a setuid shell if root access is blocked as now.
  2. The extrootfs using symlinks[1] will need to be re-applied, but it will also need rethinking: /var/lib/install will no longer exist and packages are "intermingled" with the system files. This will make them very tricky to extract
  3. There is suspicion that swap will be officially supported due to a line in the new marketing material. This could just be typically confusing marketting, though.

Also, FWIW the forum isn't so big that spamming the same thread all over the place is worthwhile.

HTH,

Andrew

[1] Personally, I prefer the approach using a UnionFS: http://www.heike-zimmerer.de/software/mmc-unionfs.html
__________________
Andrew Flegg -- mailto:andrew@bleb.org | http://www.bleb.org
Now known as
Jaffa
 
Posts: 79 | Thanked: 1 time | Joined on May 2006
#3
Thanks. I wasnt spamming - just trying to increase the chances of getting a reply. Point noted.
 
Posts: 2 | Thanked: 0 times | Joined on Mar 2006 @ Virginia
#4
So is the 2006 OS available for download yet? It doesn't show up for me... I'd really like to get google talk going so I can talk to my girlfriend while she is in hong kong for the next two months.

If not now, when? It's second quarter and it says on the site that the 770s are shipping with the 2006 OS.
 
Posts: 121 | Thanked: 1 time | Joined on Apr 2006
#5
I don't know, eleon. I was wondering the same thing myself
 
aflegg's Avatar
Posts: 1,463 | Thanked: 81 times | Joined on Oct 2005 @ UK
#6
June (although an exact date isn't pinned down yet)
__________________
Andrew Flegg -- mailto:andrew@bleb.org | http://www.bleb.org
Now known as
Jaffa
 
RogerS's Avatar
Posts: 772 | Thanked: 183 times | Joined on Jul 2005 @ Montclair, NJ (NYC suburbs)
#7
Nokia has been saying 2006 since last May, and 2006Q2 since around November or December, IIRC. For a brief period they switched from saying "first quarter" to saying "first half" of 2006, then went to "second quarter." They've been very explicit about this all along.
__________________
N900 Guide Brief intro to the Nokia N900 (http://n900guide.com/)
Maemoan since July 2005 )
 
Posts: 190 | Thanked: 5 times | Joined on Nov 2005 @ Bee-u-tee-ful Garden Home, Oregon
#8
Originally Posted by aflegg
[1] Personally, I prefer the approach using a UnionFS: http://www.heike-zimmerer.de/software/mmc-unionfs.html
Andrew-

Thanks for the tip. This is an excellent solution - very elegant. I hope nokia uses this in iT/OS 2006.

Brad.
 
Posts: 106 | Thanked: 3 times | Joined on Dec 2005
#9
Originally Posted by aflegg
[1] Personally, I prefer the approach using a UnionFS
Yes. I'm not sure I fully understand unionfs yet, but it seems to me that it is preferable to using symbolic links for whole subtrees (a la extrootfs) for the following reason.

With the symbolic link approach, the risk you take is that something important about the contents/layout of the linked subtree may change in the next OS upgrade. After such an upgrade, when you run the script to recreate the links pointing to your MMC, you will effectively back out those important changes, and this may result in some part of the OS not working properly.

With the unionfs approach, there is still a similar risk, but only at the level of individual files, not of whole subtrees. (For example if you install something that causes a modified version of the dpkg status file to be written to your MMC, shadowing the one on the internal memory, and then an OS upgrade changes something in the shipped status file, you risk missing that change.)

So in summary, even though there is risk both ways, it seems to me that there's less scope for problematic conflicts with unionfs than there is with symbolic links.

Does that all sound correct, or have I missed some other factors here that would modify the risks?

Finally, a plain question. Does the unionfs approach require that the root filesystem is initially mounted (i.e. during boot) as part of a unionfs, or is it possible to convert the existing, mounted root filesystem to unionfs later on? (I'd be interested to see the precise commands, if someone can post them.)

Regards - Neil
 
aflegg's Avatar
Posts: 1,463 | Thanked: 81 times | Joined on Oct 2005 @ UK
#10
Originally Posted by neiljerram
So in summary, even though there is risk both ways, it seems to me that there's less scope for problematic conflicts with unionfs than there is with symbolic links.
Indeed. It's also possible to get a working 770 by removing the MMC card: the unions just won't be mounted when you boot and you won't have dangling symlinks instead.

Finally, a plain question. Does the unionfs approach require that the root filesystem is initially mounted (i.e. during boot) as part of a unionfs, or is it possible to convert the existing, mounted root filesystem to unionfs later on?
Effectively you can mount the unions at any time, but the setup script includes an /etc/rc2.d script to mount them at boot, if the MMC card is present.

Once mounted the files present in the union take precedence over those on the disk.

So, in my /home/user I have both the Ice Age 2 trailer which is in /home/user in the internal flash; and "Rise of the Cybermen" which is on my MMC card. To the 770's file manager and video player they're both in /home/user; even if - in reality - one's actually on the MMC.

HTH,

Andrew
__________________
Andrew Flegg -- mailto:andrew@bleb.org | http://www.bleb.org
Now known as
Jaffa
 
Reply


 
Forum Jump


All times are GMT. The time now is 13:11.