1 # Example loadfile for SCSI
2 # last value is sense or *
4 # timestamp TESTUNITREADY sense
5 0.000 TESTUNITREADY 0x00
8 # timestamp READ6 lba #xferlen sense
9 # if lba is 0xffffffff this means to use a random lba
13 # timestamp READ10 lba #xferlen rd grp sense
14 # if lba is 0xffffffff this means to use a random lba
17 # 3 bits 0xe0 : RDPROTECT
21 0.000 READ10 0 256 0 0 0x00
22 0.000 READ10 1000 256 0 0 0x00
23 0.000 READ10 2000 256 0 0 0x00
24 0.000 READ10 5000 256 0 0 0x00
27 # timestamp READCAPACITY10 lba pmi(0/1) sense
28 0.000 READCAPACITY10 0 0 0x00
31 # timestamp WRITE10 lba #xferlen FUAbits grp sense
32 # WRITES are ignored by default and must be activated using --allow-scsi-writes
34 # if lba is 0xffffffff this means to use a random lba
36 # FUAbits are cdb byte#1 in SBC:
37 # a value of 0x06 will force the data to be written to the medium
38 # a value of 0x00 allow the device to only write to nv-ram and not medium
39 0.000 WRITE10 5000 1 0x06 0 0x00