FAQ | Search | Memberlist | Usergroups | Register | Profile | Inbox | Log in | SmartFeedSmartFeed


 okgg.org > Forum Index > All Things Technical > Compression of DD image

  Author    Thread Post new topic  Reply to topic
TehDanMan
Guerilla Ontologist


Joined: 01 Jul 2003
Posts: 13143
Compression of DD image  Reply with quote  

I know I can compress it after I create the image, but can I compress it with gzip inline?

Something like:
dd if=/dev/sda of=| tar cfz /drive_images/imagename.dd.img conv=noerror,sync

Obviously that doesn't work for many reasons, but still. You get the idea. I'm positive this is possible, I just don't know how. Razz
_________________
Blargle Flarg Bergah Merg

Post Mon Feb 15, 2010 1:25 pm  View user's profile Send private message Send e-mail
TehDanMan
Guerilla Ontologist


Joined: 01 Jul 2003
Posts: 13143
 Reply with quote  

Maybe I could write a script or something to dd a set number of blocks, compress that file into the appropriate folder while dd continues on with the next set of blocks? I'm gonna work on that if someone doesn't know something better. Very Happy
_________________
Blargle Flarg Bergah Merg

Post Mon Feb 15, 2010 1:28 pm  View user's profile Send private message Send e-mail
blu
Step on my cubes.


Joined: 19 Mar 2003
Posts: 4638
 Reply with quote  

Thanks for the reach around last weekend.

Post Mon Feb 15, 2010 1:50 pm  View user's profile Send private message
TehDanMan
Guerilla Ontologist


Joined: 01 Jul 2003
Posts: 13143
 Reply with quote  

That must have been B, my arms aren't long enough to reach round both of you.
_________________
Blargle Flarg Bergah Merg

Post Mon Feb 15, 2010 1:51 pm  View user's profile Send private message Send e-mail
LightningCrash
Smile like Bob, order your free LC today


Joined: 03 Apr 2003
Posts: 5020
 Reply with quote  

dd if=/dev/hda8 bs=1M | gzip -c - > /mnt/hda7/partition.image.gz

Post Mon Feb 15, 2010 6:52 pm  View user's profile Send private message
Killaholic
2173 Posts and still a shitty title!


Joined: 23 Apr 2003
Posts: 2272
Location: OKC, by Lake Hefner
 Reply with quote  

Usually to compress DD's you need a breast reduction or a mamogram machine. LOL
_________________
More RAM than Dodge!

Post Mon Feb 22, 2010 3:47 pm  View user's profile Send private message
  Display posts from previous:      
Post new topic  Reply to topic

Last Thread | Next Thread  >

Quick Reply

  
Jump to:  
Forum Rules:
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum