Subject: Re: Interpreting SCSI output messages
To: NetBSD-current user's List <current-users@NetBSD.org>
From: Ben Collver <collver@peak.org>
List: current-users
Date: 07/16/2006 23:08:18
On Sat, Jul 15, 2006 at 06:08:22PM -0400, Greg A. Woods wrote:
> Is there an existing tool to do this?
I couldn't find one, so here is a go at it:
http://terrorpin.net/~ben/docs/comp/lang/c/scsi-cdb-decipher.c
example output:
$ ./a.out
Enter magic numbers: 0x28 00 00 05 10 8a 00 00 20 00
group=1, op=READ(10), lba=331914, lbalen=8, control=0, len=32
Cheers,
Ben