The File System: 3 Disks and Drives

Up: GEOS SDK TechDocs | Up | Down | Prev: 2 File System Overview | Next: 4 Directories and Paths

GEOS provides an easy interface to storage devices. Every drive (or analogous storage device) is identified by a token. Every volume is also identified by a token. This enables you to easily move from one volume to another.

You generally need only worry about disks and drives when you are opening a file. Once you have a file open, you can access the file by its file handle without paying attention to the disk it resides on. The GEOS file system will automatically prompt the user to change disks whenever necessary.

Note that if you use the document control object to open files, you will probably never have to worry about disks and drives. The document control automatically presents a File Selector dialog box to the user, letting the user navigate among disks and directories; when the user selects a file, the document control will automatically open the file and return its handle to the application.


Up: GEOS SDK TechDocs | Up | Down | Prev: 2 File System Overview | Next: 4 Directories and Paths