OSDN Git Service

Import translated manuals from JM CVS Repository.
[linuxjm/jm.git] / manual / GNU_cpio / draft / man1 / mt.1
1 .\"   Copyright (C) 1994-1999 Free Software Foundation, Inc.
2 .\"
3 .\"   Permission is granted to make and distribute verbatim copies of
4 .\"this
5 .\"manual provided the copyright notice and this permission notice are
6 .\"preserved on all copies.
7 .\"
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.
12 .\"
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.
17 .\"
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>
22 .\"
23 .\"WORD:        archive                 ¥¢¡¼¥«¥¤¥Ö
24 .\"WORD:        character special file  ¥­¥ã¥é¥¯¥¿¡¼¥¹¥Ú¥·¥ã¥ë¥Õ¥¡¥¤¥ë
25 .\"WORD:        device                  ¥Ç¥Ð¥¤¥¹
26 .\"WORD:        operation               Áàºî
27 .\"WORD:        unique                  Â¾¤È½Å¤Ê¤é¤Ê¤¤
28 .\"
29 .TH MT 1L \" -*- nroff -*-
30 .\"O .SH NAME
31 .SH Ì¾Á°
32 .\"O mt \- control magnetic tape drive operation
33 mt \- ¼§µ¤¥Æ¡¼¥×¥É¥é¥¤¥Ö¤ÎÁàºî¤òÀ©¸æ¤¹¤ë
34 .\"O .SH SYNOPSIS
35 .SH ½ñ¼°
36 .B mt
37 [\-V] [\-f device] [\-\-file=device] [\-\-version]
38 operation [count]
39 .\"O .SH DESCRIPTION
40 .SH ÀâÌÀ
41 .\"O This manual page
42 .\"O documents the GNU version of
43 .\"O .BR mt .
44 .\"O .B mt
45 .\"O performs the given
46 .\"O .IR operation ,
47 .\"O which must be one of the tape operations listed below, on a tape
48 .\"O drive.
49 ¤³¤Î¥Þ¥Ë¥å¥¢¥ë¥Ú¡¼¥¸¤Ï GNU ÈǤÎ
50 .B mt
51 ¤Ë¤Ä¤¤¤ÆÀâÌÀ¤·¤Æ¤¤¤ë¡£
52 .B mt
53 ¤Ï¥Æ¡¼¥×¥É¥é¥¤¥Ö¤ËÂФ·¤Æ¡¢»Ø¼¨¤µ¤ì¤¿Áàºî
54 .I operation 
55 ¤ò¹Ô¤¦¡£
56 ¤³¤ÎÁàºî¤Ï¡¢°Ê²¼¤ËÎóµó¤µ¤ì¤Æ¤¤¤ë¥Æ¡¼¥×Áàºî¤Î¤¦¤Á¤Î
57 ¤¤¤º¤ì¤«°ì¤Ä¤Ç¤Ê¤±¤ì¤Ð¤Ê¤é¤Ê¤¤¡£
58 .PP
59 .\"O The default tape device to operate on is taken from the file
60 .\"O .I /usr/include/sys/mtio.h
61 .\"O when
62 .\"O .B mt
63 .\"O is compiled.  It can be overridden by giving a device file name in
64 .\"O the environment variable
65 .\"O .BR TAPE
66 .\"O or by a command line option (see below), which also overrides the
67 .\"O environment variable.
68 ¥Ç¥Õ¥©¥ë¥È¤ÇÁàºîÂоݤȤʤë¥Æ¡¼¥×¥Ç¥Ð¥¤¥¹¤Ï¡¢
69 .B mt
70 ¤¬¥³¥ó¥Ñ¥¤¥ë¤µ¤ì¤¿¤È¤­¡¢¥Õ¥¡¥¤¥ë
71 .I /usr/include/sys/mtio.h
72 ¤«¤éÁª¤Ð¤ì¤ë¡£
73 ¥Ç¥Ð¥¤¥¹¥Õ¥¡¥¤¥ë̾¤ò´Ä¶­ÊÑ¿ô
74 .BR TAPE
75 ¤Ç»Ø¼¨¤·¤¿¤ê¡¢¥³¥Þ¥ó¥É¥é¥¤¥ó¥ª¥×¥·¥ç¥ó (²¼µ­»²¾È) ¤òÍѤ¤¤ì¤Ð¡¢
76 ¤³¤ì¤òÊѹ¹¤¹¤ë¤³¤È¤¬¤Ç¤­¤ë¡£
77 ¥³¥Þ¥ó¥É¥é¥¤¥ó¥ª¥×¥·¥ç¥ó¤Ï´Ä¶­ÊÑ¿ô¤è¤êÍ¥À褵¤ì¤ë¡£
78 .PP
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 ¥Ç¥Ð¥¤¥¹¤Ï¥­¥ã¥é¥¯¥¿¡¼¥¹¥Ú¥·¥ã¥ë¥Õ¥¡¥¤¥ë¡¢¤Þ¤¿¤Ï¥ê¥â¡¼¥È¥Æ¡¼¥×¥É¥é¥¤¥Ö¤Ç
86 ¤Ê¤±¤ì¤Ð¤Ê¤é¤Ê¤¤¡£
87 ¾¤Î·×»»µ¡¾å¤Î¥Æ¡¼¥×¥É¥é¥¤¥Ö¤ò¥¢¡¼¥«¥¤¥Ö¤È¤·¤Æ»È¤¦¤Ë¤Ï¡¢`HOSTNAME:' ¤Ç
88 »Ï¤Þ¤ë¥Õ¥¡¥¤¥ë̾¤ò»È¤¦¤³¤È¡£
89 ¥ê¥â¡¼¥È¥Æ¡¼¥×¥É¥é¥¤¥Ö¤ËÆÃÄê¤Î¥æ¡¼¥¶¡¼¤Ç¥¢¥¯¥»¥¹¤Ç¤­¤ë¾ì¹ç
90 (°ìÈ̤ˤϡ¢¤½¤Î¥æ¡¼¥¶¡¼¤Î `~/.rhosts' ¥Õ¥¡¥¤¥ë¤Ë¥¨¥ó¥È¥ê¤¬¤¢¤ë¾ì¹ç)¡¢
91 ¥Û¥¹¥È̾¤ÎÁ°¤Ë¡Ö¥æ¡¼¥¶¡¼Ì¾ + `@'¡×¤ò¤Ä¤±¤ë¤³¤È¤¬¤Ç¤­¤ë¡£
92 .PP
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 ²ó¤Ç¤¢¤ë¡£
104 .IP "eof, weof"
105 .\"O Write
106 .\"O .I count
107 .\"O EOF marks at current position.
108 ¸½ºß¤Î°ÌÃÖ¤Ë
109 .I count
110 ¤Ç»ØÄꤵ¤ì¤¿¿ô¤Î EOF ¥Þ¡¼¥¯¤ò½ñ¤­¹þ¤à¡£
111 .IP fsf
112 .\"O Forward space
113 .\"O .I count
114 .\"O files.
115 .\"O The tape is positioned on the first block of the next file.
116 .I count
117 ¤Ç»ØÄꤵ¤ì¤¿¿ô¤Î¥Õ¥¡¥¤¥ëʬ¤À¤±¿Ê¤á¤ë¡£
118 ¥Æ¡¼¥×¤Î°ÌÃ֤ϼ¡¤Î¥Õ¥¡¥¤¥ë¤ÎÂè 1 ¥Ö¥í¥Ã¥¯¤Ë¤Ê¤ë¡£
119 .IP bsf
120 .\"O Backward space
121 .\"O .I count
122 .\"O files.
123 .\"O The tape is positioned on the first block of the next file.
124 .I count
125 ¤Ç»ØÄꤵ¤ì¤¿¿ô¤Î¥Õ¥¡¥¤¥ëʬ¤À¤±Ì᤹¡£
126 ¥Æ¡¼¥×¤Î°ÌÃ֤ϼ¡¤Î¥Õ¥¡¥¤¥ë¤ÎÂè 1 ¥Ö¥í¥Ã¥¯¤Ë¤Ê¤ë¡£
127 .IP fsr
128 .\"O Forward space
129 .\"O .I count
130 .\"O records.
131 .I count
132 ¤Ç»ØÄꤵ¤ì¤¿¿ô¤Î¥ì¥³¡¼¥Éʬ¤À¤±¿Ê¤á¤ë¡£
133 .IP bsr
134 .\"O Backward space
135 .\"O .I count
136 .\"O records.
137 .I count
138 ¤Ç»ØÄꤵ¤ì¤¿¿ô¤Î¥ì¥³¡¼¥Éʬ¤À¤±Ì᤹¡£
139 .IP bsfm
140 .\"O Backward space
141 .\"O .I count
142 .\"O file marks.
143 .\"O The tape is positioned on the beginning-of-the-tape side of
144 .\"O the file mark.
145 .I count
146 ¤Ç»ØÄꤵ¤ì¤¿¿ô¤Î¥Õ¥¡¥¤¥ë¥Þ¡¼¥¯Ê¬¤À¤±Ì᤹¡£
147 ¥Æ¡¼¥×¤Î°ÌÃ֤ϥե¡¥¤¥ë¥Þ¡¼¥¯¤Î¥Æ¡¼¥×ÀèƬ¦¤Ë¤Ê¤ë¡£
148 .IP fsfm
149 .\"O Forward space
150 .\"O .I count
151 .\"O file marks.
152 .\"O The tape is positioned on the beginning-of-the-tape side of
153 .\"O the file mark.
154 .I count
155 ¤Ç»ØÄꤵ¤ì¤¿¿ô¤Î¥Õ¥¡¥¤¥ë¥Þ¡¼¥¯Ê¬¤À¤±¿Ê¤á¤ë¡£
156 ¥Æ¡¼¥×¤Î°ÌÃ֤ϥե¡¥¤¥ë¥Þ¡¼¥¯¤Î¥Æ¡¼¥×ÀèƬ¦¤Ë¤Ê¤ë¡£
157 .IP asf
158 .\"O Absolute space to file number
159 .\"O .IR count .
160 .\"O Equivalent to rewind followed by fsf
161 .\"O .IR count .
162 ÀäÂÐ¥Õ¥¡¥¤¥ëÈÖ¹æ
163 .I count
164 ¤Ë¿Ê¤á¤ë¡£
165 ´¬¤­Ìᤷ¤Æ¤«¤é fst
166 .I count
167 ¤È¤·¤¿¾ì¹ç¤ÈƱ¤¸¡£ 
168 .IP seek
169 .\"O Seek to block number
170 .\"O .IR count .
171 ¥Ö¥í¥Ã¥¯ÈÖ¹æ
172 .I count 
173 ¤Ë¿Ê¤á¤ë¡£
174 .IP eom
175 .\"O Space to the end of the recorded media on the tape
176 .\"O (for appending files onto tapes).
177 (¥Æ¡¼¥×¤Ë¥Õ¥¡¥¤¥ë¤òÄɲ乤뤿¤á¤Ë) ¥Æ¡¼¥×¾å¤Î
178 µ­Ï¿ºÑ¤ßÎΰè¤ÎËöÈø¤Ë°ÜÆ°¤¹¤ë¡£
179 .IP rewind
180 .\"O Rewind the tape.
181 ¥Æ¡¼¥×¤ò´¬¤­Ì᤹¡£
182 .IP "offline, rewoffl"
183 .\"O Rewind the tape and, if applicable, unload the tape.
184 ¥Æ¡¼¥×¤ò´¬¤­Ìᤷ¡¢¤â¤·²Äǽ¤Ê¤é¥¢¥ó¥í¡¼¥É¤¹¤ë¡£
185 .IP status
186 .\"O Print status information about the tape unit.
187 ¥Æ¡¼¥×¥æ¥Ë¥Ã¥È¤Î¾õÂ֤ˤĤ¤¤Æ¤Î¾ðÊó¤òɽ¼¨¤¹¤ë¡£
188 .IP retension
189 .\"O Rewind the tape, then wind it to the end of the reel,
190 .\"O then rewind it again.
191 ¥Æ¡¼¥×¤ò´¬¤­Ìᤷ¤¿¸å¡¢¥ê¡¼¥ë¤ÎºÇ¸å¤Þ¤Ç¿Ê¤á¡¢
192 ¤µ¤é¤Ë¤â¤¦°ìÅÙ´¬¤­Ì᤹¡£
193 .IP erase
194 .\"O Erase the tape.
195 ¥Æ¡¼¥×¤ò¾Ãµî¤¹¤ë¡£
196 .PP
197 .\"O .B mt
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
200 .\"O failed.
201 .B mt
202 ¤ÏÁàºî¤¬À®¸ù¤·¤¿¾ì¹ç¡¢¾õÂÖ 0 ¤Ç½ªÎ»¤¹¤ë¡£
203 »Ø¼¨¤µ¤ì¤¿Áàºî¤Þ¤¿¤Ï¥Ç¥Ð¥¤¥¹Ì¾¤¬Ìµ¸ú¤Ê¾ì¹ç¡¢¾õÂÖ 1 ¤Ç½ªÎ»¤¹¤ë¡£
204 Áàºî¤¬¼ºÇÔ¤·¤¿¾ì¹ç¡¢¾õÂÖ 2 ¤Ç½ªÎ»¤¹¤ë¡£
205 .\"O .SS OPTIONS
206 .SS ¥ª¥×¥·¥ç¥ó
207 .TP
208 .I "\-f, \-\-file=device"
209 .\"O Use
210 .\"O .I device
211 .\"O as the file name of the tape drive to operate on.
212 .\"O To use a
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 Áàºî¤¹¤ë¥Æ¡¼¥×¥É¥é¥¤¥Ö¤ò¡¢¥Õ¥¡¥¤¥ë̾¤¬
219 .I device
220 ¤Î¤â¤Î¤Ë¤¹¤ë¡£
221 ¾¤Î·×»»µ¡¾å¤Î¥Æ¡¼¥×¥É¥é¥¤¥Ö¤ò»È¤¦¤Ë¤Ï¡¢
222 `HOSTNAME:' ¤Ç»Ï¤Þ¤ë¥Õ¥¡¥¤¥ë̾¤ò»È¤¦¤³¤È¡£
223 ¥ê¥â¡¼¥È¥Æ¡¼¥×¥É¥é¥¤¥Ö¤ËÆÃÄê¤Î¥æ¡¼¥¶¡¼¤Ç¥¢¥¯¥»¥¹¤Ç¤­¤ë¾ì¹ç
224 (°ìÈ̤ˤϡ¢¤½¤Î¥æ¡¼¥¶¡¼¤Î `~/.rhosts' ¥Õ¥¡¥¤¥ë¤Ë¥¨¥ó¥È¥ê¤¬¤¢¤ë¾ì¹ç)¡¢
225 ¥Û¥¹¥È̾¤ÎÁ°¤Ë¡Ö¥æ¡¼¥¶¡¼Ì¾ + `@'¡×¤ò¤Ä¤±¤ë¤³¤È¤¬¤Ç¤­¤ë¡£
226 .TP
227 .I "\-V, \-\-version"
228 .\"O Print the version number of
229 .\"O .BR mt .
230 .B mt
231 ¤Î¥Ð¡¼¥¸¥ç¥óÈÖ¹æ¤òɽ¼¨¤¹¤ë¡£
232
233