Add some CHS helper functions

I suspect these are completely redundant since repeated invocations
of fdisk yields different values: they're probably undefined.

Signed-off-by: David Scott <dave.scott@eu.citrix.com>