Skip to content

Limit exFAT volume label length to 11 characters - #147

Merged
mtwebster merged 1 commit into
linuxmint:masterfrom
jrmwgr:fix-exfat-label-length
Aug 17, 2026
Merged

Limit exFAT volume label length to 11 characters#147
mtwebster merged 1 commit into
linuxmint:masterfrom
jrmwgr:fix-exfat-label-length

Conversation

@jrmwgr

@jrmwgr jrmwgr commented Apr 21, 2026

Copy link
Copy Markdown
Contributor

Fixes #146

mintstick currently allows exFAT labels longer than 11 characters during formatting.

On Debian 12, formatting succeeds, but the device cannot be mounted afterward when the label exceeds 11 characters. This is reproducible both via GVFS/UDisks2 and the standard mount command.

This patch limits exFAT labels to 11 characters to prevent creating unusable volumes.

@timfeierabend

Copy link
Copy Markdown
Contributor

Per the exFAT file system spec, 11 unicode characters is the maximum number of characters.

7.3.2 CharacterCount Field

@mtwebster
mtwebster merged commit 51854ec into linuxmint:master Aug 17, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

exFAT: formatting allows >11 char label but volume fails to mount afterward

3 participants