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

Bug#820818: partman is not able to resize nvme0n1p3 in d-i

On Fri, Jun 17, 2016 at 11:51:09AM +0200, Michael Hartung wrote:
>Same problem for me. 
>The following patch helps for me: 
>--- partman-partitioning/lib/resize.sh2016-05-19 09:51:59.000000000 +0200 
>+++ ./resize.sh2016-06-17 11:43:11.126906220 +0200 
>@@ -24,7 +24,7 @@ 
>     /dev/[hsv]d[a-z]|/dev/xvd[a-z]) 
> bdev=$bdev$num 
> ;; 
>-    /dev/cciss/c[0-9]d[0-9]|/dev/cciss/c[0-9]d[0-9][0-9]|/dev/ida/c[0-9]d[0-9]|/dev/ida/c[0-9]d[0-9][0-9]|/dev/mmcblk[0-9]) 
>+    /dev/cciss/c[0-9]d[0-9]|/dev/cciss/c[0-9]d[0-9][0-9]|/dev/ida/c[0-9]d[0-9]|/dev/ida/c[0-9]d[0-9][0-9]|/dev/mmcblk[0-9]|/dev/nvme[0-9]n[0-9]) 
> bdev=${bdev}p$num 
> ;; 
>     *) 

Thanks for checking that!

Looking in the code, there are *lots* of places where we have this
kind of check and I think it would make sense to pull them together
into one place so we don't miss things...

Steve McIntyre, Cambridge, UK.                                steve@einval.com
  Armed with "Valor": "Centurion" represents quality of Discipline,
  Honor, Integrity and Loyalty. Now you don't have to be a Caesar to
  concord the digital world while feeling safe and proud.

Reply to: