Deleted Added
full compact
mt.1 (94505) mt.1 (95124)
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

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

26.\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
27.\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
28.\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
29.\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
30.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
31.\" SUCH DAMAGE.
32.\"
33.\" @(#)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

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

26.\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
27.\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
28.\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
29.\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
30.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
31.\" SUCH DAMAGE.
32.\"
33.\" @(#)mt.1 8.1 (Berkeley) 6/6/93
34.\" $FreeBSD: head/usr.bin/mt/mt.1 94505 2002-04-12 13:16:04Z charnier $
34.\" $FreeBSD: head/usr.bin/mt/mt.1 95124 2002-04-20 12:18:28Z charnier $
35.\"
36.Dd June 6, 1993
37.Dt MT 1
38.Os
39.Sh NAME
40.Nm mt
41.Nd magnetic tape manipulating program
42.Sh SYNOPSIS
43.Nm
44.Op Fl f Ar tapename
45.Ar command
46.Op Ar count
47.Sh DESCRIPTION
35.\"
36.Dd June 6, 1993
37.Dt MT 1
38.Os
39.Sh NAME
40.Nm mt
41.Nd magnetic tape manipulating program
42.Sh SYNOPSIS
43.Nm
44.Op Fl f Ar tapename
45.Ar command
46.Op Ar count
47.Sh DESCRIPTION
48.Nm \&Mt
49is used to give commands to a magnetic tape drive.
48The
49.Nm
50utility is used to give commands to a magnetic tape drive.
50By default
51.Nm
52performs the requested operation once. Operations
53may be performed multiple times by specifying
54.Ar count .
55Note
56that
57.Ar tapename

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

221.Pp
222If a tape name is not specified, and the environment variable
223.Ev TAPE
224does not exist;
225.Nm
226uses the device
227.Pa /dev/nsa0 .
228.Pp
51By default
52.Nm
53performs the requested operation once. Operations
54may be performed multiple times by specifying
55.Ar count .
56Note
57that
58.Ar tapename

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

222.Pp
223If a tape name is not specified, and the environment variable
224.Ev TAPE
225does not exist;
226.Nm
227uses the device
228.Pa /dev/nsa0 .
229.Pp
229.Nm \&Mt
230returns a 0 exit status when the operation(s) were successful,
230The
231.Nm
232utility returns a 0 exit status when the operation(s) were successful,
2311 if the command was unrecognized, and 2 if an operation failed.
232.Pp
233The following density table was taken from the
234.Sq Historical sequential access density codes
235table (A-1) in Revision 11 of the SCSI-3 Stream Device Commands (SSC)
236working draft, dated November 11, 1997.
237.Pp
238The different density codes are as follows:

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

3016. This is not an American National Standard. The reference is based on
302 an industry standard definition of the media format.
303.Ed
304.Sh ENVIRONMENT
305If the following environment variable exists, it is utilized by
306.Nm Ns .
307.Bl -tag -width Fl
308.It Ev TAPE
2331 if the command was unrecognized, and 2 if an operation failed.
234.Pp
235The following density table was taken from the
236.Sq Historical sequential access density codes
237table (A-1) in Revision 11 of the SCSI-3 Stream Device Commands (SSC)
238working draft, dated November 11, 1997.
239.Pp
240The different density codes are as follows:

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

3036. This is not an American National Standard. The reference is based on
304 an industry standard definition of the media format.
305.Ed
306.Sh ENVIRONMENT
307If the following environment variable exists, it is utilized by
308.Nm Ns .
309.Bl -tag -width Fl
310.It Ev TAPE
309.Nm \&Mt
310checks the
311The
312.Nm
313utility checks the
311.Ev TAPE
312environment variable if the
313argument
314.Ar tapename
315is not given.
316.El
317.Sh FILES
318.Bl -tag -width /dev/*rsa[0-9]*xx -compact

--- 38 unchanged lines hidden ---
314.Ev TAPE
315environment variable if the
316argument
317.Ar tapename
318is not given.
319.El
320.Sh FILES
321.Bl -tag -width /dev/*rsa[0-9]*xx -compact

--- 38 unchanged lines hidden ---