NSWorkspaceDidMountNotification works well to get the information of just mounted disk. But how can I get the information of already mounted disks before my app start?
command line: "diskutil list" and "diskutil info /" works but there should be a simple programmatically method there.
searched result of "DiskArbitration" or "VolumeToBSDNode example" don't work, IOkit difficult.
BTW, anyone recommend of using this? [NSWorkspace getFileSystemInfoForPath:isRemovable:isWritable:isUnmountable:description:type:]