I want to use GNU parted for disk partition, but I also hope to get the partition type id by parted.
I can get it from fdisk -l, but I don't know how the parted can get it. The print of the "parted print" only include fstype flags and so on, I hope some help. Thank you.
My English is not so good, I feel so sorry.