shown size of drive is not correct

It says 460M while it is 300Gb empty harddisk
Mine also said 460M. Led me down a bit of a rabbit hole until i just decided to ignore it :D
Ok, it's because the hard drive is mounted. Thank you! working on it.
Hey, I made https://github.com/jochemin/raspnode/pull/10 for this ;)
Yes, vmavromatis, my concern is if the hard drive is not sda1 I don't know if it's possible to have a hard drive detected as sda2 or another way, in that case the script will fail.
And I would like to handle if the hard drive has more than one partition.