> I noticed libfdisk does not have a fdisk_delete_partition > command, only fdisk_add_partition. For all I know libfdisk wasn't exactly designed to support partition table editors, rather give busybox a simple API to access partition info. I might have that wrong though; did you try to add fdisk_delete_partition() to libfdisk? Michael