Updated fdisk.sh and added fdisk_test.sh and Makefile from
https://github.com/mbrukman/stackexchange-answers/tree/master/stackoverflow/24021214