Forum Topic - Hard disk serial number:
   
Hard disk serial number  
Hi,
Is there any way I can read the manufacturer's hard disk serial number?
Re: Hard disk serial number  
BTW I want to use C/C++/Assembly & watcom compiler.
Re: Hard disk serial number  
Hi,

you have to write this function itself.
On the basis of ATA specification just send a proper command to the  controller,
read and analyse response.

Regards,
Jacek
Re: Hard disk serial number  
> On the basis of ATA specification just send a proper command to the  
> controller,

Jacek,

I have the same issue,
do you have any code that shows how to achieve this?

Won't there be any issue with the devb-eide 
talking to the controller at the same time?

Would it not be better to talk to the devb-eide server instead?
Re: Hard disk serial number  
Hi Martin,

>do you have any code that shows how to achieve this?

Yes, I have implemented some ATA low level routines.

>Won't there be any issue with the devb-eide 
>talking to the controller at the same time?

Not, if you do that smart and carefully.

>Would it not be better to talk to the devb-eide server instead?

As far as I remember under QNX4 there is not possible to get such
information from a block driver.

The devb-eide is QNX Neutrino driver. 
I'm not sure if devb-eide can provide this data as well...

Regards,
Jacek