getting uid from device file
Richard Hughes
hughsient at gmail.com
Wed Sep 28 04:41:30 PDT 2005
On Wed, 2005-09-28 at 13:33 +0200, Roman Glebov wrote:
> i have for example /dev/sda how can i get to it corresponding hal-UDI
> automatically.
> I know manual way with lshal|grep -100 /dev/sda and then searching for
> corr UDI
How about this?
[hughsie at localhost ~]$ hal-find-by-property --key "block.device"
--string "/dev/hda1"
/org/freedesktop/Hal/devices/volume_uuid_d19fa543_ac23_4c99_add2_6105b71bbb2c
Richard.
More information about the hal
mailing list