Commit 69f5e883 authored by Mike Hibler's avatar Mike Hibler

More support for NVMe disks.

parent d6313952
......@@ -142,7 +142,7 @@ find_disks() {
_DISKS=""
for d in `sed -n 's/^\([a-z]*[0-9][0-9]*\): [0-9][0-9]*MB/\1/p' /var/run/dmesg.boot`; do
case $d in
ad*|da*|ar*|aacd*|amrd*|mfid*|mfisyspd*) _DISKS="$_DISKS $d"
ad*|da*|ar*|aacd*|amrd*|mfid*|mfisyspd*|nvd*) _DISKS="$_DISKS $d"
esac
done
......
......@@ -885,7 +885,7 @@ dolinux() {
;;
# NVM disks
nvd[0-9])
dtype="sd"
dtype="nvme0n1"
dunit=`echo $disk | sed -e 's/nvd\([0-9][0-9]*\)$/\1/'`
lrootdev="8${dunit}${part}"
;;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment