SCSIDeviceBS

Class to hold the device handle, block size, and total blocks in a single place. This sends a ReadCapacity(10) command to the device to collect the values; to avoid sending the command, override the defaults in the constructor.

Constructors

this
this(string device, int blocksize, ulong totalLBAs)

Members

Properties

blocksize
int blocksize [@property getter]
Undocumented in source. Be warned that the author may not have intended to support it.
total_lba
ulong total_lba [@property getter]
Undocumented in source. Be warned that the author may not have intended to support it.

Inherited Members

From SCSIDevice

~this
~this()

Destructor to close the open device.

sgio_execute
void sgio_execute(ubyte[] cdb_buf, ubyte[] dataout_buf, ubyte[] datain_buf, ubyte[] sense_buf)

Execute the native SGIO call on the device.

Meta