Hi all,
I am a newbie in QNX. I am using QNX6.5.0. I need to write a C++ program in which I need to find the sector size of a disk. I couldn’t find any command till now. Could anyone please help me.
Thanks in advance,
Honey S
Hi all,
I am a newbie in QNX. I am using QNX6.5.0. I need to write a C++ program in which I need to find the sector size of a disk. I couldn’t find any command till now. Could anyone please help me.
Thanks in advance,
Honey S
Use stat() or fstat() on the device (/dev/hd0) and look at the structure member st_blocksize.
Thank you Maschoen. I have checked it.
Regards,
Honey S