this seems to work
```
parted $path -s -- u s p | grep "Disk $path" |awk '{print substr($3, 0, length($3)-1)}'
```