This is a patch to make amlabel take a "-a" option which adds the tape to the tapelist file if the label is successfully written, which means amanda will actually suggest it as the next tape to receive a backup. Index: ChangeLog =================================================================== RCS file: /usr/products/olsshare/cvs/amanda/src/amanda/ChangeLog,v retrieving revision 1.2 diff -r1.2 ChangeLog 0a1,5 > 2000-02-07 Marc Mengel > > * amlabel.c (main) -- new option -a, adds a call to add_tape to add > the newly labeled tape to the tapelist file for you. > Index: man/amlabel.8.in =================================================================== RCS file: /usr/products/olsshare/cvs/amanda/src/amanda/man/amlabel.8.in,v retrieving revision 1.1.1.1 diff -r1.1.1.1 man/amlabel.8.in 14a15 > [-a] 43a45,48 > .LP > The > .B -a > (add) option will add the tape to the configuration's tapelist file. diff -c -r1.4 amlabel.c Index: amlabel.c =================================================================== RCS file: /usr/products/olsshare/cvs/amanda/src/amanda/server-src/amlabel.c,v retrieving revision 1.4 retrieving revision 1.8 diff -c -r1.4 -r1.8 *** server-src/amlabel.c 2000/02/02 15:51:32 1.4 --- server-src/amlabel.c 2000/02/07 23:27:04 1.8 *************** *** 51,57 **** void usage(argv0) char *argv0; { ! fprintf(stderr, "Usage: %s [-f]