1 .\" Copyright (C) 1994-1999 Free Software Foundation, Inc.
3 .\" Permission is granted to make and distribute verbatim copies of
5 .\"manual provided the copyright notice and this permission notice are
6 .\"preserved on all copies.
8 .\" Permission is granted to copy and distribute modified versions of
9 .\"this manual under the conditions for verbatim copying, provided that
10 .\"the entire resulting derived work is distributed under the terms of a
11 .\"permission notice identical to this one.
13 .\" Permission is granted to copy and distribute translations of this
14 .\"manual into another language, under the above conditions for modified
15 .\"versions, except that this permission notice may be stated in a
16 .\"translation approved by the Foundation.
18 .\" Japanese Version Copyright (c) 2000 Yuichi SATO
19 .\" all rights reserved.
20 .\" Translated Tue Jun 6 09:01:51 JST 2000
21 .\" by Yuichi SATO <sato@complex.eng.hokudai.ac.jp>
23 .\"WORD: archive ¥¢¡¼¥«¥¤¥Ö
24 .\"WORD: character special file ¥¥ã¥é¥¯¥¿¡¼¥¹¥Ú¥·¥ã¥ë¥Õ¥¡¥¤¥ë
25 .\"WORD: device ¥Ç¥Ð¥¤¥¹
26 .\"WORD: operation Áàºî
27 .\"WORD: unique ¾¤È½Å¤Ê¤é¤Ê¤¤
29 .TH MT 1L \" -*- nroff -*-
32 .\"O mt \- control magnetic tape drive operation
33 mt \- ¼§µ¤¥Æ¡¼¥×¥É¥é¥¤¥Ö¤ÎÁàºî¤òÀ©¸æ¤¹¤ë
37 [\-V] [\-f device] [\-\-file=device] [\-\-version]
42 .\"O documents the GNU version of
45 .\"O performs the given
47 .\"O which must be one of the tape operations listed below, on a tape
49 ¤³¤Î¥Þ¥Ë¥å¥¢¥ë¥Ú¡¼¥¸¤Ï GNU ÈǤÎ
51 ¤Ë¤Ä¤¤¤ÆÀâÌÀ¤·¤Æ¤¤¤ë¡£
53 ¤Ï¥Æ¡¼¥×¥É¥é¥¤¥Ö¤ËÂФ·¤Æ¡¢»Ø¼¨¤µ¤ì¤¿Áàºî
56 ¤³¤ÎÁàºî¤Ï¡¢°Ê²¼¤ËÎóµó¤µ¤ì¤Æ¤¤¤ë¥Æ¡¼¥×Áàºî¤Î¤¦¤Á¤Î
57 ¤¤¤º¤ì¤«°ì¤Ä¤Ç¤Ê¤±¤ì¤Ð¤Ê¤é¤Ê¤¤¡£
59 .\"O The default tape device to operate on is taken from the file
60 .\"O .I /usr/include/sys/mtio.h
63 .\"O is compiled. It can be overridden by giving a device file name in
64 .\"O the environment variable
66 .\"O or by a command line option (see below), which also overrides the
67 .\"O environment variable.
68 ¥Ç¥Õ¥©¥ë¥È¤ÇÁàºîÂоݤȤʤë¥Æ¡¼¥×¥Ç¥Ð¥¤¥¹¤Ï¡¢
70 ¤¬¥³¥ó¥Ñ¥¤¥ë¤µ¤ì¤¿¤È¤¡¢¥Õ¥¡¥¤¥ë
71 .I /usr/include/sys/mtio.h
73 ¥Ç¥Ð¥¤¥¹¥Õ¥¡¥¤¥ë̾¤ò´Ä¶ÊÑ¿ô
75 ¤Ç»Ø¼¨¤·¤¿¤ê¡¢¥³¥Þ¥ó¥É¥é¥¤¥ó¥ª¥×¥·¥ç¥ó (²¼µ»²¾È) ¤òÍѤ¤¤ì¤Ð¡¢
76 ¤³¤ì¤òÊѹ¹¤¹¤ë¤³¤È¤¬¤Ç¤¤ë¡£
77 ¥³¥Þ¥ó¥É¥é¥¤¥ó¥ª¥×¥·¥ç¥ó¤Ï´Ä¶ÊÑ¿ô¤è¤êÍ¥À褵¤ì¤ë¡£
79 .\"O The device must be either a character special file or a
80 .\"O remote tape drive. To use a tape drive on another machine as the
81 .\"O archive, use a filename that starts with `HOSTNAME:'. The
82 .\"O hostname can be preceded by a username and an `@' to access the remote
83 .\"O tape drive as that user, if you have permission to do so (typically an
84 .\"O entry in that user's `~/.rhosts' file).
85 ¥Ç¥Ð¥¤¥¹¤Ï¥¥ã¥é¥¯¥¿¡¼¥¹¥Ú¥·¥ã¥ë¥Õ¥¡¥¤¥ë¡¢¤Þ¤¿¤Ï¥ê¥â¡¼¥È¥Æ¡¼¥×¥É¥é¥¤¥Ö¤Ç
87 ¾¤Î·×»»µ¡¾å¤Î¥Æ¡¼¥×¥É¥é¥¤¥Ö¤ò¥¢¡¼¥«¥¤¥Ö¤È¤·¤Æ»È¤¦¤Ë¤Ï¡¢`HOSTNAME:' ¤Ç
88 »Ï¤Þ¤ë¥Õ¥¡¥¤¥ë̾¤ò»È¤¦¤³¤È¡£
89 ¥ê¥â¡¼¥È¥Æ¡¼¥×¥É¥é¥¤¥Ö¤ËÆÃÄê¤Î¥æ¡¼¥¶¡¼¤Ç¥¢¥¯¥»¥¹¤Ç¤¤ë¾ì¹ç
90 (°ìÈ̤ˤϡ¢¤½¤Î¥æ¡¼¥¶¡¼¤Î `~/.rhosts' ¥Õ¥¡¥¤¥ë¤Ë¥¨¥ó¥È¥ê¤¬¤¢¤ë¾ì¹ç)¡¢
91 ¥Û¥¹¥È̾¤ÎÁ°¤Ë¡Ö¥æ¡¼¥¶¡¼Ì¾ + `@'¡×¤ò¤Ä¤±¤ë¤³¤È¤¬¤Ç¤¤ë¡£
93 .\"O The available operations are listed below. Unique abbreviations are
94 .\"O accepted. Not all operations are available on all systems, or work on
95 .\"O all types of tape drives.
96 .\"O Some operations optionally take a repeat count, which can be given
97 .\"O after the operation name and defaults to 1.
98 ²Äǽ¤ÊÁàºî¤ò°Ê²¼¤ËÎóµó¤¹¤ë¡£
99 ¾¤È½Å¤Ê¤é¤Ê¤¤¾Êά·Á¤â»È¤¨¤ë¡£
100 ¤¢¤é¤æ¤ë¥·¥¹¥Æ¥à¤È¤¢¤é¤æ¤ë¥¿¥¤¥×¤Î¥Æ¡¼¥×¥É¥é¥¤¥Ö¤Ç¡¢
101 ¤¹¤Ù¤Æ¤ÎÁàºî¤¬²Äǽ¤Ç¤¢¤ë¤È¤Ï¸Â¤é¤Ê¤¤¡£
102 ¥ª¥×¥·¥ç¥ó¤È¤·¤Æ·«¤êÊÖ¤·²ó¿ô¤ò¤È¤ëÁàºî¤â¤¢¤ë¡£
103 ²ó¿ô¤ÏÁàºî̾¤Î¸å¤Ë»ØÄê¤Ç¤¡¢¥Ç¥Õ¥©¥ë¥È¤Ï 1 ²ó¤Ç¤¢¤ë¡£
107 .\"O EOF marks at current position.
110 ¤Ç»ØÄꤵ¤ì¤¿¿ô¤Î EOF ¥Þ¡¼¥¯¤ò½ñ¤¹þ¤à¡£
115 .\"O The tape is positioned on the first block of the next file.
117 ¤Ç»ØÄꤵ¤ì¤¿¿ô¤Î¥Õ¥¡¥¤¥ëʬ¤À¤±¿Ê¤á¤ë¡£
118 ¥Æ¡¼¥×¤Î°ÌÃ֤ϼ¡¤Î¥Õ¥¡¥¤¥ë¤ÎÂè 1 ¥Ö¥í¥Ã¥¯¤Ë¤Ê¤ë¡£
123 .\"O The tape is positioned on the first block of the next file.
125 ¤Ç»ØÄꤵ¤ì¤¿¿ô¤Î¥Õ¥¡¥¤¥ëʬ¤À¤±Ì᤹¡£
126 ¥Æ¡¼¥×¤Î°ÌÃ֤ϼ¡¤Î¥Õ¥¡¥¤¥ë¤ÎÂè 1 ¥Ö¥í¥Ã¥¯¤Ë¤Ê¤ë¡£
132 ¤Ç»ØÄꤵ¤ì¤¿¿ô¤Î¥ì¥³¡¼¥Éʬ¤À¤±¿Ê¤á¤ë¡£
138 ¤Ç»ØÄꤵ¤ì¤¿¿ô¤Î¥ì¥³¡¼¥Éʬ¤À¤±Ì᤹¡£
143 .\"O The tape is positioned on the beginning-of-the-tape side of
146 ¤Ç»ØÄꤵ¤ì¤¿¿ô¤Î¥Õ¥¡¥¤¥ë¥Þ¡¼¥¯Ê¬¤À¤±Ì᤹¡£
147 ¥Æ¡¼¥×¤Î°ÌÃ֤ϥե¡¥¤¥ë¥Þ¡¼¥¯¤Î¥Æ¡¼¥×ÀèƬ¦¤Ë¤Ê¤ë¡£
152 .\"O The tape is positioned on the beginning-of-the-tape side of
155 ¤Ç»ØÄꤵ¤ì¤¿¿ô¤Î¥Õ¥¡¥¤¥ë¥Þ¡¼¥¯Ê¬¤À¤±¿Ê¤á¤ë¡£
156 ¥Æ¡¼¥×¤Î°ÌÃ֤ϥե¡¥¤¥ë¥Þ¡¼¥¯¤Î¥Æ¡¼¥×ÀèƬ¦¤Ë¤Ê¤ë¡£
158 .\"O Absolute space to file number
160 .\"O Equivalent to rewind followed by fsf
169 .\"O Seek to block number
175 .\"O Space to the end of the recorded media on the tape
176 .\"O (for appending files onto tapes).
177 (¥Æ¡¼¥×¤Ë¥Õ¥¡¥¤¥ë¤òÄɲ乤뤿¤á¤Ë) ¥Æ¡¼¥×¾å¤Î
178 µÏ¿ºÑ¤ßÎΰè¤ÎËöÈø¤Ë°ÜÆ°¤¹¤ë¡£
180 .\"O Rewind the tape.
182 .IP "offline, rewoffl"
183 .\"O Rewind the tape and, if applicable, unload the tape.
184 ¥Æ¡¼¥×¤ò´¬¤Ìᤷ¡¢¤â¤·²Äǽ¤Ê¤é¥¢¥ó¥í¡¼¥É¤¹¤ë¡£
186 .\"O Print status information about the tape unit.
187 ¥Æ¡¼¥×¥æ¥Ë¥Ã¥È¤Î¾õÂ֤ˤĤ¤¤Æ¤Î¾ðÊó¤òɽ¼¨¤¹¤ë¡£
189 .\"O Rewind the tape, then wind it to the end of the reel,
190 .\"O then rewind it again.
191 ¥Æ¡¼¥×¤ò´¬¤Ìᤷ¤¿¸å¡¢¥ê¡¼¥ë¤ÎºÇ¸å¤Þ¤Ç¿Ê¤á¡¢
192 ¤µ¤é¤Ë¤â¤¦°ìÅÙ´¬¤Ì᤹¡£
198 .\"O exits with a status of 0 if the operation succeeded, 1 if the
199 .\"O operation or device name given was invalid, or 2 if the operation
202 ¤ÏÁàºî¤¬À®¸ù¤·¤¿¾ì¹ç¡¢¾õÂÖ 0 ¤Ç½ªÎ»¤¹¤ë¡£
203 »Ø¼¨¤µ¤ì¤¿Áàºî¤Þ¤¿¤Ï¥Ç¥Ð¥¤¥¹Ì¾¤¬Ìµ¸ú¤Ê¾ì¹ç¡¢¾õÂÖ 1 ¤Ç½ªÎ»¤¹¤ë¡£
204 Áàºî¤¬¼ºÇÔ¤·¤¿¾ì¹ç¡¢¾õÂÖ 2 ¤Ç½ªÎ»¤¹¤ë¡£
208 .I "\-f, \-\-file=device"
211 .\"O as the file name of the tape drive to operate on.
213 .\"O tape drive on another machine, use a filename that
214 .\"O starts with `HOSTNAME:'. The hostname can be preceded by a
215 .\"O username and an `@' to access the remote tape drive as that user, if
216 .\"O you have permission to do so (typically an entry in that user's
217 .\"O `~/.rhosts' file).
218 Áàºî¤¹¤ë¥Æ¡¼¥×¥É¥é¥¤¥Ö¤ò¡¢¥Õ¥¡¥¤¥ë̾¤¬
221 ¾¤Î·×»»µ¡¾å¤Î¥Æ¡¼¥×¥É¥é¥¤¥Ö¤ò»È¤¦¤Ë¤Ï¡¢
222 `HOSTNAME:' ¤Ç»Ï¤Þ¤ë¥Õ¥¡¥¤¥ë̾¤ò»È¤¦¤³¤È¡£
223 ¥ê¥â¡¼¥È¥Æ¡¼¥×¥É¥é¥¤¥Ö¤ËÆÃÄê¤Î¥æ¡¼¥¶¡¼¤Ç¥¢¥¯¥»¥¹¤Ç¤¤ë¾ì¹ç
224 (°ìÈ̤ˤϡ¢¤½¤Î¥æ¡¼¥¶¡¼¤Î `~/.rhosts' ¥Õ¥¡¥¤¥ë¤Ë¥¨¥ó¥È¥ê¤¬¤¢¤ë¾ì¹ç)¡¢
225 ¥Û¥¹¥È̾¤ÎÁ°¤Ë¡Ö¥æ¡¼¥¶¡¼Ì¾ + `@'¡×¤ò¤Ä¤±¤ë¤³¤È¤¬¤Ç¤¤ë¡£
227 .I "\-V, \-\-version"
228 .\"O Print the version number of
231 ¤Î¥Ð¡¼¥¸¥ç¥óÈÖ¹æ¤òɽ¼¨¤¹¤ë¡£