Hard disk physical sector size

G

guru

Hi all,

Is there any method to check - hard disk/cdrom/rev disk physical sector
size.

Thanks & Regards

-Guru
 
G

guru

David said:

Hi,

I wanted to know those methods.

I know one method..

in Linux, by calling IOCTL system call with requrest parameter
BLKSSZGET , I was able to get block size.

For CDROM it is giving 512 and for REV disk it is given 2048.

is there any other method to cross check

Regards

Guru
 
F

Folkert Rienstra

Arno Wagner said:
The devices can lie to you.
Rotflol.

You have to look into the documantation.

Yes please, check the 'documantation'. The 'documantation' never lies.

Now Arnie, what if the 'documantation' says that the sector size can
be any size betweeen X and Y?
 
M

Moojit

yes. download and run SCSI Utility for Windows. After scanning for devices,
hightlight the disk you're interested in and send a READ CAPACITY command
using the Menu item entries.
 
G

guru

Arno said:
No. The devices can lie to you. You have to look into the
documantation.

Arno

hi,

'documentation' means... which document??

device specific documentation?

Thanks
 
A

Arno Wagner

Device-specific.

Some numbers true today: HDD: 512 bytes, CDROM (data!) 2048 bytes.
MOD: 512 bytes or 2048 bytes, depending on the disk, not the drive.

Arno
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top