Path: utzoo!mnetor!uunet!portal!cup.portal.com!itkin
From: itkin@cup.portal.com
Newsgroups: comp.unix.questions
Subject: Re: How can I read a cpio archive with absolute pathnames?
Message-ID: <5232@cup.portal.com>
Date: 8 May 88 20:43:29 GMT
References: <407@vsi.UUCP> <4019@cup.portal.com> <434@vsi.UUCP> <4400@b-tech.UUCP>
Organization: The Portal System (TM)
Lines: 18
XPortal-User-Id: 1.1001.3249


>In article <434@vsi.UUCP> friedl@vsi.UUCP (Stephen J. Friedl) writes:
>>In article <4019@cup.portal.com>, itkin@cup.portal.com writes:
>>> In article <407@vsi.UUCP>, I lament:
>>> > Customers are always dumping cpio archives to floppy with
>>> >
>>> >	find / -print | cpio ...
>>> >
>>> >and it drives us crazy when we need to restore something and they
>
>There is a comp.sources program called fixcpio that fixes damaged cpio 
>archives (it's great for skipping over that one bad spot in a set of 
>floppy backups).  It could be easily modified to remove a leading / 
>from files names.  
>-- 
>Jon Zeeff           		Branch Technology,

How about keeping it simple?  Use 'chroot' to specify a new root directory
relative to something you like and then move/rename the file once it's there.