Register a domain and help support LQ
Go Back > Forums > Linux Forums > Linux - Software
User Name
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.


  Search this Thread
Old 07-14-2009, 02:57 PM   #1
Thomas Wagner
LQ Newbie
Registered: Aug 2008
Posts: 8

Rep: Reputation: 0
Getting tape drive status using MTGETIO in ioctl

OS is REDHAD Linux enterprise 4 64bit

Tape is HP LTO 2

Using ioctl with function MTGETIO to get the current status
of the tape drive. It seems to work but the results are suspect.
The reason I say this is the drive type comes back as 114 and
the same drive under unix gives an 8. Therefore I am not sure
if the status register is correct. Does anyone have the status
bits that HP LTO 2 would return such as beginning of tape, on-line
and end of tape or where I can get them on the internet?


status, tape

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Can't get tape drive status WojtekO Linux - Hardware 3 04-08-2009 08:43 PM
Is Tar file to tape drive faster than dir/files to tape drive? Runge_Kutta Linux - General 2 03-11-2009 07:13 AM
How to find tape drive cleaning status? ksun Linux - Hardware 2 02-14-2009 09:44 AM
tape i/o using ioctl Thomas Wagner Programming 1 08-20-2008 03:46 PM
Using a DDS5 tape drive to restore from a DDS3 backup tape. AndrewCAtWayofthebit Linux - Hardware 1 05-14-2006 09:15 AM

All times are GMT -5. The time now is 12:13 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration