grub-devel
[Top][All Lists]
Advanced

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

Re: [PPC] quick test please? device tree path translation


From: Hollis Blanchard
Subject: Re: [PPC] quick test please? device tree path translation
Date: Sun, 23 Oct 2005 19:42:38 -0500

On Oct 23, 2005, at 7:19 PM, Mike Small wrote:

Seems to work for me.  It gives the same answers as ofpath (packaged
with yaboot 1.0.8), except for a usb floppy drive, which your script
can handle but ofpath cannot.  The machine is a 466Mhz G4 Powermac
(Digital Audio) with an IDE harddrive and cdrom drive, and a usb
floppy drive...


$ ./ofpathname /dev/hda
/address@hidden/address@hidden/address@hidden/address@hidden
$ ./ofpathname /dev/hdc
/address@hidden/address@hidden/address@hidden/address@hidden
$ ./ofpathname /dev/sda
/address@hidden/address@hidden/address@hidden/address@hidden,0

(for comparison)
# ofpath /dev/hda
/address@hidden/address@hidden/address@hidden/address@hidden:
# ofpath /dev/hdc
/address@hidden/address@hidden/address@hidden/address@hidden:
# ofpath /dev/sdc
ofpath: /proc/device-tree is broken. Do not use BootX to boot, use yaboot. ofpath: The yaboot HOWTO can be found here: http://www.alaska.net/~erbenson/doc

So your script seems better.

Excellent!

To clarify, though, it's not my script: it's from the ppc64-utils package (which I'm thinking needs to be renamed)... I just added a small patch I needed for my G3 before sending it to the list.

-Hollis





reply via email to

[Prev in Thread] Current Thread [Next in Thread]