HP-UX Reference (11i v1 00/12) - 5 Miscellaneous Topics, 7 Device (Special) Files, 9 General Information, Index (vol 9)
__________________________________________________________________________________________________________________________________________________________________________________________________
__________________________________________________________________________________________________________________________________________________________________________________________________
STANDARD Printed by: Nora Chuang [nchuang] STANDARD
/build/1111/BRICK/man7/!!!intro.7
________________________________________________________________
___ ___
s
scsi_tape(7) scsi_tape(7)
(Series 700 Only)
#define SIOC_GET_BLOCK_SIZE _IOR(’S’, 30, int)
#define SIOC_SET_BLOCK_SIZE _IOW(’S’, 31, int)
#define SIOC_GET_BLOCK_LIMITS _IOW(’S’, 32, struct scsi_block_limits)
#define SIOC_GET_POSITION _IOR(’S’, 33, int)
#define SIOC_SET_POSITION _IOW(’S’, 34, int)
/* structure for SIOC_GET_BLOCK_LIMITS ioctl */
struct scsi_block_limits {
unsigned min_blk_size;
unsigned max_blk_size;
};
WARNINGS
SCSI bus and device resets cause some devices to reposition media to beginning-of-tape (BOT). This uninten-
tional media repositioning can cause loss of data. The scsi_tape driver causes the first subsequent
open() attempt to fail as an indication of potential data loss.
The scsi_tape driver does not write filemarks at close if the media has been programatically reposi-
tioned. Applications that reposition the media prior to closing the device should write any required tape-
marks.
SEE ALSO
scsi(7), mt(7), mknod(1M).
Section 7−−132 − 2 − HP-UX Release 11i: December 2000
___
___