On pon 12.08.2013., at 16.36, Jean-Daniel Dupas wrote:
That said, if you don't want to drop down to the POSIX API, CFURL also provide…
Not, that's exactly what I want! The rest of the code I'm working on is almost completely written in C, so POSIX API is preferable over CF.
You are looking for getattrlist()
Search for VOL_CAP_FMT_2TB_FILESIZE in the man page ("If this bit is set the volume format supports file sizes larger than 4GB").
Thanks a lot for this! My knowledge of availability of different POSIX API functions is still fairly limited.
… CFURL also provide a kCFURLVolumeMaximumFileSizeKey which look suited to your need.
Yes, true. And now I feel somewhat stupid missing that one even though I looked into CFURL documentation. -- Dragan _______________________________________________ Do not post admin requests to the list. They will be ignored. Darwin-dev mailing list (Darwin-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: https://lists.apple.com/mailman/options/darwin-dev/site_archiver%40lists.app... This email sent to site_archiver@lists.apple.com