LNEXT
ONELCLEAN
UTERMINAL
TERMINAL
NEXT
$V1$
HILINE
PAUSE
PAUSE2
q to quit, <CR> to continue
CMDSNTX
SYNTAX: /etc/labelit file [fsname volume] [-n]
FLAGS:
file - full pathname of the special character or
block device that represents the physical disk
section or magnetic tape, e.g.: /dev/rfdsk1, /dev/lpr1.
fsname - the mounted name of the file system e.g.:
root, u, etc. Limited to six characters.
volume - the volume name is used to identify the version
or issue. It is limited to six or fewer characters.
-n - identifies a NEW magnetic tape. The previous
contents of the tape are destroyed.
GO
The command /etc/labelit is used to read or write file
system labels. The file system can be mounted or unmounted.
The syntax for usage and the applicable flags are shown above.
NOTE: labelit with a special device argument will
produce the label of the existing file system!
The command labelit is used to read the existing
file system labels and to write new file system labels. A
file system may be mounted on any mountable system device
such as floppy disk, tape cartridge, tape drives, hard disk,
etc. The labels are used for backup and restore purposes
in conjunction with the command volcopy.
Let us assume that there is a
labeled file system on the special
device /dev/fd03. Please
specify a command for reading the
file system label on this special
device:
$PROMPT$
That is correct!
You've got it on the 2nd try.
Good, you understand the concept.
Please type labelit /dev/fd03
Please type labelit /dev/fd03
You will be helped this time!
$PROMPT$
FORGET1
labelit /dev/fd03
Please observe a typical result
above!
$PROMPT$
Current fsname: bdsk, Current volname: voldsk, Block: 9900, Inodes: 1232,
FS Units: 1Kb, Date last mounted: Mon June 9, 11:39:30 1988
Prior to writing a label onto a file system, you must make sure
that a file system exists! With most removable file systems, you
must make a file system on a floppy disk or on a tape cartridge
using the command mkfs.
Assuming that you are going to
make a file system on the tape
cartridge /dev/rmct of
2.9 megabytes, 750 inodes, with gap
size of 1 and cylinder size 15,
please enter the appropriate command
to do so.
$PROMPT$
That is correct!
You've got it on the 2nd try.
Good, you understand the concept.
Please type
mkfs /dev/rmct 2900:750 1 15!
Please type
mkfs /dev/rmct 2900:750 1 15!
You will be helped this time!
$PROMPT$
FORGET2
mkfs /dev/rmct 2900:750 1 15
Please observe a typical result
above.
mkfs: /dev/rmct
bytes per logical block = 1024
total logical blocks = 2900
total inodes = 750
gap (physical blocks) = 1
cylinder size (physical blocks) = 18
mkfs: Available blocks = 2744
$PROMPT$
Now, please enter a command to
write a label on a file system
volume. The device name is /dev/rmct,
the file system name is cbt,
and the volume name is cbt2.0.
$PROMPT$
That is correct!
You've got it on the 2nd try.
Good, you understand the concept.
Please type
labelit /dev/rmct cbt cbt2.0
Please type
labelit /dev/rmct cbt cbt2.0
You will be helped this time!
$PROMPT$
FORGET3
labelit /dev/rmct cbt cbt2.0
$PROMPT$
Observe a typical result above.
Current fsname: , Current volname: , Block: 2900, Inodes: 750,
FS Units: 1Kb, Date last mounted: Mon Jul 28 15:14:27 1986
NEW fsname = cbt, NEW volname = cbt2.0 -- DEL if wrong!!