Deleted Added
full compact
mt.1 (256281) mt.1 (280438)
1.\" Copyright (c) 1981, 1990, 1993
2.\" The Regents of the University of California. All rights reserved.
3.\"
4.\"
5.\" Redistribution and use in source and binary forms, with or without
6.\" modification, are permitted provided that the following conditions
7.\" are met:
8.\" 1. Redistributions of source code must retain the above copyright

--- 13 unchanged lines hidden (view full) ---

22.\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
23.\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
24.\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
25.\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
26.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
27.\" SUCH DAMAGE.
28.\"
29.\" @(#)mt.1 8.1 (Berkeley) 6/6/93
1.\" Copyright (c) 1981, 1990, 1993
2.\" The Regents of the University of California. All rights reserved.
3.\"
4.\"
5.\" Redistribution and use in source and binary forms, with or without
6.\" modification, are permitted provided that the following conditions
7.\" are met:
8.\" 1. Redistributions of source code must retain the above copyright

--- 13 unchanged lines hidden (view full) ---

22.\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
23.\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
24.\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
25.\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
26.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
27.\" SUCH DAMAGE.
28.\"
29.\" @(#)mt.1 8.1 (Berkeley) 6/6/93
30.\" $FreeBSD: stable/10/usr.bin/mt/mt.1 216370 2010-12-11 08:32:16Z joel $
30.\" $FreeBSD: stable/10/usr.bin/mt/mt.1 280438 2015-03-24 14:36:10Z ken $
31.\"
31.\"
32.Dd January 20, 2008
32.Dd March 3, 2014
33.Dt MT 1
34.Os
35.Sh NAME
36.Nm mt
37.Nd magnetic tape manipulating program
38.Sh SYNOPSIS
39.Nm
40.Op Fl f Ar tapename

--- 25 unchanged lines hidden (view full) ---

66The following commands optionally take a
67.Ar count ,
68which defaults to 1.
69.Bl -tag -width ".Cm erase"
70.It Cm weof
71Write
72.Ar count
73end-of-file (EOF) marks at the current position.
33.Dt MT 1
34.Os
35.Sh NAME
36.Nm mt
37.Nd magnetic tape manipulating program
38.Sh SYNOPSIS
39.Nm
40.Op Fl f Ar tapename

--- 25 unchanged lines hidden (view full) ---

66The following commands optionally take a
67.Ar count ,
68which defaults to 1.
69.Bl -tag -width ".Cm erase"
70.It Cm weof
71Write
72.Ar count
73end-of-file (EOF) marks at the current position.
74This returns when the file mark has been written to the media.
75.It Cm weofi
76Write
77.Ar count
78end-of-file (EOF) marks at the current position.
79This returns as soon as the command has been validated by the tape drive.
74.It Cm smk
75Write
76.Ar count
77setmarks at the current position (DDS drives only).
78.It Cm fsf
79Forward space
80.Ar count
81files.

--- 42 unchanged lines hidden (view full) ---

124This typically is greater than the hardware position
125by the number of end-of-file marks.
126Some drives do not support this.
127.It Cm rewind
128Rewind the tape.
129.It Cm offline , rewoffl
130Rewind the tape and place the drive off line.
131Some drives are never off line.
80.It Cm smk
81Write
82.Ar count
83setmarks at the current position (DDS drives only).
84.It Cm fsf
85Forward space
86.Ar count
87files.

--- 42 unchanged lines hidden (view full) ---

