### File System Iterators

The File System Framework provides three classes that you can use for iterating through directories and volumes:

- IDirectoryIterator iterates over the files and directories contained within a single directory or an entire directory hierarchy.
- IRootDirectoryIterator iterates over all topmost directories on all mounted volumes.
- IVolumeIterator iterates over all the local disks and network volumes that are currently mounted.

IVolumeIterator returns an IVolume for each disk connected to the system and for each connected network drive. Additionally, because each volume is represented as a root directory, IRootDirectoryIterator will return the same entities as IVolumeIterator.

There is only one root directory ("/") on UNIX systems.

Introduction to the File System
Overview of File System Entities
Files
Directories
Volumes
File System Exceptions

Looking Up Entities with a Directory Iterator
Iterating over the Contents of a Directory
Iterating over the Contents of a Volume
Iterating over all Mounted Volumes
Iterating over all Root Directories
Instantiating Host-Specific Pathnames and Pathname Parsers
Instantiating a Portable Pathname from a Host-Specific Pathname