format a SSD to exFAT with 4K allocation unit size
I am trying to format a SSD with to GPT exFAT with 4K allocation unit size. I used both diskutil and newfs_exfat. The diskutil is used to partition the disk to GPT exFAT but with the default 0.5K allocation unit size, and the newfs_exfat is used to reformat the partition with 4K allocation unit size. The following is a list of the commands I used:
diskutil partitionDisk disk4 GPT exfat MyPartitionName R
diskutil unmount disk4s2
newfs_exfat -R -v MyPartitionName -b 4096 /dev/disk4s2
diskutil mount MyPartitionName
Then, I checked the allocation unit size by using diskutil and newfs_exfat
diskutil info disk4s2 | grep "Block Size"
which gives
Device Block Size: 512 Bytes
Allocation Block Size: 512 Bytes
However, when I check the allocation unit size by
newfs_exfat -N disk4s2 | grep "Bytes"
which gives:
Bytes per sector : 512
Bytes per cluster : 4096
Can any one advise me which one ("Allocation Block Size" or "Bytes per cluster") represents the true allocation unit size?
Did I successfully format my SSD with 4K allocation unit size?
What's the difference between the "Allocation Block Size" and "Bytes per cluster"?
If I didn't format my SSD with 4K allocation unit size, can any one guide me to do it successfully?
MacBook Pro 14″, macOS 14.1