=head1 NAME backup readlabel - Reads and displays a tape's label =head1 SYNOPSIS B [-portoffset >] [B<-localauth>] [B<-cell> >] [B<-help>] B [B<-p> >] [B<-l>] [B<-c> >] [-h] =head1 DESCRIPTION The backup readlabel command displays information from the magnetic tape label of a tape. The information includes the tape's name (either a I, or an I that reflects the tape's contents in a prescribed format) and its capacity. If the FILE YES instruction appears in the BI file associated with the specified port offset, then the B command reads the label information from the first 16 KB block in the backup data file listed for that port offset in the Tape Coordinator's B file, rather than from the beginning of a tape. The Tape Coordinator's default response to this command is to access the tape by invoking the B instruction in the local BI file, or by prompting the backup operator to insert the tape if there is no B instruction. However, if the B instruction appears in the BI file, or if the issuer of the B command included the B<-noautoquery> flag, the Tape Coordinator instead expects the tape to be in the device already. If it is not, the Tape Coordinator invokes the B instruction or prompts the operator. =head1 OPTIONS =over 4 =item -portoffset Specifies the port offset number of the Tape Coordinator handling the tapes for this operation. =item -localauth Constructs a server ticket using a key from the local B file. The B command interpreter presents it to the Backup Server, Volume Server and VL Server during mutual authentication. Do not combine this flag with the B<-cell> argument. For more details, see the introductory B reference page. =item -cell Names the cell in which to run the command. Do not combine this argument with the B<-localauth> flag. For more details, see the introductory B reference page. =item -help Prints the online help for this command. All other valid options are ignored. =back =head1 OUTPUT Output from this command appears in both the shell window where the command is issued, and in the Tape Coordinator window. If the tape is unlabeled or if the specified tape device is empty, the output reads Failed to read tape label. Otherwise, the output in the shell window has the following format: Tape read was labelled: I (I) size: I Kbytes where I is the permanent name if the tape has one, or the AFS tape name otherwise. The I is dump ID of the initial dump on the tape, and I is the recorded capacity of the tape in kilobytes. The output in the Tape Coordinator windows is bounded by an underlined C C