Lines Matching refs:tape

1 This file contains brief information about the SCSI tape driver.
11 to any specific tape drive. The tape parameters can be specified with
14 1. Each user can specify the tape parameters he/she wants to use
17 in a multiuser environment the next user finds the tape parameters in
20 2. The system manager (root) can define default values for some tape
23 new tape is loaded into the drive or if writing begins at the
24 beginning of the tape. The second method is applicable if the tape
25 drive performs auto-detection of the tape format well (like some
26 QIC-drives). The result is that any tape can be read, writing can be
28 the tape is rewritten from the beginning (or a new tape is written
50 between formats in multi-tape operations (the explicitly overridden
51 parameters are reset when a new tape is loaded).
57 supported devices. The Linux SCSI tape driver does not contain such
69 of the physical block on tape. When reading, the drive reads the next
70 tape block and returns to the user the data if the read() byte count
78 Support is provided for changing the tape partition and partitioning
79 of the tape with one or two partitions. By default support for
80 partitioned tape is disabled for each driver and it can be enabled
90 written to tape before the command returns. This makes sure that write errors
96 the program wants to close/open the tape device between files and wants to
99 If rewind, offline, bsf, or seek is done and previous tape operation was
100 write, a filemark is written before moving tape.
109 tape in the drive (commands trying to write something return error if
115 The tape driver currently supports up to 2^17 drives if 4 modes for
124 remaining bits define the tape device number. This numbering is
132 directories corresponding to the existing tape devices. There are autorewind
134 is the tape number and y a character corresponding to the mode (none, l, m,
135 a). For example, the directories for the first tape device are (assuming four
150 A link named 'tape' is made from the SCSI device directory to the class
156 The user can choose between these two behaviours of the tape driver by
158 file being read is closed. The BSD semantics leaves the tape where it
159 currently is whereas the SYS V semantics moves the tape past the next
178 The size of the driver buffers is always at least one tape block. In fixed
194 Asynchronous writing. Writing the buffer contents to the tape is
196 at the next tape operation. Asynchronous writes are not done with
201 tape after the early-warning mark to flush the driver buffer.
256 tape drive if this is non-zero
292 The tape is positioned and the drive parameters are set with ioctls
293 defined in mtio.h The tape control program 'mt' uses these ioctls. Try
294 to find an mt that supports all of the Linux SCSI tape ioctls and
295 opens the device for writing if the tape contents will be modified
304 MTFSFM As above but tape positioned before filemark.
314 wait until data is on tape)
316 MTREW Rewind tape.
319 MTRETEN Re-tension tape.
321 MTERASE Erase tape. If the argument is zero, the short erase command
324 MTSEEK Seek to tape block count. Uses Tandberg-compatible seek (QFA)
331 MTLOCK and MTUNLOCK Explicitly lock/unlock the tape drive door.
332 MTLOAD and MTUNLOAD Explicitly load and unload the tape. If the
335 drive with the command and it selects the tape slot to use of
344 MTSETPART Moves the tape to the partition given by the argument at the
345 next tape operation. The block at which the tape is positioned
346 is the block where the tape was previously positioned in the
347 new active partition unless the next tape operation is
348 MTSEEK. In this case the tape is moved directly to the block
351 MTMKPART Formats the tape with one partition (argument zero) or two
354 tape). The drive has to support partitions with size specified
377 be used for repositioning the tape (global)
472 is set if there is no tape in the drive. GMT_EOD means either
473 end of recorded data or end of tape. GMT_EOT means end of tape.
481 The maximum number of tape devices is determined by the define
485 Immediate return from tape positioning SCSI commands can be enabled by
487 the next tape operation is not started before the previous one has
515 If the tape seems to hang, I would be very interested to hear where
517 of the process using the tape. If the state is D, the process is
526 real reason is that the tape firmware has got confused.