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

Re: ofpath vs ofpathname vs grub-ofpathname



On 4/17/20 9:25 AM, John Paul Adrian Glaubitz wrote:
> Can you test whether the following patch fixes the problem?
> 
> diff --git a/scripts/ofpathname b/scripts/ofpathname
> index 375154e..3564485 100755
> --- a/scripts/ofpathname
> +++ b/scripts/ofpathname
> @@ -955,7 +955,7 @@ l2of_scsi()
>              scsi_name="scsi@$BUS"
>              OF_PATH=$OF_PATH/$scsi_name
>          elif [[ $scsi_name != "scsi" && "$PLATFORM" = "mac" && $devtype != "ata" ]]; then
> -            scsi_name="@$BUS"
> +            scsi_name="@$ID"
>              OF_PATH=$OF_PATH/$scsi_name
>          fi

Hmm, no. That makes no sense. We need to determine the plug ID otherwise.

Or maybe the plug ID is identical to the LUN in this case?

-- 
 .''`.  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: