THE GOAL OF THE I/O SUBSYSTEM o Provide Uniform Interfaces,Despite Wide Range of Different Devices This code works on many different devices: int fd open (/dev/something"); for (int i=0;i<10;i++){ fprintf(fd,"Count &dn",i); } close(fd); Why?Because code that controls devices (device driver")implements standard interface. o We will try to get a flavor for what is involved in actually controlling devices in rest of lecture Can only scratch surface!THE GOAL OF THE I/O SUBSYSTEM Provide Uniform Interfaces, Despite Wide Range of Different Devices This code works on many different devices: int fd = open(“/dev/something”); for (int i = 0; i < 10; i++) { fprintf(fd,”Count %d\n”,i); } close(fd); Why? Because code that controls devices (“device driver”) implements standard interface. We will try to get a flavor for what is involved in actually controlling devices in rest of lecture Can only scratch surface!