Next | Prev | Up | Top | Contents | Index

Types of Files

Filesystems can contain the types of files listed Table 3-2. The type of a file is indicated by the first character in the line of ls -l output for the file.

Types of Files
Type of FileCharacterDescription
Regular files-Regular files are one-dimensional arrays of bytes.
DirectoriesdDirectories are containers for files and other directories.
Symbolic linkslSymbolic links are files that contain the name of another file or a directory.
Character devicescCharacter devices enable communication between hardware and IRIX; data is accessed on a character by character basis.
Block devicesbBlock devices enable communication between hardware and IRIX; data is accessed in blocks from a system buffer cache.
Named pipes (also known as FIFOs)pNamed pipes allow communication between two unrelated processes running on the same host. They are created with the mknod command (see the section "Creating Device Files With mknod" in Chapter 2 for more information on mknod).
UNIX domain socketssUNIX domain sockets are connections between processes that allow them to communicate, possibly over a network.


Next | Prev | Up | Top | Contents | Index