LinuxQuestions.org
Visit the LQ Articles and Editorials section
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
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.

Notices

Reply
 
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?
 
  


Reply

Tags
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 09:47 PM.

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