Quote:
Originally Posted by abefroman
I am getting an error with cpio:
Error with cpio: truncating inode number
is anyone familar with how to fix that?
|
the default size of the inode number in the cpio format is 16 bits, so the inode number may not be larger than 65535.
the adding the c option to your options is the best way to fix this. It allows a number compatable with the linux box and the messages should go away.
create an archive with:
find . -print|cpio -ovcBO <archive path name>
restore archive with
cpio -ivcI <archive path name>
note: using cpio allows restoration of files with soft links, etc. on systems without gnu tar, which added support for other types of files, which is absent from tars on a lot of systems.