Re: Reading HDD serialNo
- From: Gordon Beaton <n.o.t@xxxxxxxxx>
- Date: 31 Mar 2006 14:38:33 +0100
On 31 Mar 2006 04:30:45 -0800, ezelsari85@xxxxxxxxx wrote:
No matter learning how to do it in C or Java . I want to get the
source code of reading the serial number of HDD. Is there another
way to find the source code of reading serial number or the HDD?
Use Runtime.exec(). Run "vol" on windows or "hdparm -i /dev/hda" as
root on Linux. Parse the output to get the serial number.
Hope that the system doesn't have SCSI disks, which don't have serial
numbers.
Google "HDD serial number" would have found this information for you.
/gordon
--
[ do not email me copies of your followups ]
g o r d o n + n e w s @ b a l d e r 1 3 . s e
.
- Follow-Ups:
- Re: Reading HDD serialNo
- From: ezelsari85
- Re: Reading HDD serialNo
- References:
- Reading HDD serialNo
- From: ezelsari85
- Re: Reading HDD serialNo
- From: Gordon Beaton
- Re: Reading HDD serialNo
- From: ezelsari85
- Reading HDD serialNo
- Prev by Date: Problems with using JFormattedTextField
- Next by Date: Re: Reading HDD serialNo
- Previous by thread: Re: Reading HDD serialNo
- Next by thread: Re: Reading HDD serialNo
- Index(es):
Relevant Pages
|