[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: ofpath vs ofpathname vs grub-ofpathname

On 2019-07-30, John Paul Adrian Glaubitz <glaubitz@physik.fu-berlin.de> wrote:
> I have started working on this now and first had a go at the
> ofpathname script from the powerpc-utils package [1].
> The script now prints out the correct Open Firmware path names on my
> iBook G4:
> root@test-adrian1:~/powerpc-utils# ofpath /dev/sda
> /pci@f4000000/ata-6@d/@0
> root@test-adrian1:~/powerpc-utils# ./scripts/ofpathname /dev/sda
> /pci@f4000000/ata-6@d/@0
> root@test-adrian1:~/powerpc-utils#
> It needs to be tested on other PowerMacs such as the G3 or the G5, so
> if anyone has such a machine, I would be interested in some tests with
> the paths compared between the ofpath script from Yaboot and my
> patched version of ofpathname from my mac-support branch in [1].

I use an external firewire hard drive with my iBook G4. For me the
mac-support branch is still broken:

(from yaboot)
$ sudo ofpath /dev/sda3

(mac-support branch)
$ sudo ./ofpathname /dev/sda3

(master branch)
$ sudo ./ofpathname /dev/sda3

John Ogness

>> [1] https://github.com/glaubitz/powerpc-utils/tree/mac-support

Reply to: