Programmer Reference : Common File System : Obtaining volume information
Obtaining volume information
A CfsVolumeInfo object can be obtained for any directory, and reports file system characteristics for the volume associated with that directory. Volume information operations are extensions of the POSIX.1 standard.
CfsVolumeInfo class>>#volumeInfo: answers a new CfsVolumeInfo instance for the volume associated with the directory specified by the path argument. CfsVolumeInfo>>#volumeInfo: is functionally identical, however it reuses the receiver CfsVolumeInfo instance.
CfsVolumeInfo instance protocol is described in this section.
Wherever possible, the operating system is only queried if and when a message is sent, and the answered value is cached for later queries to the same instance.
Last modified date: 01/29/2015