Dan Smith wrote on Wednesday, March 2, 2005:
>How can I determine, at a file-and-volume-high-level-API-level, which volumes
>are physically read-only (i.e. CD-Rs and DVD-Rs) and thus cannot be written to
>_even by Root_ (or by a process given Root-level privilege by
>AuthorizationExecuteWithPrivileges?)
I would start by doing an FSGetVolumeInfo call, then look in the FSVolumeInfo.flags for kFSVolFlagHardwareLockedBit and kFSVolFlagSoftwareLockedBit.
--
James Bucanek <mailto:email@hidden>
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Carbon-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/carbon-dev/email@hidden
This email sent to email@hidden