| From | Sent On | Attachments |
|---|
| Subject: | Parse sense data with camcontrol into shell variable! | |
|---|---|---|
| From: | Lars Köller (Lars...@post.uni-bielefeld.de) | |
| Date: | Aug 25, 1998 12:03:38 am | |
| List: | org.freebsd.freebsd-scsi | |
Refine Search
| From | Sent On | Attachments |
|---|---|---|
| Lars Köller | Aug 25, 1998 12:03 am | |
| Mike Smith | Aug 25, 1998 6:47 am | |
| Kenneth D. Merry | Aug 25, 1998 10:09 am | |
| Kenneth D. Merry | Aug 25, 1998 10:25 am | |
| Jambi | Aug 25, 1998 11:38 am | |
| Matthew Jacob | Aug 25, 1998 12:16 pm | |
| Wilko Bulte | Aug 25, 1998 2:10 pm | |
| Matthew Jacob | Aug 25, 1998 4:27 pm | |
| Wilko Bulte | Aug 26, 1998 2:24 am | |
| Simon Shapiro | Aug 26, 1998 7:55 am | |
| Simon Shapiro | Aug 26, 1998 7:56 am | |
| Matthew Jacob | Aug 26, 1998 8:03 am |
| Subject: | Parse sense data with camcontrol into shell variable! | |
|---|---|---|
| From: | Lars Köller (Lars...@post.uni-bielefeld.de) | |
| Date: | Aug 25, 1998 12:03:38 am | |
| List: | org.freebsd.freebsd-scsi | |
--------
Hallo experts!
I just rewrite a ADIC DAT AutoLoader script from scsi to chio! The problem is to get the sense data (19 bytes) from the changer. The chio command is not able to solve this problem.
However, I need only byte number 19 from the sense data, cause it contains data about an open doors of the changer etc.
How can I parse the data with camcontrol into a shell variable. Request sense data command is "03 ....", so it should look like
camcontrol -n ch -c "03 0 0 0 13 0" -O .......
Thanks
Lars
-- E-Mail: | Lars Köller Lars...@Uni-Bielefeld.DE | UNIX Sysadmin lkoe...@cc.FH-Lippe.DE | Computing Center PGP-key: | University of Bielefeld http://www.nic.surfnet.nl/pgp/pks-toplev.html | Germany ----------- FreeBSD, what else? ---- http://www.freebsd.org -------------
To Unsubscribe: send mail to majo...@FreeBSD.org with "unsubscribe freebsd-scsi" in the body of the message

