Assuming they're using a recent version of lin_tape. IIRC, that file didn't appear till about 1.9 of lin_tape (at our request, I believe).
At that kernel level, they're more likely using ibmtape drivers, and the amount of status information is limited to what they can scrape out of the mostly-undocumented sysfs files. Easy to find out. Gary, what tape drivers are you using? -----Original Message----- From: Linux on 390 Port [mailto:[email protected]] On Behalf Of Harder, Pieter Sent: Wednesday, February 11, 2009 11:26 AM To: [email protected] Subject: Re: [LINUX-390] Checking for tape drives within a script Cat /proc/scsi/IBMtape? Best regards, Pieter Harder [email protected] tel +31-73-6837133 / +31-6-47272537 -----Oorspronkelijk bericht----- Van: Linux on 390 Port [mailto:[email protected]] Namens Lee, Gary D. Verzonden: woensdag 11 februari 2009 17:07 Aan: [email protected] Onderwerp: Checking for tape drives within a script Running suse sles9 kernel 2.6.5-7.314. I have a couple of 3592 drives connected via fiberchanel. These are not discovered during the normal boot process. I would like to check for their existance within a script which if they don't exist, will add them to the system during the startup process. I have confirmed adding them, just need to know how to test for their existance so as to put in error checking. Tried lszfcp, but will not work with this kernel version. Any suggestions welcome. __________ Information from ESET NOD32 Antivirus, version of virus signature database 3846 (20090211) __________ The message was checked by ESET NOD32 Antivirus. http://www.eset.com ---------------------------------------------------------------------- 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 Brabant Water N.V. Postbus 1068 5200 BC 's-Hertogenbosch http://www.brabantwater.nl Handelsregister: 16005077 ---------------------------------------------------------------------- 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 -------------------------------------------------------------------------- This message w/attachments (message) may be privileged, confidential or proprietary, and if you are not an intended recipient, please notify the sender, do not use or share it and delete it. Unless specifically indicated, this message is not an offer to sell or a solicitation of any investment products or other financial product or service, an official confirmation of any transaction, or an official statement of Merrill Lynch. Subject to applicable law, Merrill Lynch may monitor, review and retain e-communications (EC) traveling through its networks/systems. The laws of the country of each sender/recipient may impact the handling of EC, and EC may be archived, supervised and produced in countries other than the country in which you are located. This message cannot be guaranteed to be secure or error-free. References to "Merrill Lynch" are references to any company in the Merrill Lynch & Co., Inc. group of companies, which are wholly-owned by Bank of America Corporation. Securities and Insurance Products: * Are Not FDIC Insured * Are Not Bank Guaranteed * May Lose Value * Are Not a Bank Deposit * Are Not a Condition to Any Banking Service or Activity * Are Not Insured by Any Federal Government Agency. Attachments that are part of this E-communication may have additional important disclosures and disclaimers, which you should read. This message is subject to terms available at the following link: http://www.ml.com/e-communications_terms/. By messaging with Merrill Lynch you consent to the foregoing. -------------------------------------------------------------------------- ---------------------------------------------------------------------- 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
