added more code to the inquiry; added some debug prints since fdisk is failing with segmentation fault.