Register Guidelines E-Books Search Today's Posts Mark Forums Read

Go Back   MobileRead Forums > E-Book Readers > More E-Book Readers > iRex > iRex Developer's Corner

Notices

Reply
 
Thread Tools Search this Thread
Old 12-14-2006, 04:45 AM   #1
mtas
Enthusiast
mtas doesn't littermtas doesn't litter
 
Posts: 42
Karma: 145
Join Date: Oct 2006
Device: iLiad
Anybody knows what's happening during upgrades?

Is there anybody that has some idea about how the iRex updates are performed? Is it a file system image that's written, a tar ball or just a file-by-file copy?

The reason for this question is that I'm playing around with a generic install script for the community developed applications. I would like to use a method that's as "bullet proof" as possible and at the same time try to minimise both the number of writes as well as the use of space in the root file system.
mtas is offline   Reply With Quote
Old 12-14-2006, 04:56 AM   #2
Matthijs
Groupie
Matthijs will become famous soon enoughMatthijs will become famous soon enoughMatthijs will become famous soon enoughMatthijs will become famous soon enoughMatthijs will become famous soon enoughMatthijs will become famous soon enough
 
Matthijs's Avatar
 
Posts: 199
Karma: 666
Join Date: Oct 2006
Location: Eindhoven, the Netherlands
Device: iLiad, DR1000S, DR800SG
The entire root filesystem is overwritten.
Matthijs is offline   Reply With Quote
Advert
Old 12-14-2006, 05:06 AM   #3
mtas
Enthusiast
mtas doesn't littermtas doesn't litter
 
Posts: 42
Karma: 145
Join Date: Oct 2006
Device: iLiad
Quote:
Originally Posted by Matthijs
The entire root filesystem is overwritten.
Yes, but the question is how. If it's done as a restore of a backup dump or by deleting all files and then writing the new content I'm happy. I guess that's what happening since files added before an upgrade is removed.

This is good, then I know what to expect and can continue my work.

Thank you for your prompt answer.
mtas is offline   Reply With Quote
Old 12-14-2006, 05:12 AM   #4
Matthijs
Groupie
Matthijs will become famous soon enoughMatthijs will become famous soon enoughMatthijs will become famous soon enoughMatthijs will become famous soon enoughMatthijs will become famous soon enoughMatthijs will become famous soon enough
 
Matthijs's Avatar
 
Posts: 199
Karma: 666
Join Date: Oct 2006
Location: Eindhoven, the Netherlands
Device: iLiad, DR1000S, DR800SG
The command used is
zcat fs.gz | dd of=/dev/tffsa2 bs=1k
So yes: a raw filesystem dump is restored.
Matthijs is offline   Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Whats happening to Sony? ChrisR1970 Sony Reader 15 10-07-2010 03:12 PM
What's happening to Mobi format? donbrubaker Kindle Formats 41 02-21-2010 01:27 PM
Why this happening in SmartQ7 m26k9 Alternative Devices 13 09-10-2009 06:16 AM
Samzspace is happening samzspace Introduce Yourself 3 08-30-2009 09:02 PM
Database upgrades earthq Calibre 4 06-26-2009 03:13 PM


All times are GMT -4. The time now is 09:04 PM.


MobileRead.com is a privately owned, operated and funded community.