Bug 4908

Summary: mkfs.exfat appears to silently ignore -i option
Product: Fedora Reporter: Roy A. Gilmore <rag>
Component: exfat-utilsAssignee: Patrick Griffis <tingping>
Status: RESOLVED EOL    
Severity: normal CC: leigh123linux
Priority: P1    
Version: f28   
Hardware: x86_64   
OS: GNU/Linux   
namespace:

Description Roy A. Gilmore 2018-05-15 02:32:34 CEST
exfat-utils-1.2.8-2.fc28.x86_64

I have an 256GB sdcard, the original filesystem was was exFAT, and the original volume serial number was 0x00000000, I wanted to recreate that.

mkfs.exfat -i 0 /dev/sdd1
mkfs.exfat -i "0" /dev/sdd1
mkfs.exfat -i 0x0 /dev/sdd1
mkfs.exfat -i "0x0" /dev/sdd1
mkfs.exfat -i 0x00000000 /dev/sdd1
mkfs.exfat -i "0x00000000" /dev/sdd1

All appear to silently ignore the -i option when given different versions of 0, and behave as if the -i option wasn't given. After giving each of these commands, a randomly generated 32-bit hex number is assigned. 0x00000000 is a valid 32-bit hex number, there is nothing in the man page stating that it's an invalid volume serial number, and mkfs.exfat doesn't produce an error message, it just silently ignores values of 0.
Comment 1 leigh scott 2019-05-29 11:30:32 CEST
Fedora 28 changed to end-of-life (EOL) status on 2019-05-28. Fedora 28 is
no longer maintained, which means that it will not receive any further
security or bug fix updates. As a result we are closing this bug.

If you can reproduce this bug against a currently maintained version of
Fedora please feel free to reopen this bug against that version. If you
are unable to reopen this bug, please file a new report against the
current release. If you experience problems, please add a comment to this
bug.

Thank you for reporting this bug and we are sorry it could not be fixed.