Linux Image Question


Ahh. Well I got man/wikipedia for the command specifics. I got one more question: can/how do you compress an output file while it is being made (i.e bzip2 || dd if=/dev/hda1 of=blub.img bs=512), I don't have enough space to make an image....

Nevermind, I guess I accidentally guessed correctly: bzip2 | dd if=[hd] of=out.img bs=512 would work right?
 
dd if=/dev/hda1 | bzip2 > whatever.bz2

as long as it's the first partition on the primary master you're after.
 
Back
Top