How can I read a cpio archive with absolute pathnames?
Randy Suess
randy at chinet.UUCP
Thu May 12 01:59:59 AEST 1988
In article <5232 at cup.portal.com> itkin at cup.portal.com writes:
]>
]>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.
Oh? And where is the person that just chroot'd going to find
cpio, /dev/whatever, etc? Turns out that you need a whole
bunch of programs moved to the subdirectory you want to
be in. Chroot is not a nice command.
Seems Jon's idea is simpler.
-randy
--
that's the biz, sweetheart.....
Randy Suess
..!att!chinet!randy
More information about the Comp.unix.questions
mailing list