Explorar el Código

Added NVMe SSD compatibility

I've added the NVMe SSD disks compatibility because the installer doesn't detect them.
Guillaume Quittet hace 8 años
padre
commit
a7bb148a28
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      installer.sh.in

+ 1 - 1
installer.sh.in

@@ -335,7 +335,7 @@ show_disks() {
         fi
     done
     # SATA/SCSI and Virtual disks (virtio)
-    for dev in $(ls /sys/block|grep -E '^([sv]|xv)d|mmcblk'); do
+    for dev in $(ls /sys/block|grep -E '^([sv]|xv)d|mmcblk|nvme'); do
         echo "/dev/$dev"
         size=$(cat /sys/block/$dev/size)
         sectorsize=$(cat /sys/block/$dev/queue/hw_sector_size)