LinuxQuestions.org
Did you know LQ has a Linux Hardware Compatibility List?
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices



Reply
 
Search this Thread
Old 06-06-2002, 08:27 AM   #1
DJFauß
Member
 
Registered: May 2001
Location: Germany
Distribution: SuSE 8.1
Posts: 48

Rep: Reputation: 15
Arrow Reading the HDD serial number


Hi guys,

I need some help badly. I need to read the HDD serial number (not the VolumeID) of IDE and SCSI HDDs. It would be nice if someone had the appropriate C++, Delphi/Kylix, or Java code.

Thx for your help!
 
Old 06-06-2002, 02:27 PM   #2
pbharris
Member
 
Registered: Apr 2001
Location: chicago, IL
Distribution: debian, redhat
Posts: 280

Rep: Reputation: 30
/sbin/hdparm -i /dev/hda

find the source for hdparm and that should help if ya need a program
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Reading the number of Lines in a File Mistro116@yahoo.com Programming 31 11-24-2005 01:36 AM
Nero 2.0.0.3 serial number TigerLinux Linux - Software 13 10-20-2005 04:13 AM
VMware - Mandrake 9.2 -Serial Number ron_hickson Mandriva 7 08-16-2004 11:33 AM
Find Serial Number of Machine zael Programming 4 10-27-2003 01:39 PM
Floppy serial number k__ Linux - General 1 06-29-2002 11:29 PM


All times are GMT -5. The time now is 06:47 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration