Why not use the Hard Disk Serial#
For example
Code:
hdparm -i /dev/hda | grep SerialNo > hdinfo
Would create a text file named hdinfo.
Code:
root@technomancer:~# hdparm -i /dev/hda | grep SerialNo > hdinfo
root@technomancer:~# cat hdinfo
Model=Maxtor 6E020L0, FwRev=NAR61590, SerialNo=E16QP7ME
-Joey