tar or cpio?

Bill.Stewart wcs at ho95e.ATT.COM
Thu Feb 25 13:03:39 AEST 1988


In article <699 at mcdsun.UUCP> fnf at mcdsun.UUCP (Fred Fish) writes:
:In article <2071 at bsu-cs.UUCP> dhesi at bsu-cs.UUCP (Rahul Dhesi) writes:
:>An even more correct thing to do is for cpio to always write archive headers
:>in a canonical format that is not dependent on the byte-ordering of the
:>hardware.  E.g., all header data written least significant byte first.
	The cpio -c format uses an ascii character representation for the
	headers, which is transparent across byte orders.  It's
	unfortunately not the default, but if you always use it you won't
	get burned.  Unfortunately, cpio also doesn't detect -c format when
	reading, though I think the PD cpio-replacement program afio does.

	Of course, this can't tell you what to do with your *data*, but
	that's at a level transparent to cpio and tar.
-- 
#				Thanks;
# Bill Stewart, AT&T Bell Labs 2G218, Holmdel NJ 1-201-949-0705 ihnp4!ho95c!wcs



More information about the Comp.unix.questions mailing list