Re: Backup format to ISO?
> The cpio tapes are rooted, so they are a double pain, they try to unpack
> in / instead of "." as they should. This requires creative use of
> chroot...
My cpio man page (GNU cpio version 2.5) says
--no-absolute-filenames
In copy-in mode, create all files relative to the
current directory, even if they have an absolute
file name in the archive.
My afio man page says
-A Do not turn absolute paths into relative
paths. That is don't remove the leading
slash.
My experiments :
find /u/test |
cpio -o | \
cpio -tv --no-absolute-filenames | \
head -1
find /u/test | \
cpio -o | \
afio -tv - | \
head -1
reply
u/test
While cpio without --no-absolute-filenames and afio with -A reply
/u/test
Have a nice day :)
Thomas
Reply to: