Hal feature request

John McCutchan ttb at tentacle.dhs.org
Wed Mar 24 01:43:59 EET 2004


Hello,

I am wondering if Hal can provide a block device's (And USB block
device's) serial# ? In order to make more intelligent decisions about
removable media, I need to be able to get a unique identifier for a
block device that will never change no matter where or when it is
plugged in to the computer.

I tried emailing linux-kernel asking if sysfs exports this. The only
response I got was that you can get an IDE drives serial number with
hdparm -i /dev/hdX.

Is anyone working on this?

John





More information about the xdg mailing list