I'm using gparted on a dual-boot system, and a partition that I think is used by Windows shows up with the "diag" flag, in spite of it being listed as an ext4 format. Not readable, however, so the partition signature may be corrupt. So I'm just confused.
I'd like to know what the flag means to gparted, and where it is in the MBR or perhaps the partition signature, and how I could see that same flag in the output of lsblk or some other command-line utility (I want to recognize it in a bash script). Right now it's just an enigma.