Well, i feel that the full canonical path (@f2000000 and co) is not (at all or
easily) available from the devfs representation of the devices. I don't know how
you handle that with non-devfs hoary and later installer, but it should be
possible to get the full canonical path from /sys or something such.
$ for i in `find /sys -name devspec`; do more $i; done
Gives the canonical device name of all pci devices :
Well, i feel that the full canonical path (@f2000000 and co) is not (at all or
easily) available from the devfs representation of the devices. I don't know how
you handle that with non-devfs hoary and later installer, but it should be
possible to get the full canonical path from /sys or something such.
$ for i in `find /sys -name devspec`; do more $i; done
Gives the canonical device name of all pci devices :
/pci@C0000000/ display@ 8,1 display@ 8 host@0 ethernet@ D pci1106, 3068@C, 6 sound@C, 5 other@C, 4 usb@C,3 usb@C,2 ide@C,1 usb@6,2 usb@6,1 scsi@5 firewire@ 1 host@0
/pci@C0000000/
/pci@C0000000/
/pci@80000000/
/pci@80000000/
/pci@80000000/
/pci@80000000/
/pci@80000000/
/pci@80000000/
/pci@80000000/
/pci@80000000/isa@C
/pci@80000000/
/pci@80000000/
/pci@80000000/usb@6
/pci@80000000/
/pci@80000000/
/pci@80000000/
But we need then to match those with the ones where our d-i path is on.
I believe that is you go into /sys/block/ <device> /device, and do a :
/sys/block/ hda/device$ more ../../devspec ide@C,1
/pci@80000000/
you find the full canonical path.
Naturally, we couldn't do this in debian, since debian was still supporting 2.4
kernels, but this should be no major problem in ubuntu.
Friendly,
Sven Luther