[100444] in RedHat Linux List

home help back first fref pref prev next nref lref last post

Re: cpio truncating inode number

daemon@ATHENA.MIT.EDU (Gregory G. Woodbury)
Fri Nov 20 15:07:41 1998

From: ggw@cds.duke.edu (Gregory G. Woodbury)
To: redhat-list@redhat.com
Date: Fri, 20 Nov 1998 15:06:52 -0500 (EST)
In-Reply-To: <001e01be14aa$409d5080$021310ac@MIS.morsco.com> from "James Baxter" at Nov 20, 98 11:21:46 am
Resent-From: redhat-list@redhat.com
Reply-To: redhat-list@redhat.com

> I am using cpio to back up to a tape. On some files I get a message after
> the file name that says truncating inode number.   The files seems to go the
> tape okay and I can read it back out and it seems okay. Can some one tell me
> what is going on? I hate errors I do not understand.

	The cpio file format uses short ints for inode numbers, while the
ext2 uses int (generally 32-bits.)  The truncation is a harmless artifact
of forcing ints into shorts.  It is inconsequential on read-out because
the inode number in the cpio file is ignored.

--
Gregory G. "Wolfe" Woodbury       At, but NOT speaking for . . Duke University
System Programmer, Center for Demographic Studies, Box 90408   +1 919 684 6126
Durham NC 27708-0408                     [Home email: ggw@wolves.durham.nc.us]
ObQuote: "The LineEater is a boojum sna...."  -Greg Woodbury


-- 
  PLEASE read the Red Hat FAQ, Tips, Errata and the MAILING LIST ARCHIVES!
		http://www.redhat.com http://archive.redhat.com
         To unsubscribe: mail redhat-list-request@redhat.com with 
                       "unsubscribe" as the Subject.


home help back first fref pref prev next nref lref last post