#1346 PR merged: Using get_disk_size to get size of multipath device.

Labels: bug, fixed / solved / done

schabrolles opened issue at 2017-05-06 15:24:

  • BUG: reading /sys/block/$name/size gives nbr of blocks, not size. (sorry my mistake)

Using get_disk_size is better and gives the expected result.

jsmeix commented at 2017-05-08 08:03:

@gdha
if you do not object, I will merge it tomorrow.

jsmeix commented at 2017-05-08 09:05:

@schabrolles
many thanks for your careful testing and for your bug fixes!


[Export of Github issue for rear/rear.]