[rhel6-branch/ACKS_PENDING][PATCH] Fix getDiskPart for nvme devices (#1018703)

Samantha N. Bueno sbueno+anaconda at redhat.com
Tue Oct 15 14:31:01 UTC 2013


Ack.

On Tue, Oct 15, 2013 at 04:19:26PM +0200, Vratislav Podzimek wrote:
> From: V??clav Pavl??n <vpavlin at redhat.com>
> 
> 
> Signed-off-by: Vratislav Podzimek <vpodzime at redhat.com>
> ---
>  booty/util.py | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/booty/util.py b/booty/util.py
> index 185c2af..7fd5a72 100644
> --- a/booty/util.py
> +++ b/booty/util.py
> @@ -11,7 +11,7 @@ def getDiskPart(dev, storage):
>          if (path.startswith('rd/') or path.startswith('ida/') or
>                  path.startswith('cciss/') or path.startswith('sx8/') or
>                  path.startswith('mapper/') or path.startswith('mmcblk') or
> -                path.startswith('md')):
> +                path.startswith('md') or path.startswith('nvme')):
>              if dev[-2] == 'p':
>                  cut = -2
>              elif dev[-3] == 'p' and dev[-2] in string.digits:
> -- 
> 1.7.11.7
> 
> _______________________________________________
> anaconda-patches mailing list
> anaconda-patches at lists.fedorahosted.org
> https://lists.fedorahosted.org/mailman/listinfo/anaconda-patches


More information about the anaconda-patches mailing list