View Full Version : iLiad Anybody knows what's happening during upgrades?


mtas
12-14-2006, 04:45 AM
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.

Matthijs
12-14-2006, 04:56 AM
The entire root filesystem is overwritten.

mtas
12-14-2006, 05:06 AM
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.

Matthijs
12-14-2006, 05:12 AM
The command used is
zcat fs.gz | dd of=/dev/tffsa2 bs=1k
So yes: a raw filesystem dump is restored.