[Debootloaders-yaboot] Bug#405337: powerpc-ibm-utils: ofpathname cannot handle device partitions

Roger Leigh rleigh at debian.org
Tue Jan 2 19:21:39 CET 2007

Package: powerpc-ibm-utils
Version: 1.0.2-1
Severity: normal

ofpathname cannot handle block devices representing partitions:

% /usr/sbin/ofpathname /dev/hda
/pci at f4000000/ata-6 at d/disk at 0

% /usr/sbin/ofpath /dev/hda
/pci at f4000000/ata-6 at d/disk at 0:

% /usr/sbin/ofpathname /dev/hda3
/usr/sbin/ofpathname: line 237: cd: /sys/block/hda3: No such file or directory
ofpathname: Could not find sysfs information for logical
            device "/dev/hda3".

hardknott% /usr/sbin/ofpath /dev/hda3
/pci at f4000000/ata-6 at d/disk at 0:3

Since ofpath (provided by yaboot) can work with such devices, it would
be useful if ofpathname could also.  The necessary information /is/
in sysfs; ofpathname just needs teaching to look for it.


-- System Information:
Debian Release: 4.0
  APT prefers unstable
  APT policy: (990, 'unstable')
Architecture: powerpc (ppc)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.18-2-powerpc
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8)

Versions of packages powerpc-ibm-utils depends on:
ii  bash                         3.1dfsg-8   The GNU Bourne Again SHell
ii  libc6                        2.3.6.ds1-9 GNU C Library: Shared libraries

powerpc-ibm-utils recommends no packages.

-- no debconf information

More information about the Debootloaders-yaboot mailing list