Hi Apple Team & Everyone,
Can someone guide me why sending 'diskutil eraseDisk APFS "WIPED" GPT /dev/disk0' command via terminal to remove/wipe the main physical drive (disk0) is failed?
I tried booting into recovery mode, but it still didn’t work. The command returned the following error:
Started erase on disk0
Unmounting disk
The volume on disk0 couldn't be unmounted because it is in use by process 0 (kernel).
Error: -69877: Couldn't open device
I understand that we can use Disk Utility (GUI) to unmount and erase the drive. Is it possible to perform this operation via Terminal to erase disk0?
I would appreciate any guidance on this.
Regards,
Winson
APFS
RSS for tagApple File System is the default file system for iOS 10.3 and later, and for macOS High Sierra and later.
Posts under APFS tag
26 Posts
Selecting any option will automatically load the page
Post
Replies
Boosts
Views
Activity
I'm working on a cross-platform application that needs to access file attributes, specifically for files and directories in sync drives like OneDrive. On Windows, I use the GetFileInformationByHandle API to retrieve attributes such as FILE_ATTRIBUTE_RECALL_ON_DATA_ACCESS and FILE_ATTRIBUTE_RECALL_ON_OPEN to identify files that are stored remotely or in the cloud.
Is there an equivalent API or mechanism on macOS to achieve the same? Specifically, I’m looking for a way to:
Identify attributes similar to cloud/offline storage status for files in synced drives (e.g., OneDrive, iCloud Drive).
Retrieve metadata to distinguish files/folders stored locally versus those stored remotely and downloaded on access.
If there’s a preferred macOS framework (like Core Services or FileManager in Swift) for such operations, examples would be greatly appreciated!
Topic:
App & System Services
SubTopic:
Core OS
Tags:
APFS
Files and Storage
Swift
Cloud and Local Storage
I'm working on a cross-platform application that needs to access file attributes, specifically for files and directories in sync drives like OneDrive. On Windows, I use the GetFileInformationByHandle API to retrieve attributes such as FILE_ATTRIBUTE_RECALL_ON_DATA_ACCESS and FILE_ATTRIBUTE_RECALL_ON_OPEN to identify files that are stored remotely or in the cloud.
Is there an equivalent API or mechanism on macOS to achieve the same? Specifically, I’m looking for a way to:
Identify attributes similar to cloud/offline storage status for files in synced drives (e.g., OneDrive, DropBox etc).
Retrieve metadata to distinguish files/folders stored locally versus those stored remotely and downloaded on access.
If there’s a preferred macOS framework (like Core Services or FileManager in Swift) for such operations, examples would be greatly appreciated!
Topic:
App & System Services
SubTopic:
Core OS
Tags:
APFS
Files and Storage
Swift
Cloud and Local Storage
สินค้าที่เกี่ยวข้องกับการใช้งานประจำวัน
Topic:
App Store Distribution & Marketing
SubTopic:
App Store Connect
Tags:
APNS
APFS
IOUSBHost
Design
When trying to use asr for restore my system disk ("/"), I'm getting a "resource busy error"
It's a very laconic message, that says very little about how solve or work around the issue. I'm attaching the screenshot of the error.
Any help on how to troubleshoot this error would be highly appreciated
Thanks!
Hi, I have a problem with my Mac crashing sims 4. can you let me know if this is a Mac problem or a sims 4 problem ?
Link to Mac Info : https://prnt.sc/NYG0jn8_u0dB
Link to crash report : https://prnt.sc/UImzDIsqdVYn