Closed smoser closed 4 years ago
disko is currently relying on udev hooks to update the kernel knowledge of a partition table.
In practice, @rchamarthy saw that that was not getting done when the disk was mounted.
disko should either call partx --add ${PT_NUMBER} ${DISK_PATH} , addpart or do the equivalent linux syscall so that after doing so the device exists.
partx --add ${PT_NUMBER} ${DISK_PATH}
addpart
disko is currently relying on udev hooks to update the kernel knowledge of a partition table.
In practice, @rchamarthy saw that that was not getting done when the disk was mounted.
disko should either call
partx --add ${PT_NUMBER} ${DISK_PATH}
,addpart
or do the equivalent linux syscall so that after doing so the device exists.