Q1. What are the advantages of using the system call interface for manipulating both files and devices?
Ans. Each device can be accessed as it was a file system so most of the kernels deals with devices through its file interface; it is relatively easy to add a new device driver by implementing the hardware specific code to support this abstract file interface. Therefore these benefits the development of both user program code, which can be written to access devices and files in the same manner, and device driver code, which can be written to support a well defined API (Application Program Interface).