Xref: utzoo comp.unix.wizards:6821 comp.sys.att:2683 comp.unix.questions:5936 Path: utzoo!mnetor!uunet!husc6!tut.cis.ohio-state.edu!mailrus!nrl-cmf!cmcl2!phri!manhat!mancol!samperi From: samperi@mancol.UUCP (Dominick Samperi) Newsgroups: comp.unix.wizards,comp.sys.att,comp.unix.questions Subject: cpio and UNIX standards Message-ID: <286@mancol.UUCP> Date: 2 Mar 88 22:31:24 GMT Organization: Manhattan College, NYC, USA Lines: 20 Keywords: cpio, standards The man page on cpio format, cpio(4), is a little unclear. It states that the size of a binary header is rounded to "word", and I assume this means the natural word size for a particular machine, sizeof(int). But on several machines that I checked (PC AT's, 3b2/400) it seems that the header size is always rounded to be a multiple of 2, even when the word size is 4. Furthermore, it seems that the size of the file data part is also rounded to a multiple of 2, and this is not mentioned in the man page at all. Complicating this even more is the fact that in AT&T's User Ref. Manual it states that cpio assumes "a word size of 4 bytes." I tried to find published standards for cpio and tar, but without success. Can someone tell me where I can find information on such standards, POSIX documents, etc.? Thanks. -- Dominick Samperi, Manhattan College, NYC manhat!samperi@NYU.EDU ihnp4!rutgers!nyu.edu!manhat!samperi philabs!cmcl2!manhat!samperi ihnp4!rutgers!hombre!samperi (^ that's an ell) uunet!swlabs!mancol!samperi