Home Help Center

why does icepatch2calc generate so many .bz2 files

walliwalli Member Qiong QingfengOrganization: Tsinghua UniversityProject: Honeynet
when using icepatch2 server, first we must using icepatch2calc to generate the .sum file , but why does icepatch2calc copy each patching file to a new .bz2 file?

thanks!

Comments

  • matthewmatthew NL, CanadaMember Matthew NewhookOrganization: ZeroC, Inc.Project: Internet Communications Engine ✭✭✭
    The bz2 files are the cached compressed versions of the files.

    Can you please also update your project description "IceStorm" is not a project.
  • walliwalli Member Qiong QingfengOrganization: Tsinghua UniversityProject: Honeynet
    Ok, that says icepatch2 does not transfer the original files but the bz2 files?

    thanks!

    And, my personnal information updated..
  • walliwalli Member Qiong QingfengOrganization: Tsinghua UniversityProject: Honeynet
    What's more , in the patch interface discription: "The PatcherFeedback object is notified about the progress of each file and, as in the preparation stage, may abort the patch if necessary."

    Q: What does "if necessary" mean exactly?
  • matthewmatthew NL, CanadaMember Matthew NewhookOrganization: ZeroC, Inc.Project: Internet Communications Engine ✭✭✭
    walli wrote: »
    Ok, that says icepatch2 does not transfer the original files but the bz2 files?

    That is correct, the compressed files are transferred to save bandwidth. The files are pre-compressed to save CPU.
    What's more , in the patch interface discription: "The PatcherFeedback object is notified about the progress of each file and, as in the preparation stage, may abort the patch if necessary."

    Q: What does "if necessary" mean exactly?

    This means if you want the client to abort patching, you can do so by returning false from most of the methods of the patcher feedback interface.
  • walliwalli Member Qiong QingfengOrganization: Tsinghua UniversityProject: Honeynet
    ok, got it. Thank you, Matthew, very much.

    another Q: Does the Patcher :: patch method uncompressed files itself? or the client programmer is asked to do that?
  • benoitbenoit Rennes, FranceAdministrators, ZeroC Staff Benoit FoucherOrganization: ZeroC, Inc.Project: Ice ZeroC Staff
    Hi,

    You don't need to uncompress the files, it's taken care of by the Patcher class.

    Cheers,
    Benoit.
Sign In or Register to comment.