mt-dds(1L)
β¨ NAME β¨
mt-dds β the mt-dds(1L) bestie whose whole personality is controlling a dds device. Lowkey iconic.
π SYNOPSIS π
mt-dds comp-on|comp-off|comp-query|comp-log
mt-dds < tell|label > [ -b # ]
π¦ DESCRIPTION π¦
Okay so mt-dds controls the compression mode of dds tape devices (DAT). No cap.
It may also report the current tape position in absolute records (relative to begin of tape) in a format that may be used later by dds2tar(1) to access tar archives that are not the first file on tape. Very helpful little main character behavior.
The default device is /dev/rmt0, which may be overridden with the environment variable TAPE, which in turn may be overridden with the -f device option. The device must be a character special file. That part is non-negotiable, bestie.
π OPTIONS π
πΈ DDS tape device control options πΈ
comp-onβ Enable the hardware compression mode if supported by the device. Slay, but only if the device says yes.comp-offβ Disable the compression mode, switch to normal mode.comp-queryβ Print to stderr whether compression mode currently is disabled or enabled. A0means compression is disabled, a1means compression is enabled. Vibe check complete.comp-logβ Print to stdout four lines of information about transferred kilobytes before and after hardware compression from and to the device since initialization. Four whole lines, periodt.
π dds2tar service functions π
tellβ Print three lines with the current tape position, a block size value (20by default, may be overridden with the-boption) and a block length value (blocksize*512) to stdout. If this output is redirected to a location filelocfile, this file may be used bydds2tar(1)to access archives on tape. Little location bestie.labelβ If the current tape position is the beginning of an archive and the archive is labeled,mt-ddswrites the label to stdout and moves the tape back to the current position (or back over the filemark). Respectful tape movement, we love to see it.tsβ If the current tape position is the beginning of an archive and the archive is labeled,mt-ddswrites the timestamp in octal format to stdout and moves the tape back to the current position (or back over the filemark). If you are using only one computer, the timestamp can be used as a unique archive identifier.-b #β Specify the block size#value that is used as a default for the written value with themt-dds tellcommand (see above). Also the internal buffer size is specified with this option which is used to read one block in order to get the block size of the current tape block. So specify the block size of the archive or a larger number. Do not skimp on the block size, bestie.
β other options β
-f deviceβ Device of the tape archive (default is/dev/rmt0). Must be a character special file connected to a dds tape device.-V,--versionβ Print the version number ofmt-ddsto stderr and exit immediately.--helpβ Print some screens of online help with examples through a pager and exit immediately.
π EXAMPLES π
Example 1: checking the compression mode of the default tape device
mt-dds comp-query
Example 2: Write the location information as dds2tar command line options to stdout.
mt-dds
π ENVIRONMENT π
TAPEβ The environment variableTAPEoverrides the default tape device/dev/rmt0.PAGERβ The environment variablePAGERoverrides the builtin pager command ("/bin/more") to display the output of the--helpoption.
π₯ SEE ALSO π₯
dds2tar(1), dds2index(1), mt(1), tar(1)
π HISTORY π
This program was created to use it in conjunction with dds2tar.
π AUTHOR π
J"org Weule (weule@cs.uni-duesseldorf.de), Phone +49 211 751409. This software is available at ftp.uni-duesseldorf.de:/pub/unix/apollo
Thatβs the whole mt-dds(1L) moment, version 2.4 energy β and the footer didnβt give a date, so Iβm not inventing one. Periodt. π
π¦ where this page comes from
- opensuse-leap 16.0: dds2tar 2.5.2-bp160.1.12 Β· GPL-2.0-or-later
- opensuse-leap 16.0: dds2tar 2.5.2-bp160.1.12 Β· GPL-2.0-or-later
- opensuse-leap 16.0: dds2tar 2.5.2-bp160.1.12 Β· GPL-2.0-or-later
- opensuse-leap 16.0: dds2tar 2.5.2-bp160.1.12 Β· GPL-2.0-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms