Results 1 to 2 of 2
I am planning to write a C program to read the hard disk serial number. I dont have any idea of from where to start with.
Can anyone help me ...
- 09-05-2009 #1Just Joined!
- Join Date
- Feb 2009
- Posts
- 13
reading hard disk serial number
I am planning to write a C program to read the hard disk serial number. I dont have any idea of from where to start with.
Can anyone help me on this...
- 09-05-2009 #2forum.guy
- Join Date
- May 2004
- Location
- arch linux
- Posts
- 18,096
Not sure, but sdparm might reveal the serial number:
Code:sdparm -i /dev/sda
oz
→ new members/users: read this first | new member faq
→ no private messages requesting computer support - post them on the forums!
→ please use the "report post" button to alert our forum admins to problematic posts rather than responding to them yourself.


Reply With Quote