在Mac上强制格式化U盘
打开Terminal或iTerm2,并执行:
1
diskutil list
/dev/disk2 (external, physical):
#: TYPE NAME SIZE IDENTIFIER
0: Apple_partition_scheme *62.9 GB disk2
1: Apple_partition_map 4.1 KB disk2s1
2: Apple_HFS 4.1 MB disk2s2将其格式化为
ExFAT
格式,并命名为ud
1
sudo diskutil eraseDisk ExFAT ud /dev/disk2
Started erase on disk2
Unmounting disk
Creating the partition map
Waiting for partitions to activate
Formatting disk2s2 as ExFAT with name ud
Volume name : ud
Partition offset : 411648 sectors (210763776 bytes)
Volume size : 122466304 sectors (62702747648 bytes)
Bytes per sector : 512
Bytes per cluster: 131072
FAT offset : 2048 sectors (1048576 bytes)# FAT sectors : 4096
Number of FATs : 1
Cluster offset : 6144 sectors (3145728 bytes)# Clusters : 478360
Volume Serial # : 6131f6bf
Bitmap start : 2
Bitmap file size : 59795
Upcase start : 3
Upcase file size : 5836
Root start : 4
Mounting disk
Finished erase on disk2