[RFC/PATCH] Ubi-Utils: add compare feature
Artem Bityutskiy
dedekind at infradead.org
Tue Jul 10 03:09:48 EDT 2007
Hi Alex,
On Mon, 2007-07-09 at 21:32 +0200, Alexander Schmidt wrote:
> this is a new feature for pfiflash, called "--compare". It allows the user
> to simulate a pfiflash session without actually changing the flash
> content. If the flash content is equal to the data in the pfif file,
> pfiflash returns zero. A positive value is returned when the flash
> content differs from the pfi file, which indicates that an update is
> necessary. This feature is useful when a controller mounts an NFS share
> during boot and has to determine if a pfi file stored on this share
> contains a code update. Modified PDD values are also registered by the
> compare feature.
>
> The patch is already usable but does not contain a check for modified
> volume type, size or alignment yet. These values need to be read from
> sysfs and compared to the values in the pfi file. I'm sending this out
> to get comments/reviews on what I've done yet.
since I do not use the pfi stuff and it is your team's child, and I
really do not have time now to give it comments or reviews, I'll just
blindly push your patch as soon as you send the final version.
Thank you.
--
Best regards,
Artem Bityutskiy (Битюцкий Артём)
More information about the linux-mtd
mailing list