- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- tar VS cpio
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Discussions
Discussions
Forums
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-20-2001 06:40 AM
тАО08-20-2001 06:40 AM
God ! I am bugged up with this question..
**What is the difference between tar and cpio**
Is it that cpio can copy a entire file system to a different file system ..that tar cannot do ..
Anyone with answeres please
Thanks
Sundar
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-20-2001 06:51 AM
тАО08-20-2001 06:51 AM
Re: tar VS cpio
How about:
tar...:
... has relatively simple syntax.
... allows you to replace archived files with different versions and append new files to the end of an archive without having to rewrite the file from the beginning.
cpio...:
... can back up files describing devices (special files), as well as data files.
... writes data in a stream format, saving space and time when creating a tape backup; cpio tends to be faster than tar and stores data more efficiently than tar.
..., unlike tar, will attempt to read a tape several times if it encounters problems.
... will skip a bad area on tape.
Rgds, Robin
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-20-2001 06:52 AM
тАО08-20-2001 06:52 AM
Solutionhttp://www.gnu.org/manual/tar/html_node/tar_125.html
And here is another good link:
http://pcunix.com/Unixart/unix_ba.html
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-20-2001 06:54 AM
тАО08-20-2001 06:54 AM
Re: tar VS cpio
and tar will NOT back up device files where cpio will if you use the -x option .
The pax command will read/write both formats, by the way.
man pax
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-20-2001 08:51 AM
тАО08-20-2001 08:51 AM
Re: tar VS cpio
Tim
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-20-2001 08:59 AM
тАО08-20-2001 08:59 AM
Re: tar VS cpio
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-20-2001 12:50 PM
тАО08-20-2001 12:50 PM
Re: tar VS cpio
are ment here. I often use
tar (GNU tar) to copy complete
root file systems.
with friendly regards
Christoph P.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-20-2001 10:36 PM
тАО08-20-2001 10:36 PM
Re: tar VS cpio
Seems also that tar have a limitation, couldn't read tar archive greater than 2Gb.
Maybe this was corrected, could someone give more info about this ?
Take care !
Jan
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-21-2001 11:24 AM
тАО08-21-2001 11:24 AM
Re: tar VS cpio
dd if=/path/input-filename bs=10240k | compress -F - | dd of=/path/output-filename bs=10240k
To uncompress, do:
dd if=/path/input-filename bs=10240k | uncompress - | dd of=/path/output-filename bs=10240k