The type is correct. But the type of the partition doesn't depend on the actual filesystem the partition was formatted with. You can create any type of partition and format it with some other filesystem. There's nothing stopping you from doing this.Is there some way to ensure that gpart reports the type correctly?
Partitions are defined by their GUID, each partition type has a specific GUID, gpart(8) just shows which GUID was used. So you would need to change the actual GUID on disk.Is there any way I can change what type gpart shows?
Make an image of the disk and backup the partition table. Mess around with the image so you don't damage the original, see how far that gets you.I'm hoping I don't break anything if I try but get things wrong.
Is there any way I can change what type gpart shows?
I guessgpart modify
might do the trick...
I'm hoping I don't break anything if I try but get things wrong.
Can you say why this matters to you?
gpart modify -i 1 -t linux-data da0
gpart
consistent with file
, so I'm happy with that, though I'd like to know where 'partition type' data is stored.I have a lot of partitions on some disks and knowing how to mount them simplifies things for me.
Anyway I just found that
gpart modify -i 1 -t linux-data da0
madegpart
consistent withfile
, so I'm happy with that,
though I'd like to know where 'partition type' data is stored.
gpart modify -l my-linux-root
, for example) to really mark your partitions with what they're used for. Depending on type GUID is going to be rather vague and confusing real fast.