File Data/Operations (cont)
Unix uses a file-like interface for many kinds of objects:
-
/dev/tty1 ... terminal devices
-
/dev/null ... data sink
-
/dev/cdrom ... CD reader
-
/dev/nbd1 ... network streams
-
/proc/3666/ ... info about one process
Some of these (e.g. /dev/tty1 ) are not persistent.
Instead, they give an infinite stream of incoming/outgoing data.
|