130This typically is greater than the hardware position
131by the number of end-of-file marks.
132Some drives do not support this.
133.It Cm rewind
134Rewind the tape.
135.It Cm offline , rewoffl
136Rewind the tape and place the drive off line.
137Some drives are never off line.
138.It Cm load
139Load the tape into the drive.
132.It Cm retension
133Re-tension the tape.
134This winds the tape from the current position to the end
135and then to the beginning.
136This sometimes improves subsequent reading and writing,
137particularly for streaming drives.
138Some drives do not support this.
140.It Cm retension
141Re-tension the tape.
142This winds the tape from the current position to the end
143and then to the beginning.
144This sometimes improves subsequent reading and writing,
145particularly for streaming drives.
146Some drives do not support this.
139.It Cm status
147.It Cm ostatus
140Output status information about the drive.
141For SCSI magnetic tape devices,
142the current operating modes of density, blocksize, and whether compression
143is enabled is reported.
144The current state of the driver (what it thinks that
145it is doing with the device) is reported.
146If the driver knows the relative
147position from BOT (in terms of filemarks and records), it outputs that.
148Note
149that this information is not definitive (only BOT, End of Recorded Media, and
150hardware or SCSI logical block position (if the drive supports such) are
151considered definitive tape positions).
148Output status information about the drive.
149For SCSI magnetic tape devices,
150the current operating modes of density, blocksize, and whether compression
151is enabled is reported.
152The current state of the driver (what it thinks that
153it is doing with the device) is reported.
154If the driver knows the relative
155position from BOT (in terms of filemarks and records), it outputs that.
156Note
157that this information is not definitive (only BOT, End of Recorded Media, and
158hardware or SCSI logical block position (if the drive supports such) are
159considered definitive tape positions).
160.Pp
161Also note that this is the old status command, and will be eliminated in
162favor of the new status command (see below) in a future release.
152.It Cm errstat
153Output (and clear) error status information about this device.
154For every normal
155operation (e.g., a read or a write) and every control operation (e.g,, a
156rewind), the driver stores up the last command executed and it is associated
157status and any residual counts (if any).
158This command retrieves and outputs this
159information.
160If possible, this also clears any latched error information.
161.It Cm geteotmodel
162Output the current EOT filemark model.
163The model states how
164many filemarks will be written at close if a tape was being written.
165.It Cm eod , eom
166Wind the tape to the end of the recorded data,
167typically after an EOF mark where another file may be written.
163.It Cm errstat
164Output (and clear) error status information about this device.
165For every normal
166operation (e.g., a read or a write) and every control operation (e.g,, a
167rewind), the driver stores up the last command executed and it is associated
168status and any residual counts (if any).
169This command retrieves and outputs this
170information.
171If possible, this also clears any latched error information.
172.It Cm geteotmodel
173Output the current EOT filemark model.
174The model states how
175many filemarks will be written at close if a tape was being written.
176.It Cm eod , eom
177Wind the tape to the end of the recorded data,
178typically after an EOF mark where another file may be written.
179.It Cm rblim
180Report the block limits of the tape drive, including the minimum and
181maximum block size, and the block granularity if any.
168.El
169.Pp
182.El
183.Pp
170The following commands require an
184The following commands may require an
171.Ar argument .
172.Bl -tag -width ".Cm seteotmodel"
173.It Cm sethpos
174Set the hardware block position.
175The
176.Ar argument
177is a hardware block number to which to position the tape.
178Some drives do not support this.

--- 15 unchanged lines hidden (view full) ---

194and output the old and new models.
195Typically this will be 2
196filemarks, but some devices (typically QIC cartridge drives) can
197only write 1 filemark.
198You may only choose a value of
199.Ar 1
200or
201.Ar 2 .
185.Ar argument .
186.Bl -tag -width ".Cm seteotmodel"
187.It Cm sethpos
188Set the hardware block position.
189The
190.Ar argument
191is a hardware block number to which to position the tape.
192Some drives do not support this.

--- 15 unchanged lines hidden (view full) ---

