xref: /freebsd/usr.bin/mt/mt.1 (revision 452c3e9514cbaaced8997458e34bb07b51c29bc9)
19b50d902SRodney W. Grimes.\" Copyright (c) 1981, 1990, 1993
29b50d902SRodney W. Grimes.\"	The Regents of the University of California.  All rights reserved.
39b50d902SRodney W. Grimes.\"
49b50d902SRodney W. Grimes.\"
59b50d902SRodney W. Grimes.\" Redistribution and use in source and binary forms, with or without
69b50d902SRodney W. Grimes.\" modification, are permitted provided that the following conditions
79b50d902SRodney W. Grimes.\" are met:
89b50d902SRodney W. Grimes.\" 1. Redistributions of source code must retain the above copyright
99b50d902SRodney W. Grimes.\"    notice, this list of conditions and the following disclaimer.
109b50d902SRodney W. Grimes.\" 2. Redistributions in binary form must reproduce the above copyright
119b50d902SRodney W. Grimes.\"    notice, this list of conditions and the following disclaimer in the
129b50d902SRodney W. Grimes.\"    documentation and/or other materials provided with the distribution.
13fbbd9655SWarner Losh.\" 3. Neither the name of the University nor the names of its contributors
149b50d902SRodney W. Grimes.\"    may be used to endorse or promote products derived from this software
159b50d902SRodney W. Grimes.\"    without specific prior written permission.
169b50d902SRodney W. Grimes.\"
179b50d902SRodney W. Grimes.\" THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND
189b50d902SRodney W. Grimes.\" ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
199b50d902SRodney W. Grimes.\" IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
209b50d902SRodney W. Grimes.\" ARE DISCLAIMED.  IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE
219b50d902SRodney W. Grimes.\" FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
229b50d902SRodney W. Grimes.\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
239b50d902SRodney W. Grimes.\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
249b50d902SRodney W. Grimes.\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
259b50d902SRodney W. Grimes.\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
269b50d902SRodney W. Grimes.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
279b50d902SRodney W. Grimes.\" SUCH DAMAGE.
289b50d902SRodney W. Grimes.\"
2983823d06SKenneth D. Merry.Dd October 31, 2023
309b50d902SRodney W. Grimes.Dt MT 1
3162500372SRuslan Ermilov.Os
329b50d902SRodney W. Grimes.Sh NAME
339b50d902SRodney W. Grimes.Nm mt
349b50d902SRodney W. Grimes.Nd magnetic tape manipulating program
359b50d902SRodney W. Grimes.Sh SYNOPSIS
368fe908efSRuslan Ermilov.Nm
379b50d902SRodney W. Grimes.Op Fl f Ar tapename
389b50d902SRodney W. Grimes.Ar command
399b50d902SRodney W. Grimes.Op Ar count
40f0ab9f7bSGary W. Swearingen.Nm
41f0ab9f7bSGary W. Swearingen.Op Fl f Ar tapename
42f0ab9f7bSGary W. Swearingen.Ar command
43f0ab9f7bSGary W. Swearingen.Ar argument
449b50d902SRodney W. Grimes.Sh DESCRIPTION
45e8937ba0SPhilippe CharnierThe
46e8937ba0SPhilippe Charnier.Nm
47f0ab9f7bSGary W. Swearingenutility is used to command a magnetic tape drive for operations
48f0ab9f7bSGary W. Swearingenother than reading or writing data.
49f0ab9f7bSGary W. Swearingen.Pp
50f0ab9f7bSGary W. SwearingenThe
51f0ab9f7bSGary W. Swearingen.Fl f
52f0ab9f7bSGary W. Swearingenoption's
53f0ab9f7bSGary W. Swearingen.Ar tapename
544e9e907dSRuslan Ermilovoverrides the
554e9e907dSRuslan Ermilov.Ev TAPE
564e9e907dSRuslan Ermilovenvironment variable described below.
579b50d902SRodney W. Grimes.Pp
586a3e8b0aSRuslan ErmilovThe available commands are listed below.
596a3e8b0aSRuslan ErmilovOnly as many
609b50d902SRodney W. Grimescharacters as are required to uniquely identify a command
619b50d902SRodney W. Grimesneed be specified.
62f0ab9f7bSGary W. Swearingen.Pp
63f0ab9f7bSGary W. SwearingenThe following commands optionally take a
64f0ab9f7bSGary W. Swearingen.Ar count ,
65f0ab9f7bSGary W. Swearingenwhich defaults to 1.
664e9e907dSRuslan Ermilov.Bl -tag -width ".Cm erase"
67a471a8c3SJoerg Wunsch.It Cm weof
689b50d902SRodney W. GrimesWrite
699b50d902SRodney W. Grimes.Ar count
70f0ab9f7bSGary W. Swearingenend-of-file (EOF) marks at the current position.
7143518607SKenneth D. MerryThis returns when the file mark has been written to the media.
7243518607SKenneth D. Merry.It Cm weofi
7343518607SKenneth D. MerryWrite
7443518607SKenneth D. Merry.Ar count
7543518607SKenneth D. Merryend-of-file (EOF) marks at the current position.
7643518607SKenneth D. MerryThis returns as soon as the command has been validated by the tape drive.
7749f86547SMatt Jacob.It Cm smk
7849f86547SMatt JacobWrite
7949f86547SMatt Jacob.Ar count
80e322ed0fSTom Rhodessetmarks at the current position (DDS drives only).
819b50d902SRodney W. Grimes.It Cm fsf
829b50d902SRodney W. GrimesForward space
839b50d902SRodney W. Grimes.Ar count
849b50d902SRodney W. Grimesfiles.
859b50d902SRodney W. Grimes.It Cm fsr
869b50d902SRodney W. GrimesForward space
879b50d902SRodney W. Grimes.Ar count
889b50d902SRodney W. Grimesrecords.
8949f86547SMatt Jacob.It Cm fss
9049f86547SMatt JacobForward space
9149f86547SMatt Jacob.Ar count
92e322ed0fSTom Rhodessetmarks (DDS drives only).
939b50d902SRodney W. Grimes.It Cm bsf
9449f86547SMatt JacobBackward space
959b50d902SRodney W. Grimes.Ar count
969b50d902SRodney W. Grimesfiles.
979b50d902SRodney W. Grimes.It Cm bsr
9849f86547SMatt JacobBackward space
999b50d902SRodney W. Grimes.Ar count
1009b50d902SRodney W. Grimesrecords.
10149f86547SMatt Jacob.It Cm bss
10249f86547SMatt JacobBackward space
10349f86547SMatt Jacob.Ar count
104e322ed0fSTom Rhodessetmarks (DDS drives only).
105f0ab9f7bSGary W. Swearingen.It Cm erase
106f0ab9f7bSGary W. SwearingenErase the tape using a long (often very long) method.
107f0ab9f7bSGary W. SwearingenWith a
108f0ab9f7bSGary W. Swearingen.Ar count
109f0ab9f7bSGary W. Swearingenof 0, it will erase the tape using a quick method.
110f0ab9f7bSGary W. SwearingenOperation is not guaranteed if the tape is not at its beginning.
111f0ab9f7bSGary W. SwearingenThe tape will be at its beginning upon completion.
112f0ab9f7bSGary W. Swearingen.El
113f0ab9f7bSGary W. Swearingen.Pp
114f0ab9f7bSGary W. SwearingenThe following commands ignore
115f0ab9f7bSGary W. Swearingen.Ar count .
1164e9e907dSRuslan Ermilov.Bl -tag -width ".Cm geteotmodel"
11749f86547SMatt Jacob.It Cm rdhpos
118f0ab9f7bSGary W. SwearingenRead the hardware block position.
11987faa07bSSheldon HearnThe block
12087faa07bSSheldon Hearnnumber reported is specific for that hardware only.
121f0ab9f7bSGary W. SwearingenWith drive data compression especially,
122f0ab9f7bSGary W. Swearingenthis position may have more to do with the amount of data
123f0ab9f7bSGary W. Swearingensent to the drive than the amount of data written to tape.
124f0ab9f7bSGary W. SwearingenSome drives do not support this.
12549f86547SMatt Jacob.It Cm rdspos
126f0ab9f7bSGary W. SwearingenRead the SCSI logical block position.
127f0ab9f7bSGary W. SwearingenThis typically is greater than the hardware position
128f0ab9f7bSGary W. Swearingenby the number of end-of-file marks.
1294e86fcacSSheldon HearnSome drives do not support this.
1309b50d902SRodney W. Grimes.It Cm rewind
131f0ab9f7bSGary W. SwearingenRewind the tape.
1329b50d902SRodney W. Grimes.It Cm offline , rewoffl
133f0ab9f7bSGary W. SwearingenRewind the tape and place the drive off line.
134f0ab9f7bSGary W. SwearingenSome drives are never off line.
13543518607SKenneth D. Merry.It Cm load
13643518607SKenneth D. MerryLoad the tape into the drive.
1371637891aSJoerg Wunsch.It Cm retension
138f0ab9f7bSGary W. SwearingenRe-tension the tape.
139f0ab9f7bSGary W. SwearingenThis winds the tape from the current position to the end
140f0ab9f7bSGary W. Swearingenand then to the beginning.
141f0ab9f7bSGary W. SwearingenThis sometimes improves subsequent reading and writing,
142f0ab9f7bSGary W. Swearingenparticularly for streaming drives.
143f0ab9f7bSGary W. SwearingenSome drives do not support this.
14443518607SKenneth D. Merry.It Cm ostatus
145f0ab9f7bSGary W. SwearingenOutput status information about the drive.
14687faa07bSSheldon HearnFor SCSI magnetic tape devices,
14749f86547SMatt Jacobthe current operating modes of density, blocksize, and whether compression
14887faa07bSSheldon Hearnis enabled is reported.
14987faa07bSSheldon HearnThe current state of the driver (what it thinks that
15087faa07bSSheldon Hearnit is doing with the device) is reported.
15187faa07bSSheldon HearnIf the driver knows the relative
152f0ab9f7bSGary W. Swearingenposition from BOT (in terms of filemarks and records), it outputs that.
15387faa07bSSheldon HearnNote
15449f86547SMatt Jacobthat this information is not definitive (only BOT, End of Recorded Media, and
15549f86547SMatt Jacobhardware or SCSI logical block position (if the drive supports such) are
156768229abSGuy Helmerconsidered definitive tape positions).
15743518607SKenneth D. Merry.Pp
15843518607SKenneth D. MerryAlso note that this is the old status command, and will be eliminated in
15943518607SKenneth D. Merryfavor of the new status command (see below) in a future release.
16049f86547SMatt Jacob.It Cm errstat
161f0ab9f7bSGary W. SwearingenOutput (and clear) error status information about this device.
16287faa07bSSheldon HearnFor every normal
16349f86547SMatt Jacoboperation (e.g., a read or a write) and every control operation (e.g,, a
16436a142c4SRuslan Ermilovrewind), the driver stores up the last command executed and it is associated
1656a3e8b0aSRuslan Ermilovstatus and any residual counts (if any).
166f0ab9f7bSGary W. SwearingenThis command retrieves and outputs this
16787faa07bSSheldon Hearninformation.
16887faa07bSSheldon HearnIf possible, this also clears any latched error information.
169dc06ef27SMatt Jacob.It Cm geteotmodel
170f0ab9f7bSGary W. SwearingenOutput the current EOT filemark model.
17187faa07bSSheldon HearnThe model states how
172dc06ef27SMatt Jacobmany filemarks will be written at close if a tape was being written.
173f0ab9f7bSGary W. Swearingen.It Cm eod , eom
174f0ab9f7bSGary W. SwearingenWind the tape to the end of the recorded data,
175f0ab9f7bSGary W. Swearingentypically after an EOF mark where another file may be written.
17643518607SKenneth D. Merry.It Cm rblim
17743518607SKenneth D. MerryReport the block limits of the tape drive, including the minimum and
17843518607SKenneth D. Merrymaximum block size, and the block granularity if any.
179f0ab9f7bSGary W. Swearingen.El
180f0ab9f7bSGary W. Swearingen.Pp
18143518607SKenneth D. MerryThe following commands may require an
182f0ab9f7bSGary W. Swearingen.Ar argument .
1834e9e907dSRuslan Ermilov.Bl -tag -width ".Cm seteotmodel"
184f0ab9f7bSGary W. Swearingen.It Cm sethpos
185f0ab9f7bSGary W. SwearingenSet the hardware block position.
186f0ab9f7bSGary W. SwearingenThe
187f0ab9f7bSGary W. Swearingen.Ar argument
188f0ab9f7bSGary W. Swearingenis a hardware block number to which to position the tape.
189f0ab9f7bSGary W. SwearingenSome drives do not support this.
190f0ab9f7bSGary W. Swearingen.It Cm setspos
191f0ab9f7bSGary W. SwearingenSet the SCSI logical block position.
192f0ab9f7bSGary W. SwearingenThe
193f0ab9f7bSGary W. Swearingen.Ar argument
194f0ab9f7bSGary W. Swearingenis a SCSI logical block number to which to position the tape.
195f0ab9f7bSGary W. SwearingenSome drives do not support this.
196f0ab9f7bSGary W. Swearingen.It Cm blocksize
197f0ab9f7bSGary W. SwearingenSet the block size for the drive.
198f0ab9f7bSGary W. SwearingenThe
199f0ab9f7bSGary W. Swearingen.Ar argument
200f0ab9f7bSGary W. Swearingenis the number of bytes per block,
201f0ab9f7bSGary W. Swearingenexcept 0 commands the drive to use variable-length blocks.
202dc06ef27SMatt Jacob.It Cm seteotmodel
203f0ab9f7bSGary W. SwearingenSet the EOT filemark model to
204f0ab9f7bSGary W. Swearingen.Ar argument
205f0ab9f7bSGary W. Swearingenand output the old and new models.
206f0ab9f7bSGary W. SwearingenTypically this will be 2
207dc06ef27SMatt Jacobfilemarks, but some devices (typically QIC cartridge drives) can
208f0ab9f7bSGary W. Swearingenonly write 1 filemark.
209f0ab9f7bSGary W. SwearingenYou may only choose a value of
210dc06ef27SMatt Jacob.Ar 1
211dc06ef27SMatt Jacobor
212dc06ef27SMatt Jacob.Ar 2 .
21343518607SKenneth D. Merry.It Cm status
21443518607SKenneth D. MerryOutput status information about the drive.
21543518607SKenneth D. MerryFor SCSI magnetic tape devices,
21643518607SKenneth D. Merrythe current operating modes of density, blocksize, and whether compression
21743518607SKenneth D. Merryis enabled is reported.
21843518607SKenneth D. MerryThe current state of the driver (what it thinks that
21943518607SKenneth D. Merryit is doing with the device) is reported.
22043518607SKenneth D. Merry.Pp
22143518607SKenneth D. MerryIf the driver knows the relative
22243518607SKenneth D. Merryposition from BOT (in terms of filemarks and records), it outputs that.
22343518607SKenneth D. MerryIf the tape drive supports the long form report of the
22443518607SKenneth D. Merry.Tn SCSI
22543518607SKenneth D. MerryREAD POSITION command, the Reported File Number and Reported Record Number
22643518607SKenneth D. Merrywill be numbers other than -1, and there may be Flags reported as well.
22743518607SKenneth D. Merry.Pp
22843518607SKenneth D. MerryThe BOP flag means that the logical position of the drive is at the
22943518607SKenneth D. Merrybeginning of the partition.
23043518607SKenneth D. Merry.Pp
23143518607SKenneth D. MerryThe EOP flag means that the logical position of the drive is between Early
23243518607SKenneth D. MerryWarning and End of Partition.
23343518607SKenneth D. Merry.Pp
23443518607SKenneth D. MerryThe BPEW flag means that the logical position of the drive is in a
23543518607SKenneth D. MerryProgrammable Early Warning Zone or on the EOP side of Early Warning.
23643518607SKenneth D. Merry.Pp
23743518607SKenneth D. MerryNote that the Reported Record Number is the tape block or object number
23843518607SKenneth D. Merryrelative to the beginning of the partition.
23943518607SKenneth D. MerryThe Calculated Record Number is the tape block or object number relative
24043518607SKenneth D. Merryto the previous file mark.
24143518607SKenneth D. Merry.Pp
24243518607SKenneth D. MerryNote
24343518607SKenneth D. Merrythat the Calculated File and Record Numbers are not definitive.
24443518607SKenneth D. MerryThe Reported File and Record Numbers are definitive, if they are numbers
24543518607SKenneth D. Merryother than -1.
24643518607SKenneth D. Merry.Bl -tag -width 6n
24743518607SKenneth D. Merry.It Fl v
24843518607SKenneth D. MerryPrint additional status information, such as the maximum supported I/O
24943518607SKenneth D. Merrysize.
25043518607SKenneth D. Merry.It Fl x
25143518607SKenneth D. MerryPrint all available status data to stdout in XML format.
25243518607SKenneth D. Merry.El
25343518607SKenneth D. Merry.It Cm getdensity
25443518607SKenneth D. MerryReport density support information for the tape drive and any media that is
25543518607SKenneth D. Merryloaded.
25643518607SKenneth D. MerryMost drives will report at least basic density information similar to that
25743518607SKenneth D. Merryreported by
25843518607SKenneth D. Merry.Nm status
25943518607SKenneth D. Merrycommand.
26043518607SKenneth D. MerryNewer tape drives that conform to the T-10 SSC and newer tape
26143518607SKenneth D. Merryspecifications may report more detailed information about the types of
26243518607SKenneth D. Merrytapes they support and the tape currently in the drive.
26343518607SKenneth D. Merry.Bl -tag -width 6n
26443518607SKenneth D. Merry.It Fl x
26543518607SKenneth D. MerryPrint all available density data to stdout in XML format.
26643518607SKenneth D. MerryBecause density information is currently included in the general status XML
26743518607SKenneth D. Merryreport used for
26843518607SKenneth D. Merry.Nm
26943518607SKenneth D. Merrystatus command, this will be the same XML output via
27043518607SKenneth D. Merry.Do
27143518607SKenneth D. Merry.Nm
27243518607SKenneth D. Merrystatus
27343518607SKenneth D. Merry.Fl x
27443518607SKenneth D. Merry.Dc
27543518607SKenneth D. Merry.El
27643518607SKenneth D. Merry.It Cm param
27743518607SKenneth D. MerryDisplay or set parameters.
27843518607SKenneth D. MerryOne of
27943518607SKenneth D. Merry.Fl l ,
28043518607SKenneth D. Merry.Fl s ,
28143518607SKenneth D. Merryor
28243518607SKenneth D. Merry.Fl x
28343518607SKenneth D. Merrymust be specified to indicate which operation to perform.
28464409eeeSKenneth D. MerrySee
28564409eeeSKenneth D. Merry.Xr sa 4
28664409eeeSKenneth D. Merryfor more detailed information on the parameters.
28743518607SKenneth D. Merry.Bl -tag -width 8n
28843518607SKenneth D. Merry.It Fl l
28943518607SKenneth D. MerryList parameters, values and descriptions.
29043518607SKenneth D. MerryBy default all parameters will be displayed.
29143518607SKenneth D. MerryTo display a specific parameter, specify the parameter with
29243518607SKenneth D. Merry.Fl p .
29343518607SKenneth D. Merry.It Fl p Ar name
29443518607SKenneth D. MerrySpecify the parameter name to list (with
29543518607SKenneth D. Merry.Fl l )
29643518607SKenneth D. Merryor set (with
29743518607SKenneth D. Merry.Fl s ) .
29843518607SKenneth D. Merry.It Fl q
29943518607SKenneth D. MerryEnable quiet mode for parameter listing.
30043518607SKenneth D. MerryThis will suppress printing of parameter descriptions.
30143518607SKenneth D. Merry.It Fl s Ar value
30243518607SKenneth D. MerrySpecify the parameter value to set.
30343518607SKenneth D. MerryThe general type of this argument (integer, unsigned integer, string) is
30443518607SKenneth D. Merrydetermined by the type of the variable indicated by the
30543518607SKenneth D. Merry.Xr sa 4
30643518607SKenneth D. Merrydriver.
30743518607SKenneth D. MerryMore detailed argument checking is done by the
30843518607SKenneth D. Merry.Xr sa 4
30943518607SKenneth D. Merrydriver.
31043518607SKenneth D. Merry.It Fl x
31143518607SKenneth D. MerryPrint out all parameter information in XML format.
31243518607SKenneth D. Merry.El
31343518607SKenneth D. Merry.It Cm protect
31443518607SKenneth D. MerryDisplay or set drive protection parameters.
31543518607SKenneth D. MerryThis is used to control checking and reporting a per-block checksum for
31643518607SKenneth D. Merrytape drives that support it.
31743518607SKenneth D. MerrySome drives may only support some parameters.
31843518607SKenneth D. Merry.Bl -tag -width 8n
31943518607SKenneth D. Merry.It Fl b Ar 0|1
32043518607SKenneth D. MerrySet the Recover Buffered Data Protected bit.
32143518607SKenneth D. MerryIf set, this indicates that checksums are transferred with the logical
32243518607SKenneth D. Merryblocks transferred by the RECOVERED BUFFERED DATA
32343518607SKenneth D. Merry.Tn SCSI
32443518607SKenneth D. Merrycommand.
32543518607SKenneth D. Merry.It Fl d
32643518607SKenneth D. MerryDisable all protection information settings.
32743518607SKenneth D. Merry.It Fl e
32843518607SKenneth D. MerryEnable all protection information settings.
32943518607SKenneth D. MerryThe default protection method used is Reed-Solomon CRC (protection method
33043518607SKenneth D. Merry1), as specified in ECMA-319.
33143518607SKenneth D. MerryThe default protection information length used with Reed-Solomon CRC is
33243518607SKenneth D. Merry4 bytes.
33374a90ba3SKenneth D. MerryTo enable all settings except one more setting, specify the
33443518607SKenneth D. Merry.Fl e
33543518607SKenneth D. Merryargument and then explicitly disable settings that you do not wish to
33643518607SKenneth D. Merryenable.
33743518607SKenneth D. MerryFor example, specifying
33843518607SKenneth D. Merry.Fl e
33943518607SKenneth D. Merry.Fl w Ar 0
34043518607SKenneth D. Merrywill enable all settings except for LBP_W.
34143518607SKenneth D. Merry.It Fl l
342*452c3e95SYu-Hsun ChenList available protection parameters and their current settings.
34343518607SKenneth D. Merry.It Fl L Ar len
34443518607SKenneth D. MerrySet the length of the protection information in bytes.
34543518607SKenneth D. MerryFor Reed-Solomon CRC, the protection information length should be 4 bytes.
34643518607SKenneth D. Merry.It Fl m Ar num
34743518607SKenneth D. MerrySpecify the numeric value for the protection method.
34843518607SKenneth D. MerryThe numeric value for Reed-Solomon CRC is 1.
34943518607SKenneth D. Merry.It Fl r Ar 0|1
35043518607SKenneth D. MerrySet the LBP_R parameter.
35143518607SKenneth D. MerryWhen set, this indicates that each block read from the tape drive will
35243518607SKenneth D. Merryhave a checksum at the end.
35343518607SKenneth D. Merry.It Fl v
35443518607SKenneth D. MerryEnable verbose mode for parameter listing.
35543518607SKenneth D. MerryThis will include descriptions of each parameter.
35643518607SKenneth D. Merry.It Fl w Ar 0|1
35743518607SKenneth D. MerrySet the LBP_W parameter.
35843518607SKenneth D. MerryWhen set, this indicates that each block written to the tape drive will have
35943518607SKenneth D. Merrya checksum at the end.
36043518607SKenneth D. MerryThe drive will verify the checksum before writing the block to tape.
36143518607SKenneth D. Merry.El
36243518607SKenneth D. Merry.It Cm locate
36343518607SKenneth D. MerrySet the tape drive's logical position.
36443518607SKenneth D. MerryOne of
36543518607SKenneth D. Merry.Fl b ,
36643518607SKenneth D. Merry.Fl e ,
36743518607SKenneth D. Merry.Fl f ,
36843518607SKenneth D. Merryor
36943518607SKenneth D. Merry.Fl s
37043518607SKenneth D. Merrymust be specified to indicate the type of position.
37143518607SKenneth D. MerryIf the partition number is specified, the drive will first relocate to the
37243518607SKenneth D. Merrygiven partition (if it exists) and then to the position indicated within
37343518607SKenneth D. Merrythat partition.
37443518607SKenneth D. MerryIf the partition number is not specified, the drive will relocate to the
37543518607SKenneth D. Merrygiven position within the current partition.
37643518607SKenneth D. Merry.Bl -tag -width 14n
37743518607SKenneth D. Merry.It Fl b Ar block_addr
37843518607SKenneth D. MerryRelocate to the given tape block or logical object identifier.
37943518607SKenneth D. MerryNote that the block number is the Reported Record Number that is relative
38043518607SKenneth D. Merryto the beginning of the partition (or beginning of tape).
38143518607SKenneth D. Merry.It Fl e
38243518607SKenneth D. MerryRelocate to the end of data.
38343518607SKenneth D. Merry.It Fl f Ar fileno
38443518607SKenneth D. MerryRelocate to the given file number.
38543518607SKenneth D. Merry.It Fl p Ar partition
38643518607SKenneth D. MerrySpecify the partition to change to.
38743518607SKenneth D. Merry.It Fl s Ar setmark
38843518607SKenneth D. MerryRelocate to the given set mark.
38943518607SKenneth D. Merry.El
3901146dedeSJoerg Wunsch.It Cm comp
391f0ab9f7bSGary W. SwearingenSet the drive's compression mode.
392f0ab9f7bSGary W. SwearingenThe non-numeric values of
393f0ab9f7bSGary W. Swearingen.Ar argument
394f0ab9f7bSGary W. Swearingenare:
395bb7f7804SJustin T. Gibbs.Pp
3969b88faecSRuslan Ermilov.Bl -tag -width 9n -compact
397bb7f7804SJustin T. Gibbs.It off
398e91b5c52SPhilippe CharnierTurn compression off.
399bb7f7804SJustin T. Gibbs.It on
400e91b5c52SPhilippe CharnierTurn compression on.
401bb7f7804SJustin T. Gibbs.It none
402bb7f7804SJustin T. GibbsSame as
403e91b5c52SPhilippe Charnier.Ar off .
404bb7f7804SJustin T. Gibbs.It enable
405bb7f7804SJustin T. GibbsSame as
406e91b5c52SPhilippe Charnier.Ar on .
407bb7f7804SJustin T. Gibbs.It IDRC
408bb7f7804SJustin T. GibbsIBM Improved Data Recording Capability compression (0x10).
409bb7f7804SJustin T. Gibbs.It DCLZ
410bb7f7804SJustin T. GibbsDCLZ compression algorithm (0x20).
411bb7f7804SJustin T. Gibbs.El
412bb7f7804SJustin T. Gibbs.Pp
413bb7f7804SJustin T. GibbsIn addition to the above recognized compression keywords, the user can
414f0ab9f7bSGary W. Swearingensupply a numeric compression algorithm for the drive to use.
4156a3e8b0aSRuslan ErmilovIn most
416bb7f7804SJustin T. Gibbscases, simply turning the compression
417bb7f7804SJustin T. Gibbs.Sq on
418bb7f7804SJustin T. Gibbswill have the desired effect of enabling the default compression algorithm
4196a3e8b0aSRuslan Ermilovsupported by the drive.
4206a3e8b0aSRuslan ErmilovIf this is not the case (see the
421bb7f7804SJustin T. Gibbs.Cm status
422bb7f7804SJustin T. Gibbsdisplay to see which compression algorithm is currently in use), the user
423bb7f7804SJustin T. Gibbscan manually specify one of the supported compression keywords (above), or
424f0ab9f7bSGary W. Swearingensupply a numeric compression value from the drive's specifications.
42543518607SKenneth D. Merry.Pp
42643518607SKenneth D. MerryNote that for some older tape drives (for example the Exabyte 8200 and 8500
42743518607SKenneth D. Merryseries drives) it is necessary to switch to a different density to tell the
42843518607SKenneth D. Merrydrive to record data in its compressed format.
42943518607SKenneth D. MerryIf the user attempts to turn compression on while the uncompressed density
43043518607SKenneth D. Merryis selected, the drive will return an error.
43143518607SKenneth D. MerryThis is generally not an issue for modern tape drives.
432f0ab9f7bSGary W. Swearingen.It Cm density
433f0ab9f7bSGary W. SwearingenSet the density for the drive.
434f0ab9f7bSGary W. SwearingenFor the density codes, see below.
435f0ab9f7bSGary W. SwearingenThe density value could be given either numerically, or as a string,
436f0ab9f7bSGary W. Swearingencorresponding to the
437f0ab9f7bSGary W. Swearingen.Dq Reference
438f0ab9f7bSGary W. Swearingenfield.
439f0ab9f7bSGary W. SwearingenIf the string is abbreviated, it will be resolved in the order
440f0ab9f7bSGary W. Swearingenshown in the table, and the first matching entry will be used.
441f0ab9f7bSGary W. SwearingenIf the
442f0ab9f7bSGary W. Swearingengiven string and the resulting canonical density name do not match
443f0ab9f7bSGary W. Swearingenexactly, an informational message is output about what the given
444f0ab9f7bSGary W. Swearingenstring has been taken for.
4459b50d902SRodney W. Grimes.El
4469b50d902SRodney W. Grimes.Pp
44743518607SKenneth D. MerryThe initial version of the density table below was taken from the
448bb7f7804SJustin T. Gibbs.Sq Historical sequential access density codes
449bb7f7804SJustin T. Gibbstable (A-1) in Revision 11 of the SCSI-3 Stream Device Commands (SSC)
450bb7f7804SJustin T. Gibbsworking draft, dated November 11, 1997.
45143518607SKenneth D. MerrySubsequent additions have come from a number of sources.
452bb7f7804SJustin T. Gibbs.Pp
453f0ab9f7bSGary W. SwearingenThe density codes are:
45443518607SKenneth D. Merry.Bd -literal -offset 2n
455f0ab9f7bSGary W. Swearingen0x0    default for device
456f0ab9f7bSGary W. Swearingen0xE    reserved for ECMA
4574e9e907dSRuslan Ermilov
458bb7f7804SJustin T. GibbsValue  Width        Tracks    Density         Code Type Reference   Note
459bb7f7804SJustin T. Gibbs        mm    in              bpmm       bpi
460bb7f7804SJustin T. Gibbs0x01   12.7  (0.5)    9         32     (800)  NRZI  R   X3.22-1983   2
461bb7f7804SJustin T. Gibbs0x02   12.7  (0.5)    9         63   (1,600)  PE    R   X3.39-1986   2
462bb7f7804SJustin T. Gibbs0x03   12.7  (0.5)    9        246   (6,250)  GCR   R   X3.54-1986   2
46374a90ba3SKenneth D. Merry0x05    6.3  (0.25)  4/9       315   (8,000)  GCR   C   X3.136-1986  1,3
464bb7f7804SJustin T. Gibbs0x06   12.7  (0.5)    9        126   (3,200)  PE    R   X3.157-1987  2
465bb7f7804SJustin T. Gibbs0x07    6.3  (0.25)   4        252   (6,400)  IMFM  C   X3.116-1986  1
466bb7f7804SJustin T. Gibbs0x08    3.81 (0.15)   4        315   (8,000)  GCR   CS  X3.158-1987  1
467bb7f7804SJustin T. Gibbs0x09   12.7  (0.5)   18      1,491  (37,871)  GCR   C   X3.180       2
468bb7f7804SJustin T. Gibbs0x0A   12.7  (0.5)   22        262   (6,667)  MFM   C   X3B5/86-199  1
469bb7f7804SJustin T. Gibbs0x0B    6.3  (0.25)   4         63   (1,600)  PE    C   X3.56-1986   1
470bb7f7804SJustin T. Gibbs0x0C   12.7  (0.5)   24        500  (12,690)  GCR   C   HI-TC1       1,6
471bb7f7804SJustin T. Gibbs0x0D   12.7  (0.5)   24        999  (25,380)  GCR   C   HI-TC2       1,6
472bb7f7804SJustin T. Gibbs0x0F    6.3  (0.25)  15        394  (10,000)  GCR   C   QIC-120      1,6
473bb7f7804SJustin T. Gibbs0x10    6.3  (0.25)  18        394  (10,000)  GCR   C   QIC-150      1,6
474bb7f7804SJustin T. Gibbs0x11    6.3  (0.25)  26        630  (16,000)  GCR   C   QIC-320      1,6
475bb7f7804SJustin T. Gibbs0x12    6.3  (0.25)  30      2,034  (51,667)  RLL   C   QIC-1350     1,6
476bb7f7804SJustin T. Gibbs0x13    3.81 (0.15)   1      2,400  (61,000)  DDS   CS  X3B5/88-185A 5
47743518607SKenneth D. Merry0x14    8.0  (0.315)  1      1,703  (43,245)  RLL   CS  X3.202-1991  5,11
47843518607SKenneth D. Merry0x15    8.0  (0.315)  1      1,789  (45,434)  RLL   CS  ECMA TC17    5,12
479bb7f7804SJustin T. Gibbs0x16   12.7  (0.5)   48        394  (10,000)  MFM   C   X3.193-1990  1
480bb7f7804SJustin T. Gibbs0x17   12.7  (0.5)   48      1,673  (42,500)  MFM   C   X3B5/91-174  1
481bb7f7804SJustin T. Gibbs0x18   12.7  (0.5)  112      1,673  (42,500)  MFM   C   X3B5/92-50   1
482bd275d1aSJoerg Wunsch0x19   12.7  (0.5)  128      2,460  (62,500)  RLL   C   DLTapeIII    6,7
483bd275d1aSJoerg Wunsch0x1A   12.7  (0.5)  128      3,214  (81,633)  RLL   C   DLTapeIV(20) 6,7
484bd275d1aSJoerg Wunsch0x1B   12.7  (0.5)  208      3,383  (85,937)  RLL   C   DLTapeIV(35) 6,7
485bb7f7804SJustin T. Gibbs0x1C    6.3  (0.25)  34      1,654  (42,000)  MFM   C   QIC-385M     1,6
486bb7f7804SJustin T. Gibbs0x1D    6.3  (0.25)  32      1,512  (38,400)  GCR   C   QIC-410M     1,6
487bb7f7804SJustin T. Gibbs0x1E    6.3  (0.25)  30      1,385  (36,000)  GCR   C   QIC-1000C    1,6
488bb7f7804SJustin T. Gibbs0x1F    6.3  (0.25)  30      2,666  (67,733)  RLL   C   QIC-2100C    1,6
489bb7f7804SJustin T. Gibbs0x20    6.3  (0.25) 144      2,666  (67,733)  RLL   C   QIC-6GB(M)   1,6
490bb7f7804SJustin T. Gibbs0x21    6.3  (0.25) 144      2,666  (67,733)  RLL   C   QIC-20GB(C)  1,6
491bb7f7804SJustin T. Gibbs0x22    6.3  (0.25)  42      1,600  (40,640)  GCR   C   QIC-2GB(C)   ?
492bb7f7804SJustin T. Gibbs0x23    6.3  (0.25)  38      2,666  (67,733)  RLL   C   QIC-875M     ?
493bb7f7804SJustin T. Gibbs0x24    3.81 (0.15)   1      2,400  (61,000)        CS  DDS-2        5
494bb7f7804SJustin T. Gibbs0x25    3.81 (0.15)   1      3,816  (97,000)        CS  DDS-3        5
495bb7f7804SJustin T. Gibbs0x26    3.81 (0.15)   1      3,816  (97,000)        CS  DDS-4        5
496bb7f7804SJustin T. Gibbs0x27    8.0  (0.315)  1      3,056  (77,611)  RLL   CS  Mammoth      5
497bb7f7804SJustin T. Gibbs0x28   12.7  (0.5)   36      1,491  (37,871)  GCR   C   X3.224       1
498bb7f7804SJustin T. Gibbs0x29   12.7  (0.5)
499bb7f7804SJustin T. Gibbs0x2A
500bb7f7804SJustin T. Gibbs0x2B   12.7  (0.5)    3          ?        ?     ?   C   X3.267       5
50143518607SKenneth D. Merry0x40   12.7  (0.5)  384      4,800  (123,952)       C   LTO-1
502bd275d1aSJoerg Wunsch0x41   12.7  (0.5)  208      3,868  (98,250)  RLL   C   DLTapeIV(40) 6,7
50343518607SKenneth D. Merry0x42   12.7  (0.5)  512      7,398  (187,909)       C   LTO-2
50443518607SKenneth D. Merry0x44   12.7  (0.5)  704      9,638  (244,805)       C   LTO-3
50543518607SKenneth D. Merry0x46   12.7  (0.5)  896      12,725 (323,215)       C   LTO-4
5065090c893SKenneth D. Merry0x47    3.81 (0.25)   ?      6,417  (163,000)       CS  DAT-72
5075090c893SKenneth D. Merry0x48   12.7  (0.5)  448      5,236  (133,000) PRML  C   SDLTapeI(110) 6,8,13
50875e861d6SJoerg Wunsch0x49   12.7  (0.5)  448      7,598  (193,000) PRML  C   SDLTapeI(160) 6,8
5095762d1b1SKenneth D. Merry0x4A   12.7  (0.5)  768          ?            PRML  C   T10000A      10
5105762d1b1SKenneth D. Merry0x4B   12.7  (0.5) 1152          ?            PRML  C   T10000B      10
5115762d1b1SKenneth D. Merry0x4C   12.7  (0.5) 3584          ?            PRML  C   T10000C      10
5125762d1b1SKenneth D. Merry0x4D   12.7  (0.5) 4608          ?            PRML  C   T10000D      10
51343518607SKenneth D. Merry0x51   12.7  (0.5)  512      11,800 (299,720)       C   3592A1 (unencrypted)
51443518607SKenneth D. Merry0x52   12.7  (0.5)  896      11,800 (299,720)       C   3592A2 (unencrypted)
51543518607SKenneth D. Merry0x53   12.7  (0.5) 1152      13,452 (341,681)       C   3592A3 (unencrypted)
51643518607SKenneth D. Merry0x54   12.7  (0.5) 2560      19,686 (500,024)       C   3592A4 (unencrypted)
51743518607SKenneth D. Merry0x55   12.7  (0.5) 5120      20,670 (525,018)       C   3592A5 (unencrypted)
518683b025aSKenneth D. Merry0x56   12.7  (0.5) 7680      20,670 (525,018)       C   3592B5 (unencrypted)
5190caf9bf6SKenneth D. Merry0x57   12.7  (0.5) 8704      21,850 (554,990)       C   3592A6 (unencrypted)
52043518607SKenneth D. Merry0x58   12.7  (0.5) 1280      15,142 (384,607)       C   LTO-5
52183823d06SKenneth D. Merry0x59   12.7  (0.5)18944      21,850 (554,990)       C   3592A7 (unencrypted)
52243518607SKenneth D. Merry0x5A   12.7  (0.5) 2176      15,142 (384,607)       C   LTO-6
523f4bf2442SKenneth D. Merry0x5C   12.7  (0.5) 3584      19,107 (485,318)       C   LTO-7
52470a83493SKenneth D. Merry0x5D   12.7  (0.5) 5376      19,107 (485,318)       C   LTO-M8       14
5250183e015SKenneth D. Merry0x5E   12.7  (0.5) 6656      20,669 (524,993)       C   LTO-8
52678adacd4SKenneth D. Merry0x60   12.7  (0.5) 8960      23,031 (584,987)       C   LTO-9
52743518607SKenneth D. Merry0x71   12.7  (0.5)  512      11,800 (299,720)       C   3592A1 (encrypted)
52843518607SKenneth D. Merry0x72   12.7  (0.5)  896      11,800 (299,720)       C   3592A2 (encrypted)
52943518607SKenneth D. Merry0x73   12.7  (0.5) 1152      13,452 (341,681)       C   3592A3 (encrypted)
53043518607SKenneth D. Merry0x74   12.7  (0.5) 2560      19,686 (500,024)       C   3592A4 (encrypted)
53143518607SKenneth D. Merry0x75   12.7  (0.5) 5120      20,670 (525,018)       C   3592A5 (encrypted)
532683b025aSKenneth D. Merry0x76   12.7  (0.5) 7680      20,670 (525,018)       C   3592B5 (encrypted)
5330caf9bf6SKenneth D. Merry0x77   12.7  (0.5) 8704      21,850 (554,990)       C   3592A6 (encrypted)
53483823d06SKenneth D. Merry0x79   12.7  (0.5)18944      21,850 (554,990)       C   3592A7 (encrypted)
53543518607SKenneth D. Merry0x8c    8.0  (0.315)  1      1,789  (45,434)  RLL   CS  EXB-8500c    5,9
53643518607SKenneth D. Merry0x90    8.0  (0.315)  1      1,703  (43,245)  RLL   CS  EXB-8200c    5,9
5371146dedeSJoerg Wunsch.Ed
53843518607SKenneth D. Merry.Bd -literal -offset 2n
539bb7f7804SJustin T. GibbsCode    Description                                Type Description
5404e9e907dSRuslan Ermilov----    --------------------------------------     ---- -----------
541bb7f7804SJustin T. GibbsNRZI    Non return to zero, change on ones         R    Reel-to-reel
542bb7f7804SJustin T. GibbsGCR     Group code recording                       C    Cartridge
543bb7f7804SJustin T. GibbsPE      Phase encoded                              CS   Cassette
544bb7f7804SJustin T. GibbsIMFM    Inverted modified frequency modulation
545bb7f7804SJustin T. GibbsMFM     Modified frequency modulation
546bb7f7804SJustin T. GibbsDDS     DAT data storage
547bb7f7804SJustin T. GibbsRLL     Run length limited
54875e861d6SJoerg WunschPRML    Partial Response Maximum Likelihood
5491146dedeSJoerg Wunsch.Ed
55043518607SKenneth D. Merry.Bd -literal -offset 2n
551bb7f7804SJustin T. GibbsNOTES
552bb7f7804SJustin T. Gibbs1.  Serial recorded.
553bb7f7804SJustin T. Gibbs2.  Parallel recorded.
554bb7f7804SJustin T. Gibbs3.  Old format known as QIC-11.
555bb7f7804SJustin T. Gibbs5.  Helical scan.
55643518607SKenneth D. Merry6.  This is not an American National Standard.  The reference is based
55743518607SKenneth D. Merry    on an industry standard definition of the media format.
558bd275d1aSJoerg Wunsch7.  DLT recording: serially recorded track pairs (DLTapeIII and
559bd275d1aSJoerg Wunsch    DLTapeIV(20)), or track quads (DLTapeIV(35) and DLTapeIV(40)).
56043518607SKenneth D. Merry8.  Super DLT (SDLT) recording: 56 serially recorded logical tracks
56143518607SKenneth D. Merry    with 8 physical tracks each.
56243518607SKenneth D. Merry9.  Vendor-specific Exabyte density code for compressed format.
56343518607SKenneth D. Merry10. bpi/bpmm values for the Oracle/StorageTek T10000 tape drives are
56443518607SKenneth D. Merry    not listed in the manual.  Someone with access to a drive can
56543518607SKenneth D. Merry    supply the necessary values by running 'mt getdensity'.
56643518607SKenneth D. Merry11. This is Exabyte 8200 uncompressed format.  The compressed format
56743518607SKenneth D. Merry    density code is 0x90.
56843518607SKenneth D. Merry12. This is Exabyte 8500 uncompressed format.  The compressed format
56943518607SKenneth D. Merry    density code is 0x8c.
5705090c893SKenneth D. Merry13. This density code (0x48) was also used for DAT-160.
57170a83493SKenneth D. Merry14. Officially known as LTO-8 Type M, abbreviated M8.  This is a pristine
57270a83493SKenneth D. Merry    LTO-7 cartridge initialized with a higher density format by an LTO-8
57370a83493SKenneth D. Merry    drive.  It cannot be read by an LTO-7 drive.  Uncompressed capacity
57470a83493SKenneth D. Merry    is 9TB, compared to 6TB for LTO-7 and 12TB for LTO-8.
5751146dedeSJoerg Wunsch.Ed
57674a90ba3SKenneth D. Merry.Bd -literal -offset 2n
57774a90ba3SKenneth D. MerryNOTE ON QIC STREAMERS
57874a90ba3SKenneth D. Merry
57974a90ba3SKenneth D. MerryThe following is a table of Data Cartridge types as used in the 1/4 inch
58074a90ba3SKenneth D. Merrytape drives such as the Archive Viper 150, Wangtek 5525ES, and Tandberg
58174a90ba3SKenneth D. MerryTDC4220 tape drives:
58274a90ba3SKenneth D. Merry
58374a90ba3SKenneth D. MerryValue Reference     Format    Cartridge Type  Capacity   Tracks  Length
58474a90ba3SKenneth D. Merry----- ---------     ------    --------------  --------   ------  ------
58574a90ba3SKenneth D. Merry
58674a90ba3SKenneth D. Merry0x05                QIC-11    DC300           15MB       4        300ft
58774a90ba3SKenneth D. Merry0x05                QIC-11    DC300XL/P       20MB       4        450ft
58874a90ba3SKenneth D. Merry0x05                QIC-11    DC600           27MB       4        600ft
58974a90ba3SKenneth D. Merry0x05  X3.136-1986   QIC-24    DC615A          15MB       9        150ft
59074a90ba3SKenneth D. Merry0x05  X3.136-1986   QIC-24    DC300XL/P       45MB       9        450ft
59174a90ba3SKenneth D. Merry0x05  X3.136-1986   QIC-24    DC600A          60MB       9        600ft
59274a90ba3SKenneth D. Merry0x0F  QIC-120       QIC-120   DC600A/DC6150   120MB      15       620ft
59374a90ba3SKenneth D. Merry0x10  QIC-150       QIC-150   DC600XTD/DC6150 150MB      18       620ft
59474a90ba3SKenneth D. Merry0x10  QIC-150       QIC-150   DC6250          250MB      18     1,020ft
59574a90ba3SKenneth D. Merry0x11  QIC-320       QIC-525   DC6320          320MB      26       620ft
59674a90ba3SKenneth D. Merry0x11  QIC-320       QIC-525   DC6525          525MB      26     1,020ft
59774a90ba3SKenneth D. Merry0x1E  QIC-1000C     QIC-1000  DC9100/DL9135   1.0GB      30       760ft
59874a90ba3SKenneth D. Merry0x1E  QIC-1000C     QIC-1000  DC9150          1.2GB      30       950ft
59974a90ba3SKenneth D. Merry0x22  QIC-2GB(C)    QIC-2GB   DC9200          2.0GB      42       950ft
60074a90ba3SKenneth D. Merry0x22  QIC-2GB(C)    QIC-2GB   DC9250          2.5GB      42     1,200ft
60174a90ba3SKenneth D. Merry.Ed
60274a90ba3SKenneth D. Merry.Pp
60374a90ba3SKenneth D. MerryNotes:
60474a90ba3SKenneth D. Merry.Pp
60574a90ba3SKenneth D. MerryQIC-24, QIC-120, QIC-150 use fixed blocksize of 512 bytes, QIC-525, QIC-1000
60674a90ba3SKenneth D. Merryand QIC-2GB can use blocksize of 1,024 bytes.
60774a90ba3SKenneth D. MerryDDS (DAT) drives generally use variable blocks.
60874a90ba3SKenneth D. Merry.Pp
60974a90ba3SKenneth D. MerryQIC-02 and QIC-36 are interface standards for tape drives.
61074a90ba3SKenneth D. MerryThe QIC-02 and QIC-36 streamers such as the Wangtek 5250EQ are otherwise
61174a90ba3SKenneth D. Merryidentical to their SCSI versions (i.e.: Wangtek 5250ES).
61274a90ba3SKenneth D. Merry.Pp
61374a90ba3SKenneth D. MerryIt seems that the 150MB and larger streamers cannot write QIC-24 9 track
61474a90ba3SKenneth D. Merryformats, only read them.
61574a90ba3SKenneth D. Merry.Pp
61674a90ba3SKenneth D. MerryDC600A cartridges marked "10,000ftpi" can only be used as QIC-11, QIC-24,
61774a90ba3SKenneth D. Merryand QIC-120 format.
61874a90ba3SKenneth D. MerryDC600A cartridges marked 12,500ftpi can be used as both QIC-120 and QIC-150
61974a90ba3SKenneth D. Merryformat.
62074a90ba3SKenneth D. Merry.Pp
62174a90ba3SKenneth D. MerrySome manufacturers do not use "DC" on their cartridges.
62274a90ba3SKenneth D. MerryVerbatim uses DL, Maxell uses MC, Sony uses QD, Quill uses DQ.
62374a90ba3SKenneth D. Merry.Pp
62474a90ba3SKenneth D. Merry3M/Imation & Fuji use DC.
62574a90ba3SKenneth D. MerryThus a DL6250, MC-6250, QD6250, DQ6250 are all identical media to a DC6250.
62674a90ba3SKenneth D. Merry.Pp
62774a90ba3SKenneth D. MerryQIC tape media is not "connected" to the take up reels and will de-spool
62874a90ba3SKenneth D. Merryif the tape drive has dust covering the light sensor that looks for the end
62974a90ba3SKenneth D. Merryof tape holes in the media.
6309b50d902SRodney W. Grimes.Sh ENVIRONMENT
6314e9e907dSRuslan Ermilov.Bl -tag -width ".Ev TAPE"
6329b50d902SRodney W. Grimes.It Ev TAPE
633f0ab9f7bSGary W. SwearingenThis is the pathname of the tape drive.
634f0ab9f7bSGary W. SwearingenThe default (if the variable is unset, but not if it is null) is
635f0ab9f7bSGary W. Swearingen.Pa /dev/nsa0 .
636f0ab9f7bSGary W. SwearingenIt may be overridden with the
637f0ab9f7bSGary W. Swearingen.Fl f
638f0ab9f7bSGary W. Swearingenoption.
6399b88faecSRuslan Ermilov.El
6409b50d902SRodney W. Grimes.Sh FILES
6414e9e907dSRuslan Ermilov.Bl -tag -width ".Pa /dev/*sa[0-9]*" -compact
642095a0a15SPeter Pentchev.It Pa /dev/*sa[0-9]*
6431146dedeSJoerg WunschSCSI magnetic tape interface
6449b50d902SRodney W. Grimes.El
645f0ab9f7bSGary W. Swearingen.Sh DIAGNOSTICS
646f0ab9f7bSGary W. SwearingenThe exit status will be 0 when the drive operations were successful,
647f0ab9f7bSGary W. Swearingen2 when the drive operations were unsuccessful, and 1 for other
648f0ab9f7bSGary W. Swearingenproblems like an unrecognized command or a missing drive device.
649f0ab9f7bSGary W. Swearingen.Sh COMPATIBILITY
650f0ab9f7bSGary W. SwearingenSome undocumented commands support old software.
6519b50d902SRodney W. Grimes.Sh SEE ALSO
652bf5cbf35SWolfram Schneider.Xr dd 1 ,
653bf5cbf35SWolfram Schneider.Xr ioctl 2 ,
6540ee7623dSJoerg Wunsch.Xr mtio 4 ,
65549f86547SMatt Jacob.Xr sa 4 ,
6569b50d902SRodney W. Grimes.Xr environ 7
6579b50d902SRodney W. Grimes.Sh HISTORY
6589b50d902SRodney W. GrimesThe
659ff456ca4SPhilippe Charnier.Nm
6609b50d902SRodney W. Grimescommand appeared in
6619b50d902SRodney W. Grimes.Bx 4.3 .
6620ee7623dSJoerg Wunsch.Pp
6631146dedeSJoerg WunschExtensions regarding the
6641146dedeSJoerg Wunsch.Xr st 4
665753d686dSRuslan Ermilovdriver appeared in
666753d686dSRuslan Ermilov.Bx 386 0.1
667fa7f4291SRuslan Ermilovas a separate
668fa7f4291SRuslan Ermilov.Nm st
669fa7f4291SRuslan Ermilovcommand, and have been merged into the
6701146dedeSJoerg Wunsch.Nm
67185cf659aSMike Pritchardcommand in
67285cf659aSMike Pritchard.Fx 2.1 .
6730ee7623dSJoerg Wunsch.Pp
6740ee7623dSJoerg WunschThe former
6750ee7623dSJoerg Wunsch.Cm eof
6760ee7623dSJoerg Wunschcommand that used to be a synonym for
6770ee7623dSJoerg Wunsch.Cm weof
6780ee7623dSJoerg Wunschhas been abandoned in
6790ee7623dSJoerg Wunsch.Fx 2.1
6800ee7623dSJoerg Wunschsince it was often confused with
6810ee7623dSJoerg Wunsch.Cm eom ,
6820ee7623dSJoerg Wunschwhich is fairly dangerous.
683f0ab9f7bSGary W. Swearingen.Sh BUGS
684f0ab9f7bSGary W. SwearingenThe utility cannot be interrupted or killed during a long erase
685f0ab9f7bSGary W. Swearingen(which can be longer than an hour), and it is easy to forget
686f0ab9f7bSGary W. Swearingenthat the default erase is long.
687f0ab9f7bSGary W. Swearingen.Pp
688f0ab9f7bSGary W. SwearingenHardware block numbers do not always correspond to blocks on the tape
689f0ab9f7bSGary W. Swearingenwhen the drive uses internal compression.
690f0ab9f7bSGary W. Swearingen.Pp
691f0ab9f7bSGary W. SwearingenErasure is not guaranteed if the tape is not at its beginning.
692f0ab9f7bSGary W. Swearingen.Pp
693f0ab9f7bSGary W. SwearingenTape-related documentation is poor, here and elsewhere.
694