By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
459,903 Members | 1,410 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 459,903 IT Pros & Developers. It's quick & easy.

Serial ID of Hard Disc

P: n/a
How can I get the serial ID of the Hard disc , which is displayed during
boot up - preferrably in C ;
whithout having to communicate with the hard disc by myself with the IO
registers ?
Nov 14 '05 #1
Share this Question
Share on Google+
5 Replies


P: n/a
Guenther Sohler wrote:

How can I get the serial ID of the Hard disc , which is displayed
during boot up - preferrably in C ; whithout having to communicate
with the hard disc by myself with the IO registers ?


This has nothing to do with the C language, and much to do with the
system you are running. It does sound suspiciously like Windblows,
so look for a newsgroup with windows in its name.

OT hint: Using 4dos, those values show up on every dir command. The
interrupt list might also give you some clues.

--
"If you want to post a followup via groups.google.com, don't use
the broken "Reply" link at the bottom of the article. Click on
"show options" at the top of the article, then click on the
"Reply" at the bottom of the article headers." - Keith Thompson
Nov 14 '05 #2

P: n/a
On Mon, 16 May 2005 08:20:39 +0000, CBFalconer wrote:

Actually I am working with unix/linux
which linux newsgroup is advisable for me ?

Nov 14 '05 #3

P: n/a
Guenther Sohler wrote:
How can I get the serial ID of the Hard disc , which is displayed during
boot up - preferrably in C ;
whithout having to communicate with the hard disc by myself with the IO
registers ?


There is no standard mechanism for doing this. Ask on a group dedicated
for your platform, but only after checking the FAQ and previous postings
to the group.
--
Flash Gordon
Living in interesting times.
Although my email address says spam, it is real and I read it.
Nov 14 '05 #4

P: n/a
In general, you cannot do that.

Guenther Sohler wrote:
How can I get the serial ID of the Hard disc , which is displayed during
boot up - preferrably in C ;
whithout having to communicate with the hard disc by myself with the IO
registers ?


--
Remove '.nospam' from e-mail address to reply by e-mail
Nov 14 '05 #5

P: n/a
Guenther Sohler <gu*************@newlogic.com> writes:
On Mon, 16 May 2005 08:20:39 +0000, CBFalconer wrote:

Actually I am working with unix/linux
which linux newsgroup is advisable for me ?


comp.os.linux.development.*

You might find the source for smartmontools informative.
--
Roger Leigh
Printing on GNU/Linux? http://gimp-print.sourceforge.net/
Debian GNU/Linux http://www.debian.org/
GPG Public Key: 0x25BFB848. Please sign and encrypt your mail.
Nov 14 '05 #6

This discussion thread is closed

Replies have been disabled for this discussion.