gpt4 book ai didi

macos - Mac OS High Sierra diskutil eraseDisk 导致错误 : -69877: Couldn't open device

转载 作者:行者123 更新时间:2023-12-03 20:54:01 28 4
gpt4 key购买 nike

<分区>

我在将新的 SanDisk 128GB microSD 卡从 ExFAT 转换为 FAT32 时遇到问题

$ diskutil info /dev/disk2

Device Identifier: disk2
Device Node: /dev/disk2
Whole: Yes
Part of Whole: disk2
Device / Media Name: Built In SDXC Reader

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

Content (IOContent): FDisk_partition_scheme
OS Can Be Installed: No
Media Type: Generic
Protocol: Secure Digital
SMART Status: Not Supported

Disk Size: 127.9 GB (127865454592 Bytes) (exactly 249737216 512-Byte-Units)
Device Block Size: 512 Bytes

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

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

Virtual: No

这里是挂载的分区

$ diskutil info /dev/disk2s1

Device Identifier: disk2s1
Device Node: /dev/disk2s1
Whole: No
Part of Whole: disk2

Volume Name:
Mounted: Yes
Mount Point: /Volumes/Untitled

Partition Type: Windows_NTFS
File System Personality: ExFAT
Type (Bundle): exfat
Name (User Visible): ExFAT

OS Can Be Installed: No
Media Type: Generic
Protocol: Secure Digital
SMART Status: Not Supported
Volume UUID: 555AF300-2369-3CE8-B4E1-D8F976CE9C86
Partition Offset: 16777216 Bytes (32768 512-Byte-Device-Blocks)

Disk Size: 127.8 GB (127848677376 Bytes) (exactly 249704448 512-Byte-Units)
Device Block Size: 512 Bytes

Volume Total Space: 127.8 GB (127831900160 Bytes) (exactly 249671680 512-Byte-Units)
Volume Used Space: 393.2 KB (393216 Bytes) (exactly 768 512-Byte-Units) (0.0%)
Volume Free Space: 127.8 GB (127831506944 Bytes) (exactly 249670912 512-Byte-Units) (100.0%)
Allocation Block Size: 131072 Bytes

Read-Only Media: Yes
Read-Only Volume: Yes

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

首先我卸载:

$ diskutil unmountDisk /dev/disk2
Unmount of all volumes on disk2 was successful

然后我删除磁盘并将其格式化为 FAT32

$ diskutil eraseDisk FAT32 NEW_NAME /dev/disk2
Started erase on disk2
Unmounting disk
Creating the partition map
Error: -69877: Couldn't open device

如何在不使用第三方应用程序的情况下删除磁盘并将其格式化为 FAT32

28 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com