208and output the old and new models.
209Typically this will be 2
210filemarks, but some devices (typically QIC cartridge drives) can
211only write 1 filemark.
212You may only choose a value of
213.Ar 1
214or
215.Ar 2 .
216.It Cm status
217Output status information about the drive.
218For SCSI magnetic tape devices,
219the current operating modes of density, blocksize, and whether compression
220is enabled is reported.
221The current state of the driver (what it thinks that
222it is doing with the device) is reported.
223.Pp
224If the driver knows the relative
225position from BOT (in terms of filemarks and records), it outputs that.
226If the tape drive supports the long form report of the
227.Tn SCSI
228READ POSITION command, the Reported File Number and Reported Record Number
229will be numbers other than -1, and there may be Flags reported as well.
230.Pp
231The BOP flag means that the logical position of the drive is at the
232beginning of the partition.
233.Pp
234The EOP flag means that the logical position of the drive is between Early
235Warning and End of Partition.
236.Pp
237The BPEW flag means that the logical position of the drive is in a
238Programmable Early Warning Zone or on the EOP side of Early Warning.
239.Pp
240Note that the Reported Record Number is the tape block or object number
241relative to the beginning of the partition.
242The Calculated Record Number is the tape block or object number relative
243to the previous file mark.
244.Pp
245Note
246that the Calculated File and Record Numbers are not definitive.
247The Reported File and Record Numbers are definitive, if they are numbers
248other than -1.
249.Bl -tag -width 6n
250.It Fl v
251Print additional status information, such as the maximum supported I/O
252size.
253.It Fl x
254Print all available status data to stdout in XML format.
255.El
256.It Cm getdensity
257Report density support information for the tape drive and any media that is
258loaded.
259Most drives will report at least basic density information similar to that
260reported by
261.Nm status
262command.
263Newer tape drives that conform to the T-10 SSC and newer tape
264specifications may report more detailed information about the types of
265tapes they support and the tape currently in the drive.
266.Bl -tag -width 6n
267.It Fl x
268Print all available density data to stdout in XML format.
269Because density information is currently included in the general status XML
270report used for
271.Nm
272status command, this will be the same XML output via
273.Do
274.Nm
275status
276.Fl x
277.Dc
278.El
279.It Cm param
280Display or set parameters.
281One of
282.Fl l ,
283.Fl s ,
284or
285.Fl x
286must be specified to indicate which operation to perform.
287.Bl -tag -width 8n
288.It Fl l
289List parameters, values and descriptions.
290By default all parameters will be displayed.
291To display a specific parameter, specify the parameter with
292.Fl p .
293.It Fl p Ar name
294Specify the parameter name to list (with
295.Fl l )
296or set (with
297.Fl s ) .
298.It Fl q
299Enable quiet mode for parameter listing.
300This will suppress printing of parameter descriptions.
301.It Fl s Ar value
302Specify the parameter value to set.
303The general type of this argument (integer, unsigned integer, string) is
304determined by the type of the variable indicated by the
305.Xr sa 4
306driver.
307More detailed argument checking is done by the
308.Xr sa 4
309driver.
310.It Fl x
311Print out all parameter information in XML format.
312.El
313.It Cm protect
314Display or set drive protection parameters.
315This is used to control checking and reporting a per-block checksum for
316tape drives that support it.
317Some drives may only support some parameters.
318.Bl -tag -width 8n
319.It Fl b Ar 0|1
320Set the Recover Buffered Data Protected bit.
321If set, this indicates that checksums are transferred with the logical
322blocks transferred by the RECOVERED BUFFERED DATA
323.Tn SCSI
324command.
325.It Fl d
326Disable all protection information settings.
327.It Fl e
328Enable all protection information settings.
329The default protection method used is Reed-Solomon CRC (protection method
3301), as specified in ECMA-319.
331The default protection information length used with Reed-Solomon CRC is
3324 bytes.
333To enable all settings except one more more settings, specify the
334.Fl e
335argument and then explicitly disable settings that you do not wish to
336enable.
337For example, specifying
338.Fl e
339.Fl w Ar 0
340will enable all settings except for LBP_W.
341.It Fl l
342List available protection parmeters and their current settings.
343.It Fl L Ar len
344Set the length of the protection information in bytes.
345For Reed-Solomon CRC, the protection information length should be 4 bytes.
346.It Fl m Ar num
347Specify the numeric value for the protection method.
348The numeric value for Reed-Solomon CRC is 1.
349.It Fl r Ar 0|1
350Set the LBP_R parameter.
351When set, this indicates that each block read from the tape drive will
352have a checksum at the end.
353.It Fl v
354Enable verbose mode for parameter listing.
355This will include descriptions of each parameter.
356.It Fl w Ar 0|1
357Set the LBP_W parameter.
358When set, this indicates that each block written to the tape drive will have
359a checksum at the end.
360The drive will verify the checksum before writing the block to tape.
361.El
362.It Cm locate
363Set the tape drive's logical position.
364One of
365.Fl b ,
366.Fl e ,
367.Fl f ,
368or
369.Fl s
370must be specified to indicate the type of position.
371If the partition number is specified, the drive will first relocate to the
372given partition (if it exists) and then to the position indicated within
373that partition.
374If the partition number is not specified, the drive will relocate to the
375given position within the current partition.
376.Bl -tag -width 14n
377.It Fl b Ar block_addr
378Relocate to the given tape block or logical object identifier.
379Note that the block number is the Reported Record Number that is relative
380to the beginning of the partition (or beginning of tape).
381.It Fl e
382Relocate to the end of data.
383.It Fl f Ar fileno
384Relocate to the given file number.
385.It Fl p Ar partition
386Specify the partition to change to.
387.It Fl s Ar setmark
388Relocate to the given set mark.
389.El
202.It Cm comp
203Set the drive's compression mode.
204The non-numeric values of
205.Ar argument
206are:
207.Pp
208.Bl -tag -width 9n -compact
209.It off

