MBRFormat 似乎不是其文件系统的有效卷名

sh0*_*731 5 usb-drive reformat fat32

我使用的是 macOS Mojave 10.14.6。我正在尝试将我的 USB 重新格式化为 FAT。我收到此错误MBRFormat does not appear to be a valid volume name for its file system。这是什么意思以及如何解决?为什么文件系统显示“无”?

root$ diskutil info /dev/disk5
   Device Identifier:         disk5
   Device Node:               /dev/disk5
   Whole:                     Yes
   Part of Whole:             disk5
   Device / Media Name:       Cruzer Facet

   Volume Name:               Not applicable (no file system)
   Mounted:                   Not applicable (no file system)
   File System:               None

   Content (IOContent):       GUID_partition_scheme
   OS Can Be Installed:       No
   Media Type:                Generic
   Protocol:                  USB
   SMART Status:              Not Supported

   Disk Size:                 8.0 GB (8004304896 Bytes) (exactly 15633408 512-Byte-Units)
   Device Block Size:         512 Bytes

   Read-Only Media:           No
   Read-Only Volume:          Not applicable (no file system)

   Device Location:           External
   Removable Media:           Removable
   Media Removal:             Software-Activated

   Virtual:                   No
Run Code Online (Sandbox Code Playgroud)
root$ sudo diskutil eraseDisk FAT32 MBRFormat /dev/disk5
Password:
MBRFormat does not appear to be a valid volume name for its file system
Run Code Online (Sandbox Code Playgroud)

已经是FAT格式了吗?

/dev/disk5 (external, physical):
   #:                       TYPE NAME                    SIZE       IDENTIFIER
   0:      GUID_partition_scheme                        *8.0 GB     disk5
   1:       Microsoft Basic Data MyDrive                 7.8 GB     disk5s2
Run Code Online (Sandbox Code Playgroud)

小智 14

THE_NAME 应该大写。

sudo diskutil eraseDisk FAT32 "THE_NAME" MBRFormat /dev/disk5
Run Code Online (Sandbox Code Playgroud)


小智 7

您在格式后缺少(新)卷名

sudo diskutil eraseDisk FAT32 THE_NAME MBRFormat /dev/disk5
Run Code Online (Sandbox Code Playgroud)

有关其用法的更多信息:

sudo diskutil eraseDisk
Usage:  diskutil eraseDisk format name [APM[Format]|MBR[Format]|GPT[Format]]
        MountPoint|DiskIdentifier|DeviceNode
Run Code Online (Sandbox Code Playgroud)