Skip to content

Commit

Permalink
T967: Include nvme drives when probing
Browse files Browse the repository at this point in the history
  • Loading branch information
bswinnerton committed Nov 6, 2018
1 parent 018860f commit fe1aea4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/install/install-functions
Original file line number Diff line number Diff line change
Expand Up @@ -151,7 +151,7 @@ get_drive_size () {
# Probe hardrives not shown in /proc/partitions by default
probe_drives () {
# Find drives that may not be in /proc/partitions since not mounted
drive=$(ls /sys/block | grep '[hsv]d.')
drive=$(ls /sys/block | grep '[hsv]d.|nvme.')

# now exclude all drives that are read-only
for drive in $drive; do
Expand Down

0 comments on commit fe1aea4

Please sign in to comment.