Post not yet marked as solved
On my MacPro Big Sur I do not have access to the internal hard drive, when attempting to add my name as a user I receive. "'This operation can't be completed because you don't have the necessary permission.
I attempted running csrutil disable but this did not solve the issue. Also went into disk utility and ran a verification on the hard drive.
Looks like I never used my hard drive since I had my MacPro I have been using iCloud.
Volume name : Macintosh HD
Volume type : APFS System Volume
BSD device node : disk1s5
File system : APFS (Encrypted)
Connection : PCI-Express
Device tree path : IODeviceTree:/PCI0@0/RP01@1C/SSD0@0/AppleS3XController
Writable : No
Is case-sensitive : No
File system UUID : FF5BA9F1-D8CE-4418-BCD2-2E0762F5E47B
Volume capacity : 121,018,208,256
Owners enabled : No
Is encrypted : Yes
Can be verified : Yes
Can be repaired : Yes
Bootable : No
Journaled : No
Disk number : 1
Partition number : 5
Media name :
Media type : Generic
Ejectable : No
Solid state : Yes
S.M.A.R.T. status : Not Supported
Parent disks : disk1
Post not yet marked as solved
Wile researching api/frameworks for the backup solution for iOS, I slowly came to realize that there is no effective method for the corporate to monitor/audit file-system on their iOS fleet.
Ie - api is there, but limited and the user can always kill your app. Not to mention that you're quite limited in terms of background processing/monitoring
Am I missing something?
Post not yet marked as solved
I have the need to evict local copies of files in swift, currently I'm doing it the naive way:
while !evict_ok {
do {
try FileManager.default.evictUbiquitousItem(at: url)
evict_ok = true
} catch {
sleep(evict_retry_interval)
}
}
this is needed because we might try to evict the item that has not yet finished being uploaded to the drive.
?> Is there a way to register for a notification / get file state which signifies it's being uploaded, when the upload has not been initiated by us (some other filesystem activity)
I was debugging Appletv (4th Gen) tvOS 14.6 in my Xcode version 12.3, I need to add device support files for tvOS 14.6, but I couldn't find it anywhere. Is there any solution for me?
Post not yet marked as solved
Hi, i am working on a swift package library that gets information about all the disks connected to the mac and displays it organised into a tree structure, including the non-mounted storage devices attached to the machine.
My question is how can i get informations about unmounted devices like:
The amount of free space (when possible) of a partition or an APFS container
The space occupied by a single APFS volume
I am already using a combination of IOKit and Disk Arbitration for my library and i don't see this information anywhere in those frameworks, including the description dictionaries provided by Disk Arbitration.
Instead the terminal command diskutil info -plist [volume/partition BSD name here] gives me this info, but i can't just use it's output in my swift program (and obtaining it via a process object for example) since it doesn't work with the app sandbox, so i am looking for a sandbox-friendly way using just the API.
I hope you can help me figure this out, really any help is appreciated, thank you for your attention.
Post not yet marked as solved
Hi, i have made some code in Swift that allows me to get a list of the storage disks and the relative partitions present in a mac (everything made using the IOKit api), this of course includes the APFS containers that are managed by the OS as separate storage devices.
To have a proper representation of the partitions tree in my code i need to know which are the actual partitions housing a given APFS container.
I have tried to look for this information on documentation and on the internet, then into the IORegistry (using the registry explorer app) and searching for this info into the description dictionaries provided by Disk arbitration but so far no luck, even by comparing the UUIDs.
In IORegistry explorer in the IOService plane I can also see that the APFS Container in my mac's ssd is listed as a sub-node of it's physical storage a partition, but since i am using an IOIterator object to scan the IORegistry i have no idea of how i should look into sub-nodes for a given node.
Also i think that some particular storage configurations might have an APFS container split across multiple physical storage devices, in fact the diskutil list -plist command shows the physical store for each APFS containers as an array in the plist output, so the child approach might not be effective there.
So how can i do this?
I am doing all of this stuff because i am working to a sandbox-friendly open source swift package for macOS apps to easily get a complete tree structure of disks and partitions, in a similar fashion to the above mentioned diskutil list -plist command, my goal is actually to have the exact same structure provided by that command, with the same info.
Post not yet marked as solved
Hi, i'm currently designing a "backup to icloud" solution for my app, and i was wondering what were the limits regarding :
the maximum number of files in a given directory in APFS (not just the theoretical limit, but also the one that's handled decently by APFS on an iOS hardware)
the maximum number of files in a given directory that's synchronized on iCloud (there again, the limit at which it starts to slow iCloud so much it becomes a really bad idea).
Post not yet marked as solved
Greetings all, I am running Monterey Version 12.0 Beta (21A5284e) on a 2017 MBP. I have been trying to run Time Machine and seem always to get the following message: "The file “%@” could not be backed up." I have tried running on different drives, one of 4TB and the other 6TB from Seagate. Both drives seem to work fine as general storage. Has anyone else seen this behavior?
Post not yet marked as solved
Any fix for 12.0 Beta Beta bluetooth state issue on iMac (Retina 5K, 27-inch, 2019)