table of contents
OFPATH(8) | System Manager's Manual | OFPATH(8) |
NAME¶
ofpath - determine OpenFirmware path from unix device node.
SYNOPSIS¶
ofpath [ --debug ] [ -h|--help ] [ -V|--version ] FILE
DESCRIPTION¶
This manual page explains ofpath, the utility used to find the OpenFirmware device path corresponding to a unix device node, such as /dev/hda2.
ofpath will work on NewWorld PowerMacs only if yaboot is used as the bootloader. It will not work on NewWorld macs booted with BootX.
ofpath will also work on some OldWorld PowerMacs. Unlike NewWorld, it will work on BootX-booted OldWorld machines. Note that OldWorld support is not well tested and may not give accurate results.
Ybin(8) uses this utility to automatically convert unix device nodes to OpenFirmware paths as needed.
OPTIONS¶
- --debug
- This option causes ofpath to output some boring details useful only for debugging ofpath itself.
- -h, --help
- Print out usage information and exit.
- -V, --version
- Print out the version number and exit.
BUGS¶
Ofpath may not accurately find all SCSI devices, and does not support all SCSI adapters/drivers.
Ofpath also does not support all IDE devices.
Ofpath does not support IBM hardware. Send a tarball of /proc/device-tree along with /proc/cpuinfo to <erbenson@alaska.net>
AUTHORS¶
Ofpath is based on show_of_path.sh written by Olaf Hering, it was rewritten to work with /bin/ash and stripped down systems such as boot/rescue floppies by Ethan Benson. This man page was written by Ethan Benson.
REPORTING BUGS¶
Report bugs to <erbenson@alaska.net>
SEE ALSO¶
bootstrap(8), mkofboot(8), yaboot(8), yaboot.conf(5), ybin(8).
27 May 2001 | GNU/Linux PowerPC |