The Ftape Tools Manual - Invoking Vtblc
-#, --vtbl-entry=NR
|
Specify the volume number for the | ||||||||||
-a, --append
|
Append an entry to the end of the volume table. | ||||||||||
-b, --bsm
|
Print the bad sector map and quit. | ||||||||||
-d, --debug
|
Unused yet. | ||||||||||
-f, --file=FILE
|
Tape device to use. Default is ` | ||||||||||
-h, -?, --help, --usage
|
Print help information to | ||||||||||
-m, --modify
|
Modify the volume table entry given by
| ||||||||||
-p[tagged], --print[=tagged]
|
Print the volume table entry given by
If the argument | ||||||||||
-t, --truncate[=SIZE]
|
Truncate the volume table to SIZE entries by filling the remainder with zero bytes. If SIZE is omitted then the last entry is deleted. | ||||||||||
-V, --version
|
Print version information to | ||||||||||
-v, --verbose
|
Be verbose. |
vtblc interpretes the following keywords - values pairs with the
--append
and --modify
options:
#
|
The ` |
VTBL START | |
VTBL END | The entire volume table piped to vtblc has to be surrounded by a VTBL START - VTBL END pair. |
ENTRY NUM |
Starts the description for the volume NUM. This may be omitted if
the |
ENTRY END |
Here END is not a placeholder, but means the word ` |
SIGNATURE SIG |
Valid signature string. Must be one out of
The |
If any other signature than VTBL
was given, then the only other
tag recoginized is
ENTRY_DATA HEX |
Data for the volume table entry. HEX is a string of hexadecimal
byte values, e.g. |
The following entries are allowed for the signature vtbl
:
START STARTSEG | First segment of this volume. |
END ENDSEG | Last segment of this volume. |
NUM_SEGMENTS NUM | Number of segments occupied by this volume. This has no effect for cartridges with less or equal than 2^16=65536 segments. For larger cartridges this value is stored in the volume table entry. |
DESCRIPTION DESC | Description for this volume table. Will be truncated to 44 characters. |
DATE DATESTR |
Date for the volume. If DATESTR is omitted, then the current
local time is used. See |
FLAG_VENDOR_SPECIFIC VAL | For cartridges with more than 2^16=65536 segments signals that the remainder of the volume table entry is vendor specific.
For cartridges with less segments signals that remainder of volume table
entry conforms to QIC-113 if the value of |
If the remainder of the volume table entry has been flagged `vendor specific
' (see description of FLAG_VENDOR_SPECIFIC above) then the other
additional recogized tag is
VENDOR_DATA HEX |
A string of hexadecimal values of lenght at most 72 to fill the
remainder of the volume table entry. Smaller strings will be padded
with zero bytes. The string must be surrounded by double quotes, e.g.
|
If FLAG_VENDOR_SPECIFIC is not set, then the following additional tags are allowed:
FLAG_MULTI_CARTRIDGE VAL | |
FLAG_NOT_VERIFIED VAL | |
FLAG_REDIRECTION_INHIBIT VAL | |
FLAG_SEGMENT_SPANNING VAL | |
FLAG_DIRECTORY_LAST VAL | |
FLAG_RESERVED_6 VAL | |
FLAG_RESERVED_7 VAL | |
MULTI_CARTRIDGE_COUNT VAL | |
QIC_MAJOR VAL | Major number of QIC spec cartridge conforms to, only for cartridges with more than 65536 segments. VAL should be 113 for all cases. |
QIC_MINOR VAL | Minor revision number of QIC spec. Only for cartridges with more thatn 65536 segments. At the time of this writing, QIC-113, Rev. G, is is the latest one, so VAL should be 7. |
VENDOR_EXTENSION HEX |
Vendor extension data. HEX is a string of hexadecimal byte values
surrounded by double quotes, e.g. |
PASSWORD HEX | Password. HEX as above. Ignored by ftape. |
DIRECTORY_SIZE VAL | Ignored by ftape. |
DATA_SIZE VAL64 | 64 bit value (a decimal count). |
OS_VERSION HEX | Here HEX is a hexadecimal 2 bytes value. |
SOURCE_DRIVE DRVSTR | Source drive. DRVSTR is a 16 byte string. Ignored by ftape. |
DEVICE HEXBYTE | A single byte in hexadecimal notation. Ignored by ftape. |
RESERVED_1 HEXBYTE | Ignored by ftape. |
COMPRESSION_FLAGS HEXBYTE | |
FORMAT HEXBYTE | |
RESERVED_2 HEXBYTE | |
RESERVED_3 HEXBYTE |
Strings with spaces have to be surrounded by double quotes like this:
`
'. VAL is some decimal
number. HEXBYTE is a two digit hexadecimal value.
"word1 word2"
![]() |
Use these buttons to jump to the top menu |