I am using the following code to determine free space on a volume.
The folder was provided using NSOpenPanel. The item selected was a mounted volume and the path returned is \Volumes\Name
NSDictionary* fileAttributes = [[NSFileManager defaultManager] fileSystemAttributesAtPath:folder];
unsigned long long size = [[fileAttributes object...
I'm trying to unmount a WebDAV volume (mounted with FSMountServerVolumeSync()) using either FSUnmountVolumeSync() or FSEjectVolumeSync(). Thus far I've been unable to get either of them to reliably unmount the volume without blocking for more than 20 seconds. While they're blocking I can see webdavfs_agent complaining in Console.app th...
I was having a problem with the script that creates my installer for macosx not working and I discovered it was because it was creating a folder called /Volumes/myinstaller 1 instead of /Volumes/myinstaller. While investigating this issue I found that I have a hidden volume called /Volumes/myinstaller with all the relevant files inside ...