Is there any API to check whether a partition is bootable or not. Using fdisk commnad, it lists all the partitions and indicates '*' to denote if a partition is bootable. Is there any API to get this status.
fdisk command lists some of the partition details like the OS name ,type, cylinder number , size etc. Is there any structure or API to fetch all these details.