When using the following command line under sco os 5.0.x cpio gives exist status 0 (no error) although errors occured during the backup. When doing the same under AIX 4.x cpio gives a correct exit status (<>0) back.
Does anybody know this problem?
15$ find . |cpio -ocvB > /dev/rStp0
.
.profile
.kshrc
cpio: could not open htc for reading: Permission denied (error 13)
cpio: could not open hti for reading: Permission denied (error 13)
.sh_history
10 blocks
16$ echo $?
0
AIX
$ find . |cpio -ocvB > /dev/rmt0
.
stdout
cpio: 0511-026 Cannot open taperestorecommand.
stderr
30 blocks
$ echo $?
2
Does anybody know this problem?
15$ find . |cpio -ocvB > /dev/rStp0
.
.profile
.kshrc
cpio: could not open htc for reading: Permission denied (error 13)
cpio: could not open hti for reading: Permission denied (error 13)
.sh_history
10 blocks
16$ echo $?
0
AIX
$ find . |cpio -ocvB > /dev/rmt0
.
stdout
cpio: 0511-026 Cannot open taperestorecommand.
stderr
30 blocks
$ echo $?
2