odlabel - Label optical media
odlabel -vsn vv... -[new | old vv...] [-info] aa...]
[-w] [-V] [-erase] eq[:slot:side]
odlabel labels the volume in the optical cartridge specified
by eq[:slot:side]. eq is the equipment number. If eq is a
library, slot is the slot in the library containing the car-
tridge. side is the side (1 or 2) of a two-sided cartridge.
A VOL (volume) and a PAR (partition) label are written.
These labels conform to ISO standard IEC13346. The data
portion follows ISO standard TC97SC23.
-vsn vv... specifies the volume serial name of the optical
disk being labeled (up to 31 characters).
If the media being labeled was previously labeled, the VSN
must be specified by -old vv.... The "old" VSN is compared
with the VSN on the media to assure that the correct media
is being relabeled.
If the media is not labeled (i.e., blank), -new must be
specified to prevent the previous label comparison from
Specifies the "Implementation Use" string in the
label (up to 127 characters).
-V Verbose, lists label information written.
-erase Erases the media completely before a label is
written. This is a security feature that is nor-
mally not necessary. Complete media erasure will
take a long time to perform since all data in the
media is erased.
-w Wait for the labeling operation to complete. If
an error occurs, it will be reported along with a
completion code of 1. All labeling errors are
also logged. Note: Canceling a command that is
waiting for completion will not cause the opera-
tion itself to be canceled.