The Daily Static
  The Daily Static
UF Archives
Register
UF Membership
Ad Free Site
Postcards
Community

Geekfinder
UFie Gear
Advertise on UF

Forum Rules
& FAQ


Username

Password


Create a New Account

 
 

Back to UserFriendly Strip Comments Index

Theoretical question about tar/bzip2 by Sharku 2007-01-25 08:09:02
I have 12 files (dd images of partitions) which I'm bzip2-ing to save on some space. I started this with bzip2 imagefile, and it just occured to me, that I could have used tar -cjf to get them all in one go instead. Now, I'm not about to redo anything, I bzip2-ed those files individually and that's good enough for now, but for future reference: as I understand it, tar does little more than collate all the files together and then run the whole chunk through bzip2, so is there a way to consistently predict the best compression ratio? Does tar always get the best ratio, do individiual bzip2's, or is it one of those things where you'd have to try each and every time to know?
[ Reply ]
  Individual ones would each have the overhead by Havoc2007-01-25 08:10:51
  compression ratio is based on the regularity of... by CALL-1982007-01-25 08:17:12
  As you mentioned... by ormandj2007-01-25 10:08:18
    psst: using -9 with bzip2 is pointless by Freakazoid2007-01-25 10:11:04
      I like to be explicit by ormandj2007-01-25 10:21:13

 

[Todays Cartoon Discussion] [News Index]

Come get yer ARS (Account Registration System) Source Code here!
All images, characters, content and text are copyrighted and trademarks of J.D. Frazer except where other ownership applies. Don't do bad things, we have lawyers.
UserFriendly.Org and its operators are not liable for comments or content posted by its visitors, and will cheerfully assist the lawful authorities in hunting down script-kiddies, spammers and other net scum. And if you're really bad, we'll call your mom. (We're not kidding, we've done it before.)