LABEL_TAPE(8)

NAME
label_tape - write label to tape for use by afbackup or display it

SYNOPSIS
label_tape <label-number> [ -c <configfile> ] [ -d <devicename> ] [ -b <blocksize> ] [ -s <set-file-cmd> ] [ -C <num-cartridges> ]
label_tape -q [ -c <configfile> ] [ -d <devicename> ] [ -b <blocksize> ] [ -s <set-file-cmd> ]

DESCRIPTION
The first form writes a label to the tape, the second form shows the label on the tape, that is actually loaded. The tape-label must be an integer number. This number is written to the tape actually in the drive and identifies it uniquely. It must be in the range from 1 to the number of cartridges given in the configuration file. This label is written at the beginning of the tape, so all data on tape will be lost. Due to that fact the user is always prompted, if he really wants to do this. <config-file> can be a different configuration file than the one the server process is started with. Normally it makes no sense to use this option, but in extremely pathological cases the program might not be able to find out the full path to the configuration file. Then is has to be supplied at the command line. The normal case is to use this command without options, but the settings in the serverside configuration file can be overridden, if necessary.

-c <configfile>
    A different configuration file to use

-d <devicename>
    The device to use

-b <blocksize>
    The blocksize of the device to use

-s <setf-cmd>
    The command to reel the tape to a given file position

-C <num-carts>
    The total number of handled cartridges

FILES

@serverlibdir@/@serverconf@
    Server configuration file

@serverlogdir@
    The directory for logging the server actions

@servervardir@
    Some internal state information of the server.

SEE ALSO
afclientconfig(8), xafclientconfig(8), full_backup(8), incr_backup(8), afverify(8), afrestore(8), print_errors(8), afclient.conf(8), afserver.conf(8), tar(1)

AUTHOR
afbackup was written by Albert Fluegel (af@muc.de). This manpage was extracted from the text docs by Christian Meder (meder@isr.uni-stuttgart.de).