Closed mhellwig closed 4 years ago
Could you show the exact command you used?
sure
mkexfatfs -i <32 digits of hex goes here> -n XXXX-XXXX /dev/mmcblk0p1
where the XXXXes are also numbers. The command runs successfully and returns no error. The card is formatted. The label (XXXX-XXXX) is set correctly but the ID (the 32 hex digits) is NOT set to what I defined on the commandline, it's some completely unrelated other 32 hex digits.
-i sets exFAT-specific, 4-byte (32-bit) ID.
You probably want to set GPT partition ID (32 hex digits constitute a 16-byte (128-bit) ID). If so, you should use a partition editor for that, e.g. parted.
huh. ok, so I misunderstood what it was doing. So apparently what Android uses to determine the mountpoint is the partition ID? I'll investigate ...
Closing as there's nothing to do here.
I'm running into the same issue. I don't have a GPT on the sdcard that I could set UUIDs for. What is the solution?
From looking at the code I see the issue is that it does not discriminate a user-provided value of 00000000 from "undefined".
the volume id turns out to be some other random 32-digit hex number, not the one I set. Tried setting it with dashes and without - doesn't work. Please at least don't claim in the manpage that it does .. Gave me false hope for an hour.