euglug.org

[Eug-lug] Reading data to multiple variables

작성자

카테고리:



Bob MillerFri Jul 30 10:45:13 PDT 2004

Garl Grigsby wrote:

> Now for the best part, after I got the entire script working as I 
> desired I ran into another, more serious problem. I had been writing 
> this script using 1 external USB drive and my usb thumb drive. That 
> worked fine. Until the second USB hard drive arrived and I found a 
> rather nasty problem: I found out that the GUID, which is supposed to be 
> a unique ID, isn't. It appears that with this particular external HDD 
> chassis the GUID is based on the controller, not on the controller + the 
> drive like it is supposed to be. So both drives appear to be identical 
> when plugged in. Now I need to figure out how to ID each driver.

Does "hdparm -i" report a unique serial number?

-- 
Bob Miller                              K<bob>
kbobsoft software consulting
http://kbobsoft.com                     kbob at jogger-egg.com