In this project, we will build a user-level library, libFS, that implements a good portion of a… 1 answer below »

NOTE: We do not resell pre-written papers. Upon ordering a paper, we custom-write an original paper exclusively for you. Please proceed and order an original paper to enjoy top grades.


Order a Similar Paper Order a Different Paper

Project Description:

A “Slower” File System. This project must be implemented in C.

Overview

In this project, we will build a user-level library, libFS, that implements a good portion of a file system. Your file system will be built inside of a library that applications can link with to access files and directories. Your library will in turn link with a layer that implements a “disk”; we provide this library, LibDisk, which you must use.

LibFS Specification

We’ll start by describing the LibFS API to the file system. There are three parts to the API: two generic file system calls, a set of calls that deal with file access, and a set of calls that deal with directories, and

Applications (e.g., your own test applications, and certainly our test applications) will link with LibFS in order to test out your file system.

Your library will be tested on how functions and also particularly on how it handles errors. When an error occurs (each possible error is specified below in the API definition), your library should set the global variable osErrno to the error described in the API definition below and return the proper error code. This way, applications that link with your library have a way to see what happened when the error occurred.

Attachments:

"Is this question part of your assignment? We can help"

ORDER NOW
Writerbay.net

Do you need help with an assignment? We work for the best interests of our clients and maintain professionalism to offer brilliant writing services in most of academic fields—ranging from nursing, philosophy, psychology, biology, finance, accounting, criminal justice, mathematics, computer science, among others.


Order a Similar Paper Order a Different Paper