dankamongmen / growlight

notcurses block device manager / system installation tool
https://nick-black.com/dankwiki/index.php/Growlight
GNU General Public License v3.0
85 stars 12 forks source link

block devices no longer have rescan in sysfs #81

Open dankamongmen opened 4 years ago

dankamongmen commented 4 years ago

Attempting to create a new partition table, I was foiled:

[growlight](0)> blockdev mktable nvme2n1 gpt
Failed writing to nvme2n1/rescan (No such file or directory?)
[growlight](0)>

and indeed, no entry in /sys/block/* appears to have rescan anymore.

dankamongmen commented 4 years ago

It would appear that regular disks have device/rescan now, and NVMe has device/rescan_controller :/.

dankamongmen commented 4 years ago

Let's not mark this closed until it's merged to master.