[fedora] dd
Joachim Backes
joachim.backes at rhrk.uni-kl.de
Sat Sep 3 15:12:43 UTC 2011
On 09/03/2011 03:41 PM, Chris Tyler wrote:
> On Sat, 2011-09-03 at 20:36 +0800, xinyou yan wrote:
>> I want to make sure one thing .
>> Can I use tar to pack the file created by dd.
>> I found use tar -rf xx.tar yyy.dd
>> can't make the file into the tar file .
>
> It depends on what is in the dd file and what you're trying to do.
>
> I assume that the dd file is a direct copy of a filesystem (for example,
> "dd if=/dev/sda2 of=yyy.dd" assuming that /dev/sda2 is a filesystem
> partition).
>
> If you simply want to reduce the size of the dd file, use gzip:
> gzip yyy.dd # produces yyy.dd.gz
Better: sudo dd if=/dev/sda2|gzip - > yyy.dd.gz
(does not need any file yyy.dd!)
>
> -Chris
>
--
Joachim Backes <joachim.backes at rhrk.uni-kl.de>
http://www.rhrk.uni-kl.de/~backes
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 4750 bytes
Desc: S/MIME Cryptographic Signature
Url : http://lists.fedoraproject.org/pipermail/users/attachments/20110903/0c207453/attachment.bin
More information about the users
mailing list