Re: ofpath vs ofpathname vs grub-ofpathname
On Thu, Apr 16, 2020 at 06:07:29PM +0200, John Paul Adrian Glaubitz wrote:
> Done. Could someone perform tests on various Mac systems, please and
> provide the output of "ofpathname /dev/sda1", "ofpathname /dev/sd2"
> and - if available - "ofpathname /dev/sdb1" and provide the same output
> from the patched ofpath of Yaboot?
Machine (from /proc/cpuinfo):
cpu : PPC970MP, altivec supported
motherboard : PowerMac11,2 MacRISC4 Power Macintosh
detected as : 337 (PowerMac G5 Dual Core)
Running yaboot (1.3.17-4+ports1) ofpath:
root@joule:~# ofpath /dev/sda1
/ht@0,f2000000/pci@9/k2-sata-root@c/@1/@0:1
Running ofpathname (from your github repo):
root@joule:/home/mjc/powerpc-utils.git/scripts# ./ofpathname /dev/sda1
/ht@0,f2000000/pci@9/k2-sata-root@c/scsi@0/sd@0,0
Cheers,
Michael.
Reply to: