Fujitsu MBC2073RC Computer Drive User Manual


 
4.4 Maintenance, Diagnostic Commands
C141-C013 279
4.4.7 WRITE SAME (41)
Bit
Byte
7 6 5 4 3 2 1 0
0 X'41'
1 0 0 0 0 0 Pbdata Lbdata RelAdr
2 Logical Block Address (MSB)
3 Logical Block Address
4 Logical Block Address
5 Logical Block Address (LSB)
6 0 0 0 0 0 0 0 0
7 Number of Blocks (MSB)
8 Number of Blocks (LSB)
9 0 0 0 0 0 0 0 0
This command requests that the device server write the single block of data
transferred by the application client to the medium multiple times to consecutive
multiple logical blocks.
A "Logical Block data (Lbdata)" bit of zero and a "Physical Block data (Pbdata)"
bit of zero indicates that the single block of data transferred by the application
client shall be used without modification. A "Lbdata" bit of one requests that the
HDD replace the first four bytes of the data to be written to the current logical
block with the logical block address of the block currently being written.
A "Pbdata" bit of one requests that the HDD replace the first eight bytes of the
data to be written to the current physical sector with the physical address of the
sector currently being written using the physical sector format.
The HDD is not supported a "Pbdata" bit. Therefore, if "Pbdata" bit is one, this
command is terminated with CHECK CONDITION status (ILLEGAL REQUEST
[=5] / Invalid field in CDB [=24-00]).
A "Relative Address (RelAdr)" bit of zero indicates that the "Logical Block
Address" field specifies the first logical block of the range of logical blocks for
this command.
A "RelAdr" bit of one indicates that the "Logical Block Address" field is a two's
complement displacement. But the HDD is not supported this bit. Therefore, if
this bit is one, this command is terminated with CHECK CONDITION status
(ILLEGAL REQUEST [=5] / Invalid field in CDB [=24-00]).