Abstract
Known from Chapter 6, in UNIX, it is through a special file to access one of hardware devices, including character devices (such as the keyboard and printer) and block devices (such as the hard disk). Each hardware device is corresponding to at least one special file. To access a device, use the command or system call that accesses its special file. All I/O devices in the UNIX are treated as files and are accessed as such with the almost same read and write system calls that are used to access all ordinary files (Isaak et al 1998; Jespersen 1995; Sarwar et al 2006). The difference is that device parameters must be set by using a special system call.
This is a preview of subscription content, log in via an institution.
Buying options
Tax calculation will be finalised at checkout
Purchases are for personal use only
Learn about institutional subscriptionsPreview
Unable to display preview. Download preview PDF.
References
Bach MJ (2006) The design of the UNIX operating system. China Machine Press, Beijing
Carson SD, Setia S (1992) Analysis of the periodic update write policy for disk cache. IEEE T Software Eng 18(1): 44–54
Heindel LE, Kasten VA (1995) Real-time UNIX application filestores. RTAS’95: First IEEE Real-time Technology and Applications Symposium, Chicago, Illinois, 15–17 May 1995, pp 44–45
Isaak J, Lohnson L (1998) POSIX/UNIX standards: Foundation for 21st century growth. IEEE Micro 18(4): 88, 87
Jespersen H (1995) POSIX retrospective. ACM, StandardView 3(1): 2–10
McKusick MK, Neville-Neil GV (2005) The design and implementation of FreeBSD operating system. Addison-Wesley, Boston
Nelson BL, Keezer WS, Schuppe TF (1996) A hybrid simulation-queuing module for modeling UNIX I/O in performance analysis. WSC’96: The 1996 IEEE Winter Simulation Conference, 8–11 December 1996, pp 1238–1246
Quarterman JS, Silberschatz A, Peterson JL (1985) Operating systems concepts, 2nd edn. Addison-Wesley, Reading
Ritchie DM, Thompson K (1974) The Unix time-sharing system. Commun ACM 17(7): 365–375
Ritchie DM (1984) A stream input output system. AT&T Bell Lab Tech J, 63(8) Part 2: 1897–1910
Sarwar SM, Koretesky R, Sarwar SA (2006) UNIX: the textbook, 2nd edn. China Machine Press, Beijing
Stallings W (1998) Operating systems: internals and design principles, 3rd edn. Prentice Hall, Upper Saddle River, New Jersey
Author information
Authors and Affiliations
Rights and permissions
Copyright information
© 2011 Higher Education Press, Beijing and Springer-Verlag Berlin Heidelberg
About this chapter
Cite this chapter
Liu, Y., Yue, Y., Guo, L. (2011). UNIX I/O System, I/O Redirection and Piping. In: UNIX Operating System. Springer, Berlin, Heidelberg. https://doi.org/10.1007/978-3-642-20432-6_7
Download citation
DOI: https://doi.org/10.1007/978-3-642-20432-6_7
Publisher Name: Springer, Berlin, Heidelberg
Print ISBN: 978-3-642-20431-9
Online ISBN: 978-3-642-20432-6
eBook Packages: Computer ScienceComputer Science (R0)