Yeah........I did look at /proc/tapedevices. But it gives me only the device number.
And mknode did the trick here. And i am able to see all the directories Mark suggested.
>>They are most likely going to be something like this:
>>brw------- 1 root root 37, 0 2000-01-05 12:59 btibm0
>>brw------- 1 root root 37, 1 2000-01-05 12:59 btibm1
>>brw------- 1 root root 37, 2 2000-01-05 12:59 btibm2
>>crw------- 1 root root 37, 1 2000-01-05 12:59 ntibm0
>>crw------- 1 root root 37, 3 2000-01-05 12:59 ntibm1
>>crw------- 1 root root 37, 5 2000-01-05 12:59 ntibm2
>>crw------- 1 root root 37, 0 2000-01-05 12:59 rtibm0
>>crw------- 1 root root 37, 2 2000-01-05 12:59 rtibm1
>>crw------- 1 root root 37, 4 2000-01-05 12:59 rtibm2
>>
>>
>>Mark Post
| Carsten Otte <[EMAIL PROTECTED]>
Sent by: Linux on 390 Port <[EMAIL PROTECTED]> 06/02/04 10:29 PM
|
|
Hi,
have a look at /proc/tapedevices. This file is available as soon as you
loaded your tape390 device driver. It tells you what devno's are currently
managed by the driver, and what device nodes correspond with them.
with kind regards
Carsten Otte
--
I saw screens of green, red messages too, then came blue, shubidu
And i think to myself, what a wonderful world
Taraka Srinivas Kumar <[EMAIL PROTECTED]>
Sent by: Linux on 390 Port <[EMAIL PROTECTED]>
01/06/2004 04:49 PM
Please respond to Linux on 390 Port
To: [EMAIL PROTECTED]
cc:
Subject: Linux 390 tape drive
Hi people,
I was trying to dump some data into a 3490 tape.
I have issued the following commands.
1. modprobe tape390
2.lsmod
Module Size Used by Tainted:
P
st 28136 0
(autoclean) (unused)
scsi_mod 89356 1
(autoclean) [st]
netlink_dev 2008 0
(autoclean)
tape_3590_mod 17964 0
(autoclean) (unused)
tape_3490_mod 1320 0
(autoclean) (unused)
tape_3480_mod 1320 0
(autoclean) (unused)
tape390 46576 0
[tape_3590_mod tape_3490_mod tape_3480_mod]
qeth 154180 1
qdio 33652 1
[qeth]
ipv6 330012 -1 [qeth]
lvm-mod 70724 9
(autoclean)
dasd_eckd_mod 57812 8
dasd_mod 49212 9
[dasd_eckd_mod]
3.cat /proc/tapedevices
TapeNo DevNo CuType CuModel DevType DevMod
BlkSize State Op MedState
0 0E20 3490 52
3490 52 auto
UNUSED --- LOADED
1 0E21 3490 52
3490 52 auto
UNUSED --- UNKNOWN
2 0E00 3590 60
3590 11 auto
UNUSED --- UNKNOWN
3 0E01 3590 60
3590 11 auto
UNUSED --- UNKNOWN
4 0E02 3590 60
3590 11 auto
UNUSED --- UNKNOWN
5 0E03 3590 60
3590 11 auto
UNUSED --- UNKNOWN
4. I want to issue the command " mt -f /dev/????? status "
But i am not sure about /dev/????? name.
How to get these device details ?
Regards,
Srinivas.
#### InterScan_Disclaimer.txt has been removed from this note on June 02
2004 by Carsten Otte
----------------------------------------------------------------------
For LINUX-390 subscribe / signoff / archive access instructions,
send email to [EMAIL PROTECTED] with the message: INFO LINUX-390 or visit
http://www.marist.edu/htbin/wlvindex?LINUX-390
ForwardSourceID:NT00007A4E
DISCLAIMER: The information contained in this message is intended only and solely for the addressed individual or entity indicated in this message and for the exclusive use of the said addressed individual or entity indicated in this message (or responsible for delivery of the message to such person) and may contain legally privileged and confidential information belonging to Tata Consultancy Services. It must not be printed, read, copied, disclosed, forwarded, distributed or used (in whatsoever manner) by any person other than the addressee. Unauthorized use, disclosure or copying is strictly prohibited and may constitute unlawful act and can possibly attract legal action, civil and/or criminal. The contents of this message need not necessarily reflect or endorse the views of Tata Consultancy Services on any subject matter. Any action taken or omitted to be taken based on this message is entirely at your risk and neither the originator of this message nor Tata Consultancy Services takes any responsibility or liability towards the same. Opinions, conclusions and any other information contained in this message that do not relate to the official business of Tata Consultancy Services shall be understood as neither given nor endorsed by Tata Consultancy Services or any affiliate of Tata Consultancy Services. If you have received this message in error, you should destroy this message and may please notify the sender by e-mail. Thank you.
