Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fatlabel does not handle empty label correctly #53

pali opened this issue Jul 5, 2017 · 1 comment


None yet
1 participant
Copy link

commented Jul 5, 2017

FAT label is stored to two locations:

  1. boot sector
  2. root FAT directory

Empty label for 1) needs to be stored as "NO NAME " and for 2) either not stored or as "\xE5" (deleted flag).

fatlabel does not handle this correctly and stores empty label as " " which is incorrect.

pali added a commit to pali/dosfstools that referenced this issue Jul 5, 2017

fatlabel: In root FAT directory store empty label as deleted
"NO NAME    " entry in FAT directory is not empty label. Erasing label from
root FAT directory can be done by marking entry as deleted (with 0xE5 char

Fixes dosfstools#53

This comment has been minimized.

Copy link
Collaborator Author

commented Mar 7, 2018

Problems with FAT labels should be now fixed in git master branch.

@pali pali closed this Mar 7, 2018

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.