rem: if (_size) *_size = geometry.head_count * geometry.cylinder_count * geometry.sectors_per_track;
add: if (_size) { *_size = 1LL * geometry.head_count * geometry.cylinder_count * geometry.sectors_per_track * geometry.bytes_per_sector; }
context: DeviceOpener::GetSize(off_t *_size, uint32 *_blockSize){	device_geometry geometry;	if (ioctl(fDevice, B_GET_GEOMETRY, &geometry) < 0) {		// maybe it's just a file		struct stat stat;		if (fstat(fDevice, &stat) < 0)			return B_ERROR;		if (_size)			*_size = stat.st_size;		if (_blockSize)	// that shouldn't cause us any problems			*_blockSize = 512;		return B_OK;	}	if (_size)		*_size = geometry.head_count * geometry.cylinder_count * geometry.sectors_per_track;	if (_blockSize)		*_blockSize = geometry.bytes_per_sector;	return B_OK;}