--- 19 unchanged lines hidden (view full) ---

229.Sq on
230will have the desired effect of enabling the default compression algorithm
231supported by the drive.
232If this is not the case (see the
233.Cm status
234display to see which compression algorithm is currently in use), the user
235can manually specify one of the supported compression keywords (above), or
236supply a numeric compression value from the drive's specifications.
390.It Cm comp
391Set the drive's compression mode.
392The non-numeric values of
393.Ar argument
394are:
395.Pp
396.Bl -tag -width 9n -compact
397.It off

--- 19 unchanged lines hidden (view full) ---

417.Sq on
418will have the desired effect of enabling the default compression algorithm
419supported by the drive.
420If this is not the case (see the
421.Cm status
422display to see which compression algorithm is currently in use), the user
423can manually specify one of the supported compression keywords (above), or
424supply a numeric compression value from the drive's specifications.
425.Pp
426Note that for some older tape drives (for example the Exabyte 8200 and 8500
427series drives) it is necessary to switch to a different density to tell the
428drive to record data in its compressed format.
429If the user attempts to turn compression on while the uncompressed density
430is selected, the drive will return an error.
431This is generally not an issue for modern tape drives.
237.It Cm density
238Set the density for the drive.
239For the density codes, see below.
240The density value could be given either numerically, or as a string,
241corresponding to the
242.Dq Reference
243field.
244If the string is abbreviated, it will be resolved in the order
245shown in the table, and the first matching entry will be used.
246If the
247given string and the resulting canonical density name do not match
248exactly, an informational message is output about what the given
249string has been taken for.
250.El
251.Pp
432.It Cm density
433Set the density for the drive.
434For the density codes, see below.
435The density value could be given either numerically, or as a string,
436corresponding to the
437.Dq Reference
438field.
439If the string is abbreviated, it will be resolved in the order
440shown in the table, and the first matching entry will be used.
441If the
442given string and the resulting canonical density name do not match
443exactly, an informational message is output about what the given
444string has been taken for.
445.El
446.Pp
252The following density table was taken from the
447The initial version of the density table below was taken from the
253.Sq Historical sequential access density codes
254table (A-1) in Revision 11 of the SCSI-3 Stream Device Commands (SSC)
255working draft, dated November 11, 1997.
448.Sq Historical sequential access density codes
449table (A-1) in Revision 11 of the SCSI-3 Stream Device Commands (SSC)
450working draft, dated November 11, 1997.
451Subsequent additions have come from a number of sources.
256.Pp
257The density codes are:
452.Pp
453The density codes are:
258.Bd -literal -offset 3n
454.Bd -literal -offset 2n
2590x0 default for device
2600xE reserved for ECMA
261
262Value Width Tracks Density Code Type Reference Note
263 mm in bpmm bpi
2640x01 12.7 (0.5) 9 32 (800) NRZI R X3.22-1983 2
2650x02 12.7 (0.5) 9 63 (1,600) PE R X3.39-1986 2
2660x03 12.7 (0.5) 9 246 (6,250) GCR R X3.54-1986 2

--- 6 unchanged lines hidden (view full) ---

