pmt asf <count>

Position the tape at the beginning of the count file (after filemark count)

<count> : <integer> (0 - 2147483647)
File mark position (0 is BOT).

pmt bsf <count>

Backward space count files (position before file mark).

The tape is positioned on the last block of the previous file.

<count> : <integer> (1 - 2147483647)
File mark count.

pmt bsfm <count>

Backward space count files, then forward space one record (position after file mark).

This leaves the tape positioned at the first block of the file that is count - 1 files before the current file.

<count> : <integer> (1 - 2147483647)
File mark count.

pmt bsr <count>

Backward space records.

<count> : <integer> (1 - 2147483647)
Record count.

pmt cartridge-memory

Read Cartridge Memory


pmt eject

Eject drive media


pmt eod

Move to end of media


pmt erase [OPTIONS]

Erase media (from current position)

Optional parameters:

--fast <boolean>   (default=true)
Use fast erase.

pmt format [OPTIONS]

Format media, single partition

Optional parameters:

--fast <boolean>   (default=true)
Use fast erase.

pmt fsf <count>

Forward space count files (position after file mark).

The tape is positioned on the first block of the next file.

<count> : <integer> (1 - 2147483647)
File mark count.

pmt fsfm <count>

Forward space count files, then backward space one record (position before file mark).

This leaves the tape positioned at the last block of the file that is count - 1 files past the current file.

<count> : <integer> (1 - 2147483647)
File mark count.

pmt fsr <count>

Forward space records.

<count> : <integer> (1 - 2147483647)
Record count.

pmt help [{<command>}] [OPTIONS]

Get help about specified command (or sub-command).

<command> : <array>
Command. This may be a list in order to spefify nested sub-commands.

Optional parameters:

--verbose <boolean>
Verbose help.

pmt load

Load media


pmt lock

Lock the tape drive door


pmt options [OPTIONS]

Set varios drive options

Optional parameters:

--blocksize <integer> (0 - 8388608)
Set tape drive block_length (0 is variable length).
--buffer_mode <boolean>
Use drive buffer.
--compression <boolean>
Enable/disable compression.
--defaults <boolean>
Set default options

pmt rewind

Rewind the tape


pmt scan

Scan for existing tape changer devices


pmt status

Drive Status


pmt tape-alert-flags

Read Tape Alert Flags


pmt unlock

Unlock the tape drive door


pmt volume-statistics

Volume Statistics


pmt weof [<count>]

Write count (default 1) EOF marks at current position.

<count> : <integer> (1 - 2147483647)
File mark count.