[9105] in linux-scsi channel archive

home help back first fref pref prev next nref lref last post

determining fixed/variable tape device

daemon@ATHENA.MIT.EDU (Timothy Shimmin)
Fri Jun 30 22:15:39 2000

From: tes@boing.melbourne.sgi.com (Timothy Shimmin)
Message-Id: <200007010208.MAA51103@boing.melbourne.sgi.com>
To: linux-scsi@vger.rutgers.edu (Scsi Linux),
	linux-tape@vger.rutgers.edu (Tapes Linux)
Date:	Sat, 1 Jul 2000 12:08:48 +1000 (EST)
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit

Hi Guys,

I have a few questions.

1) Is there a way to tell if a tape device is in variable sized
   block mode or fixed block mode ?
   - having a quick look at the st.c tape driver,
     is it the case that a block-size (accessed using mt_dsreg) 
     of 0 indicates a variable sized device ? 
   - In IRIX one can tell by looking at the devicename.

2) I presume that there is no info kept on what the maximum block
   size that a tape device handles ?

3) For looking at the status of the tape there semms to be
   mt_gstat and GMT_* macros.
   Is there any way of telling an early warning, EW, state ?

Thanks muchly,
Tim.

-
To unsubscribe from this list: send the line "unsubscribe linux-scsi" in
the body of a message to majordomo@vger.rutgers.edu

home help back first fref pref prev next nref lref last post