Skip to content

Commit

Permalink
Merge pull request #8600 from romayalon/romy-disk-candidate-nvme0
Browse files Browse the repository at this point in the history
NC | generate_entropy() - add /dev/nvme0 disks to the supported devices
  • Loading branch information
romayalon authored Dec 17, 2024
2 parents 970e67b + 8f96a39 commit 802ccda
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/util/nb_native.js
Original file line number Diff line number Diff line change
Expand Up @@ -120,7 +120,7 @@ async function generate_entropy(loop_cond) {
const count = 32;
let disk;
let disk_size;
for (disk of ['/dev/sda', '/dev/vda', '/dev/xvda', '/dev/dasda']) {
for (disk of ['/dev/sda', '/dev/vda', '/dev/xvda', '/dev/dasda', '/dev/nvme0']) {
try {
const res = await async_exec(`blockdev --getsize64 ${disk}`);
disk_size = res.stdout;
Expand Down

0 comments on commit 802ccda

Please sign in to comment.