7

我正在使用 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
root$ sudo diskutil eraseDisk FAT32 MBRFormat /dev/disk5
Password:
MBRFormat does not appear to be a valid volume name for its file system

是不是已经是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
4

3 回答 3

21

THE_NAME应该大写。

sudo diskutil eraseDisk FAT32 "THE_NAME" MBRFormat /dev/disk5
于 2020-07-23T15:51:39.297 回答
8

格式化后缺少(新)卷名

sudo diskutil eraseDisk FAT32 THE_NAME MBRFormat /dev/disk5

有关其用法的更多信息:

sudo diskutil eraseDisk
Usage:  diskutil eraseDisk format name [APM[Format]|MBR[Format]|GPT[Format]]
        MountPoint|DiskIdentifier|DeviceNode
于 2020-05-25T19:36:35.647 回答
-1

并且不要更改 THE_NAME 这是一个实际的命令,它是如此强制性,我猜

于 2021-06-13T19:09:13.357 回答