> I don't think this is a problem by itself. With devfs I would normally
Identifying device by id would be useful, but I don't like those are exposed
as path, like /devices/iommu@f,e0000000/sbus@f,e0001000/..., which is too
complicated IMO.
What I'm thinking of is to have a file showing device class specific
information, like disk0.info, which would work like procfs.
find /dev/mainbus0 -name 'disk*.info' -print | \
while read f; do
grep -q 'the-guid-i-am-looking-for' $f && echo found: $f
done
Masao
--
Masao Uebayashi / Tombi Inc. / Tel: +81-90-9141-4635