Devices in a Network Environment



next up previous contents
Next: Conclusion Up: Miscellaneous Issues Previous: Set-User/Group-ID Capability

Devices in a Network Environment

 

In a Unix file system, the input/output devices, such as, terminals, printers, tape, and disk drives, are referenced as files in the directory tree which contains the names of all the files in the file system. All devices are usually located in the /dev directory. For example, a terminal device can be accessed by referencing a name usually of the form ttyn where n is some number. If an application wishes to read or write to a terminal device, it uses the name /dev/ttyn as the pathname argument to Unix I/O functions.

Some file systems may not be able to support devices as part of a the file system's directory tree. For those file systems that can support devices, the use of a terminal device as a controlling terminal may not be supported. In a network environment, where an application may have access to several different file systems, the application should be able to obtain the following information associated with devices:



Karen Olsen
Mon Aug 21 10:18:32 EDT 1995