I think I've found some needed enhancement :
Thanks for looking and sending feedback + sample code :)
Regarding SCSI reference guide, to get logical position on tape, there's 2 version of SCSI command READ_POSITION 34h
byte of the CDB could be 0 or 6h (SHORT / LONG form)
in ssc_read_position ( file ssc.c )
in the case "TAPE_LOADED", we process only the case where byte == 0 or 1 ( what is 1 ?? )
I need to look this up again, but I know something was using '1' - details escape me at the moment.
I suggest to replace the
Any chance of sending in a 'diff -u' format ?
Better yet, if you can install git..
$ git init
$ git pull http://github.com/ <edit away> Commit your changes: (Prefer one logical change per commit.)
$ git commit -a --signoff
Send me the patch via git:
$ git format-patch -p --stat --keep-subject -o ~/patch/ HEAD^ (where the last 'HEAD^' indicates just the last patch.. Use HEAD^^ for the last 2 patches.. or "git format-patch -p --stat --keep-subject -o ~/patch/ branch_name" for all patches between here and the 'branch_name' reference.)
SHORT FORM -- BLOCK ID
Device server shall return 20 bytes of data with the FIRST LOGICAL OBJECT LOCATION and LAST LOGICAL OBJECT LOCATION fields as logical object identifier values (see 126.96.36.199), relative to a partition.
SHORT FORM -- VENDOR SPECIFIC
Device server shall return 20 bytes of data with the FIRST LOGICAL OBJECT LOCATION and LAST LOGICAL OBJECT LOCATION fields as vendor-specific values.
Device server shall return 32 bytes of data.
service actions 00 & 06 are listed as 'Mandatory' while 01h is 'Optional'