Re: [fedora] dd

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxxxxxxx>

http://www.rhrk.uni-kl.de/~backes

Attachment: smime.p7s
Description: S/MIME Cryptographic Signature

-- 
users mailing list
users@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [EPEL Devel]     [Fedora Magazine]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Desktop]     [Fedora Fonts]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Fedora Sparc]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux