Add function getVolumeNameByDev to properly handle long volume name

And some visual clean-up