Operating System Error Handling
Let us analyze the case below taking into consideration that a system user wants to read this file from his or her local disc drive through an operating system’s functions of input-output. In this case, the transistor and permanence failure will be discussed during these activities. Additionally, we will treat this answer as being operating system and how the error-handling is handled by the OS.
Transient Failure
- User Action: The user starts the process where a file read operation is being executed to open and extract report.pdf content. With the aid of this operating systems file I/O API.
- Transient Failure: When the user starts this process of reading content from the file, a transient failure takes place whereby there is an interruption in connection on account of momentary change when power fluctuates forcing disconnection off disc drive for some time.
- Operating System Response (Error Handling): The Operating System for the movement detects that there was a transient failure while talking to disc drive. Its error handling mechanisms are triggered like buffer I/O and retries. The operating system will try again or performs retries to resume the communication with disc drive, and continue file read operation from where it had been interrupted. It may not be known to the user that this was a temporary malfunction since the operating system automatically recovers from such transient failure
Permanent Failure
- User Action: In this, the user starts for opening a file named data.csv on an external USB device with help of operating systems’s I /O functions used to access files.
- Permanent Failure: As we have seen permanent failure, is essentially resulted from hardware and software elements. Therefore in a permanent failure, the external USB drive suffers an irreparable physical wear-and –tear of its read and write head resulting to impossibility or difficulty by that particular operating system accessing any data from such drive.
- Operating System Response (Error Handling): When the Operating System recognizes permanent failure and tries to interact with a USB device, in this case Direct recovery from hardware deficiency can not be made by operating systems. In reality, it provides the user an error code that indicates to what real problem has resulted. Therefore, the error message can show that due to some reason an external drive has been filled or because of this it cannot be accessed in reality. The user is also recommended to test its drives connection or seek some consultant help for performing the data recovery process, as this can resolve his/her problem in favor by making him replace faulty drive with a new operative one.
Operating System Error Handling
An operating system is considered a medium between the computer systems and its users. After the booting process, the Operating System takes over and manages all of its applications on a device. The operating system is a key part of the framework software application in an electronic device.
Since the operating system is a set of software some errors may come that can cause any severe stoppage or fault serious enough to give wrong results, it would need error handling. The following paper discusses the error in detail, its types, handling errors concept, and the need for.
Contact Us