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.

Similar Reads

What is an Error?

An error is a kind of abnormal situation or state that basically occurs either in the operating system itself or during execution and any program under process restrictions from action as it should ideally. Now this action can be any practically specified activity or every certain action that has been distributed for the mentioned system such as copying a particular file or deletion of some specific information. Therefore, any restriction of this action – performing these three side actions is called an error The causes for those errors can be run-time faults logical errors system crashes etc. In essence, these mistakes produce untrue results or some system vulnerabilities and instability....

Types of Error

Below are the two types of errors that are seen in the context of the Operating System:...

What is Operating System Error Handling?

Primarily error-handling in an operating system may be defined as a systematic process or apperach to Detect, Manage and even respond appropriately by certain failures such transient errors of permanent failure. Error handling basically refers to some mechanisms for Coping with these types of failures or exceptional aspects what are referred include exceptions which occurs during runtime ar compile time; the primary task is handled this error.Some of the methods for error handling, include exception....

Why is Error Handling necessary for Operating System?

Below are the reasons, why Error Handling is important in Operating Systems:...

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....

Frequently Asked Questions on Operating System Error Handling – FAQs

How Operating System handles the segmentation fault?...

Contact Us