SecondCopy returns a unique error code for each unrecoverable error.
initialization errors
| 0 | no errors | ||
| -1 | illegal command line arguments | ||
| -2 | secondcopy can't initialize signal handler | ||
| -3 | secondcopy can't initialize signal handler | ||
| -4 | keyboard is not accessible | ||
| -5 | driver open failed | ||
| -6 | tape drive not supported | ||
| -8 | tape load failed 1 | ||
| -9 | keyboard break | ||
| -10 | command x requires one argument | ||
| -11 | command x requires two arguments | ||
| -12 | driver close failed |
errors
| -201 | can not open x for error log output | ||
| -203 | can not open x for reading user input | ||
| -204 | can not open x for writing user output | ||
| -207 | invalid error argument | ||
| -209 | can not open error log input | ||
| -210 | can not open error log output | ||
| -211 | error command not found |
tty
| -301 | uninitialized device name |
links
| -401 | can not allocate memory |
compress
| -501 | compress command x not found | ||
| -502 | compress argument x not found | ||
| -503 | compression method x is not known | ||
| -504 | compression method x is not available | ||
| -505 | tape mode sense failed | ||
| -507 | tape mode select failed | ||
| -508 | tape mode select failed |
init
| -601 | tape rewind failed | ||
| -602 | compression not available | ||
| -603 | can not disable compression | ||
| -604 | internal error with volume name | ||
| -605 | tape write failure | ||
| -606 | tape write fm failure |
save
| -701 | keyboard break | ||
| -702 | tape seek failed | ||
| -703 | empty filename string | ||
| -706 | can not read directory information | ||
| -707 | tape write failure | ||
| -708 | tape write failure | ||
| -709 | read link failed | ||
| -710 | tape write failure | ||
| -711 | tape write failure | ||
| -712 | file open failure | ||
| -713 | disk read failure | ||
| -714 | disk read failure | ||
| -715 | tape write failure | ||
| -716 | tape write failure | ||
| -717 | tape write failure | ||
| -718 | can not preserve access times | ||
| -719 | tape write fm failure |
verify
| -801 | keyboard break | ||
| -803 | can not allocate memory | ||
| -804 | can not determine name of tape | ||
| -805 | can not read or load next tape | ||
| -806 | new directory ( from the command line ) is too long | ||
| -807 | can not allocate memory for patterns | ||
| -808 | can not add pattern | ||
| -809 | no inclusive patterns were specified | ||
| -810 | can not read or load next tape | ||
| -811 | can not identify a file name on the tape | ||
| -812 | can not read directory information | ||
| -813 | tape read failure | ||
| -814 | tape read failure | ||
| -815 | disk read failure | ||
| -816 | tape read failure | ||
| -817 | disk read failure | ||
| -818 | can not preserve access times | ||
| -819 | file failed verification |
name
| -901 | name command x not found | ||
| -902 | tape rewind failed | ||
| -903 | compression not available | ||
| -904 | tape is not readable | ||
| -905 | tape is not readable | ||
| -906 | tape has not been initialized | ||
| -907 | tape was recorded with an unsupported compression | ||
| -908 | tape rewind failed | ||
| -909 | can not enable or disable compression | ||
| -910 | tape is not readable | ||
| -911 | incorrect tape volume name | ||
| -912 | incorrect tape sequence number | ||
| -913 | tape has not been initialized |
list
| -1001 | keyboard break | ||
| -1002 | tape read failure | ||
| -1003 | can not load or read next tape | ||
| -1008 | can not load or read next tape | ||
| -1009 | can not identify a file name on the tape | ||
| -1011 | tape read failure | ||
| -1013 | tape read failure |
patterns
| -1101 | pattern command x not found | ||
| -1102 | pattern count out of range |
restore
| -1201 | keyboard break | ||
| -1202 | incorrect tape name or sequence | ||
| -1203 | can not load or read next tape | ||
| -1204 | new directory ( from the command line ) is too long | ||
| -1205 | can not allocate memory for patterns | ||
| -1206 | can not add pattern | ||
| -1207 | no inclusive patterns were specified | ||
| -1208 | can not load or read next tape | ||
| -1209 | can not identify a file name on the tape | ||
| -1210 | can not open file using mode "w" | ||
| -1211 | tape read failure | ||
| -1212 | disk write failure | ||
| -1213 | tape read failure | ||
| -1214 | disk write failure | ||
| -1215 | attempt to restore link w/o restoring file | ||
| -1216 | can not unlink file | ||
| -1217 | can not link file | ||
| -1218 | can not unlink file | ||
| -1219 | can not symbolically link file | ||
| -1220 | can not unlink file | ||
| -1221 | can not make fifo | ||
| -1222 | can not unlink file | ||
| -1223 | mkdir failure | ||
| -1224 | file contents restored but original times not set | ||
| -1225 | file contents restored but original owner not set | ||
| -1226 | file contents restored but original permissions not set |
various device dependent messages
| tape read failed | |||
| tape write or write filemark failed | |||
| disk read failed | |||
| disk write failed | |||
| premature end of file | |||
| drive did not detect a change of media | |||
| tape load or unload failed |