2730x0B 6.3 (0.25) 4 63 (1,600) PE C X3.56-1986 1
2740x0C 12.7 (0.5) 24 500 (12,690) GCR C HI-TC1 1,6
2750x0D 12.7 (0.5) 24 999 (25,380) GCR C HI-TC2 1,6
2760x0F 6.3 (0.25) 15 394 (10,000) GCR C QIC-120 1,6
2770x10 6.3 (0.25) 18 394 (10,000) GCR C QIC-150 1,6
2780x11 6.3 (0.25) 26 630 (16,000) GCR C QIC-320 1,6
2790x12 6.3 (0.25) 30 2,034 (51,667) RLL C QIC-1350 1,6
2800x13 3.81 (0.15) 1 2,400 (61,000) DDS CS X3B5/88-185A 5
4550x0 default for device
4560xE reserved for ECMA
457
458Value Width Tracks Density Code Type Reference Note
459 mm in bpmm bpi
4600x01 12.7 (0.5) 9 32 (800) NRZI R X3.22-1983 2
4610x02 12.7 (0.5) 9 63 (1,600) PE R X3.39-1986 2
4620x03 12.7 (0.5) 9 246 (6,250) GCR R X3.54-1986 2

--- 6 unchanged lines hidden (view full) ---

4690x0B 6.3 (0.25) 4 63 (1,600) PE C X3.56-1986 1
4700x0C 12.7 (0.5) 24 500 (12,690) GCR C HI-TC1 1,6
4710x0D 12.7 (0.5) 24 999 (25,380) GCR C HI-TC2 1,6
4720x0F 6.3 (0.25) 15 394 (10,000) GCR C QIC-120 1,6
4730x10 6.3 (0.25) 18 394 (10,000) GCR C QIC-150 1,6
4740x11 6.3 (0.25) 26 630 (16,000) GCR C QIC-320 1,6
4750x12 6.3 (0.25) 30 2,034 (51,667) RLL C QIC-1350 1,6
4760x13 3.81 (0.15) 1 2,400 (61,000) DDS CS X3B5/88-185A 5
2810x14 8.0 (0.315) 1 1,703 (43,245) RLL CS X3.202-1991 5
2820x15 8.0 (0.315) 1 1,789 (45,434) RLL CS ECMA TC17 5
4770x14 8.0 (0.315) 1 1,703 (43,245) RLL CS X3.202-1991 5,11
4780x15 8.0 (0.315) 1 1,789 (45,434) RLL CS ECMA TC17 5,12
2830x16 12.7 (0.5) 48 394 (10,000) MFM C X3.193-1990 1
2840x17 12.7 (0.5) 48 1,673 (42,500) MFM C X3B5/91-174 1
2850x18 12.7 (0.5) 112 1,673 (42,500) MFM C X3B5/92-50 1
2860x19 12.7 (0.5) 128 2,460 (62,500) RLL C DLTapeIII 6,7
2870x1A 12.7 (0.5) 128 3,214 (81,633) RLL C DLTapeIV(20) 6,7
2880x1B 12.7 (0.5) 208 3,383 (85,937) RLL C DLTapeIV(35) 6,7
2890x1C 6.3 (0.25) 34 1,654 (42,000) MFM C QIC-385M 1,6
2900x1D 6.3 (0.25) 32 1,512 (38,400) GCR C QIC-410M 1,6

--- 6 unchanged lines hidden (view full) ---

2970x24 3.81 (0.15) 1 2,400 (61,000) CS DDS-2 5
2980x25 3.81 (0.15) 1 3,816 (97,000) CS DDS-3 5
2990x26 3.81 (0.15) 1 3,816 (97,000) CS DDS-4 5
3000x27 8.0 (0.315) 1 3,056 (77,611) RLL CS Mammoth 5
3010x28 12.7 (0.5) 36 1,491 (37,871) GCR C X3.224 1
3020x29 12.7 (0.5)
3030x2A
3040x2B 12.7 (0.5) 3 ? ? ? C X3.267 5
4790x16 12.7 (0.5) 48 394 (10,000) MFM C X3.193-1990 1
4800x17 12.7 (0.5) 48 1,673 (42,500) MFM C X3B5/91-174 1
4810x18 12.7 (0.5) 112 1,673 (42,500) MFM C X3B5/92-50 1
4820x19 12.7 (0.5) 128 2,460 (62,500) RLL C DLTapeIII 6,7
4830x1A 12.7 (0.5) 128 3,214 (81,633) RLL C DLTapeIV(20) 6,7
4840x1B 12.7 (0.5) 208 3,383 (85,937) RLL C DLTapeIV(35) 6,7
4850x1C 6.3 (0.25) 34 1,654 (42,000) MFM C QIC-385M 1,6
4860x1D 6.3 (0.25) 32 1,512 (38,400) GCR C QIC-410M 1,6

