Skip to content
  • Mike Fleetwood's avatar
    Add support for updating the exFAT UUID (!67) · b7c9b3e5
    Mike Fleetwood authored and Curtis Gedak's avatar Curtis Gedak committed
    Also with exfatprogs 1.1.0 [1], tune.exfat and exfatlabel gained the
    capability to report and set the exFAT Volume Serial Number [2][3][4].
    This is what blkid and therefore GParted reports as the UUID.
    
    Report serial number:
    
        # tune.exfat -i /dev/sdb1
        exfatprogs version : 1.1.0
        volume serial : 0x772ffe5d
        # echo $?
        0
    
        # blkid /dev/sdb1
        /dev/sdb1: LABEL="test exfat" UUID="772F-FE5D" TYPE="exfat" PTTYPE="dos"
    
    Set serial number:
    
        # tune.exfat -I 0xf96ef190 /dev/sdb1
        exfatprogs version : 1.1.0
        New volume serial : 0xf96ef190
        # echo $?
        0
    
    tune.exfat exists in earlier releases of exfatprogs so check it has the
    capability by searching for "Set volume serial" in the help output
    before enabling this capability.
    
        # tune.exfat
        exfatprogs version : 1.1.0
        Usage: tune.exfat
                -l | --print-label                    Print volume label
                -L | --set-label=label                Set volume label
            ...
    b7c9b3e5