lha archive maximum file size
  • Priest of the Order of the Butterfly
    Priest of the Order of the Butterfly
    boot_wb
    Posts: 874 from 2007/4/9
    From: Kingston upon ...
    Is there a file size limitation of the destination archive when using the lha archiver?

    I'm aiming to back up my applications directory to an ext3 formatted usb drive (to preserve flags, etc), however the directory is around 12GB in size, so the resulting archive is likely to be 'large'.

    ext3 should be able to handle the file size, but is there some limitation within lha (eg expected file length stored as 32-bit within the archive header), or is it a raw stream of compressed chunks until the end of file is reached?

    Apologies if this has been asked before, I couldn't find the answers in 'readme's or forums, and I don't fancy spending a good day or two tying up my mac-mini by experimenting ;-)
    www.hullchimneyservices.co.uk

    UI: Powerbook 5,6 (1.67GHz, 128MB VRam): OS3.1, OSX 10.5.8
    HTPC: Mac Mini G4 (1,5GHz, 64MB VRam): OS3.1 (ZVNC)
    Audiophile: Efika 5200b (SB Audigy): OS3.1 (VNC + Virtual Monitor)

    Windows free since 2011!
  • »11.05.11 - 23:57
    Profile Visit Website
  • Order of the Butterfly
    Order of the Butterfly
    catohagen
    Posts: 297 from 2003/5/20
    diavolo backup?
    http://amigazeux.net/diavolo/feat.php
  • »12.05.11 - 08:07
    Profile
  • Order of the Butterfly
    Order of the Butterfly
    dIGIMAN
    Posts: 273 from 2005/11/7
    there is a split file function in LHA, which works quite good.

    Unfortunately its broken in the MorphOS Version. I am still using 1.38r for this.
    Decrunching split files works in MorphOS
  • »12.05.11 - 10:21
    Profile Visit Website
  • Priest of the Order of the Butterfly
    Priest of the Order of the Butterfly
    boot_wb
    Posts: 874 from 2007/4/9
    From: Kingston upon ...
    @Catohagen

    Thanks for the link, however I could ask exactly the same question about Diavolo (or rather XPK).

    @Digiman

    I'd rather not split it if I don't have to. The question is whether lha (freed from ffs/sfs filesize limitations) can correctly produce a large (ie >4GB) archive?
    www.hullchimneyservices.co.uk

    UI: Powerbook 5,6 (1.67GHz, 128MB VRam): OS3.1, OSX 10.5.8
    HTPC: Mac Mini G4 (1,5GHz, 64MB VRam): OS3.1 (ZVNC)
    Audiophile: Efika 5200b (SB Audigy): OS3.1 (VNC + Virtual Monitor)

    Windows free since 2011!
  • »12.05.11 - 13:32
    Profile Visit Website
  • Order of the Butterfly
    Order of the Butterfly
    Dreamcast270mhz
    Posts: 152 from 2009/12/9
    From: Virginia,USA
    I really think LHA needs support for LZMA compression as then it would provide a viable alternative to 7zip, the greatest compression system available.
    My Macs:
    Powerbook G4 ALU 1.5GHZ 15" 1.5GB OSX.5.8
    Powermac G4 MDD 1.5GHZ OSX.5.8 MOS2.7

    Want a part for a Mac? Let me know, I'll see what I can do.

    Amithlon is amazing, questions and help I can provide.
  • »12.05.11 - 13:58
    Profile
  • MorphOS Developer
    geit
    Posts: 1031 from 2004/9/23
    You may also more memory than you have in you system, as lha sets up some kind of file name cache which is done before starting the compression.

    I moved to tar gz to avoid such issues. For backup purpose I simply compress the drawers directory wise. Each game and each app gets one separate archive. Same for c,l,libs, devs,locale, morphos, ... This avoids an archive split and an easy way to install/restore only the stuff needed. You also do not loose all data,if the archive gets corrupted or lost.

    Geit
  • »12.05.11 - 14:19
    Profile