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

Re: ofpath vs ofpathname vs grub-ofpathname



On 4/16/20 7:24 PM, Romain Dolbeau wrote:
> dolbeau@powermacg4fw800:~$ sudo ofpathname /dev/sda
> /usr/sbin/ofpathname: line 812: warning: command substitution: ignored
> null byte in input
> /pci@f4000000/ata-6@d/scsi@0/sd@0,0
> dolbeau@powermacg4fw800:~$ sudo ofpath /dev/sda
> /pci@f4000000/ata-6@d/@0
> dolbeau@powermacg4fw800:~$ sudo ofpathname /dev/sdb
> /usr/sbin/ofpathname: line 812: warning: command substitution: ignored
> null byte in input
> /pci@f2000000/mac-io@17/ata-4@1f000/scsi@0/sd@0,0
> dolbeau@powermacg4fw800:~$ sudo ofpath /dev/sdb
> /pci@f2000000/mac-io@17/ata-4@1f000/@0
Why is the output of ofpathname different as compared to your previous
mail?

Now the path is as I expected it, with "scsi@0" instead of "@0" and
"sd@" instead of "@0" for the bus name and disk name.

Adrian

-- 
 .''`.  John Paul Adrian Glaubitz
: :' :  Debian Developer - glaubitz@debian.org
`. `'   Freie Universitaet Berlin - glaubitz@physik.fu-berlin.de
  `-    GPG: 62FF 8A75 84E0 2956 9546  0006 7426 3B37 F5B5 F913


Reply to: