OS-Device Management in Unix

One of the design objectives of Unix was to provide a straight forward uniform system for I/O operations. From the kernel’s view point, all ...

One of the design objectives of Unix was to provide a straight forward uniform system for I/O operations. From the kernel’s view point, all devices and files are treated identically. Devices are represented as special files which appear as entries with in the disk directory system. This means that data transfer operations to and from a process are identical for both data files and other devices such as printers. The other main feature of the Unix I/O system is that all data transfers between a process and a file or device are handled purely as a stream of bytes with no structure.

The /dev directory on a Unix disk system holds a list of special files which corresponds to the devices attached to the system. A listing of these device names could be obtained by the command $ ls – l /dev

A list of ome device names is shown below

         /dev/console              system console
         /dev/ttyo1                  user terminal 1
         /dev/ttyo2 -                user terminal 2
         /dev/rmt 0 -                magnetic tape
         /dev/dsk/0s0 -            hand disk

Normal filename within a directory associated with some data stored on disk, /dev directory is associated with a device driver.

Device drivers in Unix

Device drivers in Unix are usally linked into the object code of kernel. This means that when a new device is to be used, which was not included in the original construction of the os, the Unix kernel has to be re-linked with the new device driver object code.
Name

ADO,131,ASP,3,C++,61,CORE JAVA,1,CSS,115,HTML,297,index,5,JAVASCRIPT,210,OS,47,PHP,65,SAD,53,SERVLETS,23,SOFTWARE ENGINEERING,245,SQL,71,TCP/IP,1,XHTML,9,XML,18,
ltr
item
Best Online Tutorials | Source codes | Programming Languages: OS-Device Management in Unix
OS-Device Management in Unix
Best Online Tutorials | Source codes | Programming Languages
https://www.1000sourcecodes.com/2012/09/os-device-management-in-unix.html
https://www.1000sourcecodes.com/
https://www.1000sourcecodes.com/
https://www.1000sourcecodes.com/2012/09/os-device-management-in-unix.html
true
357226456970214079
UTF-8
Loaded All Posts Not found any posts VIEW ALL Readmore Reply Cancel reply Delete By Home PAGES POSTS View All RECOMMENDED FOR YOU LABEL ARCHIVE SEARCH ALL POSTS Not found any post match with your request Back Home Sunday Monday Tuesday Wednesday Thursday Friday Saturday Sun Mon Tue Wed Thu Fri Sat January February March April May June July August September October November December Jan Feb Mar Apr May Jun Jul Aug Sep Oct Nov Dec just now 1 minute ago $$1$$ minutes ago 1 hour ago $$1$$ hours ago Yesterday $$1$$ days ago $$1$$ weeks ago more than 5 weeks ago Followers Follow THIS PREMIUM CONTENT IS LOCKED STEP 1: Share to a social network STEP 2: Click the link on your social network Copy All Code Select All Code All codes were copied to your clipboard Can not copy the codes / texts, please press [CTRL]+[C] (or CMD+C with Mac) to copy Table of Content