xref: /original-bsd/local/ukc/dump/dumplabel.8 (revision 3b6250d9)
DUMPLABEL 8L "UKC - 08/11/87" "Unix Programmer's Manual"
NAME
dumplabel - file system dump labeller and label print
SYNOPSIS
/etc/dumplabel [ -f tapename ] [ -r ] [ -l label-stem ] [ label-spec ]
DESCRIPTION
The program dumplabel allows initial labelling of tapes to be used for file system dumps by the dump (8) program. If the f switch is given, the following argument is used as the device which is to be used for labelling (default /dev/rmt8). The r switch rewinds the tape and puts the tape offline after each label is made. These optional arguments may be followed by one or more tape label specificiations. If none specifications are present, the tape is opened, the header read and the label printed.

The label specification is similar in style to the arguments for the dump program. The l argument gives the label stem, with an optional `%s' being used to show the position in the string which is replaced by the variable section given by the remaining program arguments. For example

dumplabel -l TA%s 000,100-103,aaa,NAA-NAC

will generate TA000, TA100, TA101, TA102, TA103, TAaaa, TANAA, TANAB and TANAC. If the l switch is omitted, then the label is taken from the program argument. This means that

dumplabel -l sources

is equivalent to

dumplabel sources

Labels are limited to 15 characters.

"SEE ALSO"
dump(8), restore(8), dumpdev(8), dumpall(8)