Hello Gunnar!
On Thursday 08 January 2009 Gunnar Thielebein wrote:
> First I hope you had a good start in 2009, did you?
Yes, thank you very much. You too, I believe?
> Regarding "reverse search" (looking for md5 of every file in fs) as in
> the last script, should I revert that? It consumes much more time this
> way
Of course ... it's an MD5 per file >= 128kB.
> and its no problem for replacing that to the use of fsvs st -v, I
> only tried doing this way because of sorting files to the belonging WC.
> That it's not possible by design to have underlaying $WAA i wasnt aware
> off.
Sorry, I don't understand you here.
> When using "fsvs status -v $WC" will this work - new version of
> fsvs on old WAA style?
Yes, as soon as the "dir" and "Urls" => "urls" are migrated into the new
place.
Regarding the performance problem above ... do you know perl? I think it would
get *much* faster this way - just put all existing files into some hash
(possibly by using FSVS to get the list), and then running through the
reported entries (from "fsvs st -v") should be fast enough ...
If you're using the commandline program "md5sum" in a shell loop, it might be
sufficient to replace that with a perl loop; that should bring at least 2-10x
speed improvements (just thought loud, didn't measure).
BTW - do you have some place for versioning this script, or if you don't, how
about the FSVS repository? I could give you commit access, if you like.
Thank you very much for your effort!
Regards,
Phil
--
Versioning your /etc, /home or even your whole installation?
Try fsvs (fsvs.tigris.org)!