UNIT 3:
Device Management
Device Management
• Introduction:
• Device management in operating system known
as the management of the I/O devices such as a
keyboard, magnetic tape, disk, printer,
microphone, USB ports, scanner, etc. as well as
the supporting units like control channels.
• An operating system or the OS manages
communication with the devices through their
respective drivers.
• The operating system component provides a
uniform interface to access devices of varied
physical attributes.
• For device management in operating system:
• Keep tracks of all devices and the program
which is responsible to perform this is called
I/O controller.
• Monitoring the status of each device such as
storage drivers, printers and other peripheral
devices.
• Allocates and Deallocates the device in an
efficient way
Types of devices:
• The OS peripheral devices can be categorized into
three types:
[Link]
[Link]
[Link].
• The differences among them are the functions of
the characteristics of the devices as well as how
they are managed by the Device Manager.
1. Dedicated devices:-
• Such type of devices in the device
management in operating system are dedicated
or assigned to only one job at a time until that
job releases them.
• Devices like printers, tape drivers, plotters etc.
demand such allocation scheme since it would
be awkward if several users share them at the
same point of time.
[Link] devices:
• These devices can be allocated o several
processes.
• Disc can be shared among several processes at the
same time by interleaving their requests.
• The interleaving is carefully controlled by the
Device Manager and all issues must be resolved
on the basis of predetermined policies.
[Link] devices:
• These devices are the combination of the first two types
and they are dedicated devices which are transformed
into shared devices.
• For example, a printer converted into a shareable
device which re-routes all the print requests to a disk.
• A print job is not sent straight to the printer, instead, it
goes to the disk(spool)until it is fully prepared with all
the necessary sequences and formatting, then it goes to
the printers.
• This technique can transform one printer into several
virtual printers which leads to better performance and
use.