mac 格式化U盘

 

作者:Bailm
链接:https://www.zhihu.com/question/27888608/answer/486347894
来源:知乎
著作权归作者所有。商业转载请联系作者获得授权,非商业转载请注明出处。

我也遇到了一样的问题, macOS 下的解决办法:

打开 terminal

查看U盘识别的磁盘号:

$ diskutil list
---
/dev/disk2 (external, physical):
   #:                       TYPE NAME                    SIZE       IDENTIFIER
   0:     Apple_partition_scheme                        *15.5 GB    disk2
   1: Apple_partition_map 4.1 KB disk2s1 2: Apple_HFS 2.4 MB disk2s2

完全擦除设备:

$ diskutil eraseDisk free EMPTY /dev/disk2
---
Started erase on disk2
Unmounting disk
Creating the partition map
Waiting for partitions to activate
Finished erase on disk2

格式化U盘:

$ diskutil eraseDisk ExFAT USB64 /dev/disk2
---
Started erase on disk2
Unmounting disk
Creating the partition map
Waiting for partitions to activate
Formatting disk2s2 as ExFAT with name USB64
Volume name      : USB64
Partition offset : 411648 sectors (210763776 bytes)
Volume size      : 29896704 sectors (15307112448 bytes)
Bytes per sector : 512
Bytes per cluster: 32768
FAT offset       : 2048 sectors (1048576 bytes)
# FAT sectors    : 4096
Number of FATs   : 1
Cluster offset   : 6144 sectors (3145728 bytes)
# Clusters       : 467040
Volume Serial #  : 5b908c10
Bitmap start     : 2
Bitmap file size : 58380
Upcase start     : 4
Upcase file size : 5836
Root start       : 5
Mounting disk
Finished erase on disk2

参考: Disk Utility cannot erase USB Drive

 

转载于:https://www.cnblogs.com/wangmo/p/11193779.html

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值