--- 6 unchanged lines hidden (view full) ---

4930x24 3.81 (0.15) 1 2,400 (61,000) CS DDS-2 5
4940x25 3.81 (0.15) 1 3,816 (97,000) CS DDS-3 5
4950x26 3.81 (0.15) 1 3,816 (97,000) CS DDS-4 5
4960x27 8.0 (0.315) 1 3,056 (77,611) RLL CS Mammoth 5
4970x28 12.7 (0.5) 36 1,491 (37,871) GCR C X3.224 1
4980x29 12.7 (0.5)
4990x2A
5000x2B 12.7 (0.5) 3 ? ? ? C X3.267 5
5010x40 12.7 (0.5) 384 4,800 (123,952) C LTO-1
3050x41 12.7 (0.5) 208 3,868 (98,250) RLL C DLTapeIV(40) 6,7
5020x41 12.7 (0.5) 208 3,868 (98,250) RLL C DLTapeIV(40) 6,7
3060x48 12.7 (0.5) 448 5,236 (133,000) PRML C SDLTapeI(110) 6,8
5030x42 12.7 (0.5) 512 7,398 (187,909) C LTO-2
5040x44 12.7 (0.5) 704 9,638 (244,805) C LTO-3
5050x46 12.7 (0.5) 896 12,725 (323,215) C LTO-4
5060x47 3.81 (0.25) ? 6,417 (163,000) CS DAT-72
5070x48 12.7 (0.5) 448 5,236 (133,000) PRML C SDLTapeI(110) 6,8,13
3070x49 12.7 (0.5) 448 7,598 (193,000) PRML C SDLTapeI(160) 6,8
5080x49 12.7 (0.5) 448 7,598 (193,000) PRML C SDLTapeI(160) 6,8
5090x4A 12.7 (0.5) 768 ? C T10000A 10
5100x4B 12.7 (0.5) 1152 ? C T10000B 10
5110x4C 12.7 (0.5) 3584 ? C T10000C 10
5120x4D 12.7 (0.5) 4608 ? C T10000D 10
5130x51 12.7 (0.5) 512 11,800 (299,720) C 3592A1 (unencrypted)
5140x52 12.7 (0.5) 896 11,800 (299,720) C 3592A2 (unencrypted)
5150x53 12.7 (0.5) 1152 13,452 (341,681) C 3592A3 (unencrypted)
5160x54 12.7 (0.5) 2560 19,686 (500,024) C 3592A4 (unencrypted)
5170x55 12.7 (0.5) 5120 20,670 (525,018) C 3592A5 (unencrypted)
5180x58 12.7 (0.5) 1280 15,142 (384,607) C LTO-5
5190x5A 12.7 (0.5) 2176 15,142 (384,607) C LTO-6
5200x71 12.7 (0.5) 512 11,800 (299,720) C 3592A1 (encrypted)
5210x72 12.7 (0.5) 896 11,800 (299,720) C 3592A2 (encrypted)
5220x73 12.7 (0.5) 1152 13,452 (341,681) C 3592A3 (encrypted)
5230x74 12.7 (0.5) 2560 19,686 (500,024) C 3592A4 (encrypted)
5240x75 12.7 (0.5) 5120 20,670 (525,018) C 3592A5 (encrypted)
5250x8c 8.0 (0.315) 1 1,789 (45,434) RLL CS EXB-8500c 5,9
5260x90 8.0 (0.315) 1 1,703 (43,245) RLL CS EXB-8200c 5,9
308.Ed
527.Ed
309.Bd -literal -offset 3n
528.Bd -literal -offset 2n
310Code Description Type Description
311---- -------------------------------------- ---- -----------
312NRZI Non return to zero, change on ones R Reel-to-reel
313GCR Group code recording C Cartridge
314PE Phase encoded CS Cassette
315IMFM Inverted modified frequency modulation
316MFM Modified frequency modulation
317DDS DAT data storage
318RLL Run length limited
319PRML Partial Response Maximum Likelihood
320.Ed
529Code Description Type Description
530---- -------------------------------------- ---- -----------
531NRZI Non return to zero, change on ones R Reel-to-reel
532GCR Group code recording C Cartridge
533PE Phase encoded CS Cassette
534IMFM Inverted modified frequency modulation
535MFM Modified frequency modulation
536DDS DAT data storage
537RLL Run length limited
538PRML Partial Response Maximum Likelihood
539.Ed
321.Bd -literal -offset 3n
540.Bd -literal -offset 2n
322NOTES
541NOTES
3231. Serial recorded.
3242. Parallel recorded.
3253. Old format known as QIC-11.
3265. Helical scan.
3276. This is not an American National Standard. The reference is based on
328 an industry standard definition of the media format.
3297. DLT recording: serially recorded track pairs (DLTapeIII and
330 DLTapeIV(20)), or track quads (DLTapeIV(35) and DLTapeIV(40)).
3318. Super DLT (SDLT) recording: 56 serially recorded logical tracks with
332 8 physical tracks each.
5421. Serial recorded.
5432. Parallel recorded.
5443. Old format known as QIC-11.
5455. Helical scan.
5466. This is not an American National Standard. The reference is based
547 on an industry standard definition of the media format.
5487. DLT recording: serially recorded track pairs (DLTapeIII and
549 DLTapeIV(20)), or track quads (DLTapeIV(35) and DLTapeIV(40)).
5508. Super DLT (SDLT) recording: 56 serially recorded logical tracks
551 with 8 physical tracks each.
5529. Vendor-specific Exabyte density code for compressed format.
55310. bpi/bpmm values for the Oracle/StorageTek T10000 tape drives are
554 not listed in the manual. Someone with access to a drive can
555 supply the necessary values by running 'mt getdensity'.
55611. This is Exabyte 8200 uncompressed format. The compressed format
557 density code is 0x90.
55812. This is Exabyte 8500 uncompressed format. The compressed format
559 density code is 0x8c.
56013. This density code (0x48) was also used for DAT-160.
333.Ed
334.Sh ENVIRONMENT
335.Bl -tag -width ".Ev TAPE"
336.It Ev TAPE
337This is the pathname of the tape drive.
338The default (if the variable is unset, but not if it is null) is
339.Pa /dev/nsa0 .
340It may be overridden with the
341.Fl f
342option.
343.El
344.Sh FILES
345.Bl -tag -width ".Pa /dev/*sa[0-9]*" -compact
561.Ed
562.Sh ENVIRONMENT
563.Bl -tag -width ".Ev TAPE"
564.It Ev TAPE
565This is the pathname of the tape drive.
566The default (if the variable is unset, but not if it is null) is
567.Pa /dev/nsa0 .
568It may be overridden with the
569.Fl f
570option.
571.El
572.Sh FILES
573.Bl -tag -width ".Pa /dev/*sa[0-9]*" -compact
346.It Pa /dev/*wt*
347QIC-02/QIC-36 magnetic tape interface
348.It Pa /dev/*sa[0-9]*
349SCSI magnetic tape interface
350.El
351.Sh DIAGNOSTICS
352The exit status will be 0 when the drive operations were successful,
3532 when the drive operations were unsuccessful, and 1 for other
354problems like an unrecognized command or a missing drive device.
355.Sh COMPATIBILITY
356Some undocumented commands support old software.
357.Sh SEE ALSO
358.Xr dd 1 ,
359.Xr ioctl 2 ,
574.It Pa /dev/*sa[0-9]*
575SCSI magnetic tape interface
576.El
577.Sh DIAGNOSTICS
578The exit status will be 0 when the drive operations were successful,
5792 when the drive operations were unsuccessful, and 1 for other
580problems like an unrecognized command or a missing drive device.
581.Sh COMPATIBILITY
582Some undocumented commands support old software.
583.Sh SEE ALSO
584.Xr dd 1 ,
585.Xr ioctl 2 ,
360.Xr ast 4 ,
361.Xr mtio 4 ,
362.Xr sa 4 ,
363.Xr environ 7
364.Sh HISTORY
365The
366.Nm
367command appeared in
368.Bx 4.3 .

--- 32 unchanged lines hidden ---
586.Xr mtio 4 ,
587.Xr sa 4 ,
588.Xr environ 7
589.Sh HISTORY
590The
591.Nm
592command appeared in
593.Bx 4.3 .

--- 32 unchanged lines hidden ---