Capacity is read using the read capacity SCSI command, and then an alternative calculation of capacity is made by reading the geometry and then working out the total available space.
Click here to return to Initialise SCSI2SD