The path to the root of a volume can be obtained by sending #volumeName to an instance of CfsVolumeInfo. The volumeType method answers a string that specifies the volume type, for example, 'FAT,' 'HFS,' 'HPFS,' 'MFS,' 'UNIX,' or 'VFAT.' The following example queries the volume type for the default volume:
"Answer the volumeType of the default volume." (CfsVolumeInfo volumeInfo: CfsDirectoryDescriptor getcwd) volumeType.