On Thursday 11 February 2010 09:00, Graeme Geldenhuys wrote:
> On 11 February 2010 09:42, Raistware <[email protected]> wrote:
> >> UUID look-up can be done via /var/log/udev
> >
> > No such file on Debian testing.
>
> OK, so clearly the 'udev' file is not an option.
>
> > But /dev/disk/by-id/ has the files, has many files!
> > ata-ASUS-PHISON_SSD_SOQ2882217
> > scsi-SATA_ASUS-PHISON_SSDSOQ2882217
> > usb-Single_Flash_Reader_058F63356336-0:0
>
> It doesn't matter if they are duplicated. What is important is that
> the files exist and that they are in the same format as all the other
> distros - which is seems to be. This is great news, 3 of the big
> distros are compatible.  :-)
>
> Thanks for replying.
>
> I still need information regarding the other big players:
>
>  - CentOS
>  - Mandriva
>  - Fedora
>
> Can anybody help with these?

hm... I think that such info in dev depends on kernel version and udev, so 
such thing can have problems on older distros.
I'm using fedora 3 with my own kernel 2.6.26 and I have such info, but I'm 
wondering does original fc3 kernel (think it was 2.6.9) and udev provides 
such info. Of course there's always direct kernel ctl call to disk (but then 
you have to be logged as root) and read disk id.
So conclusion is that Fedora, CentOS & Mandriva provides such info.

zeljko

--
_______________________________________________
Lazarus mailing list
[email protected]
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus

Reply via email to