I would like to hire a C Programmer

In this project, you will implement a simple simulated file system. This project will let you get familiarwithimportantdatastructuresinafilesystem,includingi)volumecontrolblock,ii)thedirectory structure,iii)openfiletables(system-wideandper-process),andiv)FileControlBlock(FCB).Youwill also learn how basic file operations, such as open(), interact with these data structures. Before we describe the tasks of this project, we make the following assumptions. The simulated file system is implemented on main memory. More specifically, a slot of main memory of 1M is used to simulate a disk. We assume that a data block is of 2K. Therefore, the disk has 512 blocks. In this project, we assume the disk is a data disk, i.e., no OS installed. So the first data block is used as the volume control block. We assume that the volume control block contains the following items:

number of blocks size of block a free-block count a bit-map of free blocks Table 1: Volume control block

Weassumethatthefileallocation(i.e.,datablockallocation)iscontiguousallocation. Forsimplicity, our file system uses a flat directory structure to manage files. In other words, the directory contains no subdirectories. With the assumption of contiguous allocations, the content of the directory of our file system can be organized as a table as follows:

file name start block number file size file1 0 2 file3 6 3 . . . . . . . . . Table 2: Flat directory structure.

To be consistent with the contiguous allocation, the FCB contains the following items:

file size pointer to the first data block Table 3: File control block (FCB).

A system-wide open file table is a set of FCBs of open files. An example of a system-wide open file table is shown in Table 4. Given a specific process, its per-process open file table contains a set of file handles of files opened by the process. For example, assume that a process has open files: f1 and f4, its per-process table will be the one shown in Table 5.


file name FCB f1 FCB1 f3 FCB3 f4 FCB4 Table 4: System-wide open file table.

file name handle f1 0 f4 2 Table 5: Per-process open file table. 1 PartI:Basicfileoperations You will need to implement the following file operations: • create(). create a file with a specified size. The size is in terms of the number of blocks. • open(). open a file, and update system-wide and per-process open file tables. • close(). close a file, and update system-wide and per-process open file tables. • read(). read a file to a local variable. • write(). Write specified content to selected free blocks. CS445Ggraduate students should implement two additional file/directory operations: • dir(). display all files in the file system. • delete(). remove a specified file from the directory. 2 PartII:Asimulation Write an application to demonstrate a sequence of file operations of different threads. A better way of simulation is based on processes rather than threads. (Recall that threads in the same process share the same open files.) But in this project, we use a thread to simulate a process to simplify your work in case that you use Java language for the implementation. The following is a sample of file operations, where p1, p2 and p3 are three pthreads. p2 and p3 should be created simultaneously after p1 is completed.

1. p1: create file1 2. P1: write file1 3. p1: close file1 4. p1: create file2


5. P1: write file2 6. p1: close file2 7. p2: open file1 8. p2: read file1 and print it in the screen 9. p2: close file1 10. p3: open file2 11. p3: read file2 and print it in the screen 12. p3: close file2

CS 445G graduate students should further test the correctness of dir() and delete() operations. For example, you can insert a dir() call in front of the above simulation and append a delete() and a dir() at the end of the above simulation. This project is a team project, and each team can have up to 2 students. You can use C/C++ or Java to implement this project. But if you use Java, keep in mind to demonstrate the simulation with multi-threading Java programming.

Onsubmission: Submit your source code and readme to blackboard. The source code should be well-documented, i.e., having good readability. The readme file should summarize: i) tasks that you completed, and ii) tasks that you did not complete.

Taidot: C-ohjelmointi, Ohjelmointi

Näytä lisää: i need a c programmer expert in belfast, i need a c++ coder ireland, how can i use the c++ for programming a robot, android, iphone, c programming, c++programming, c++ programming, node.js, angular.js, mobile, hire someone for cplus and c sharp programming, hire freelancer with javascript or c#, hire a programmer c++, freelance c++ programmer for hire, c++ programmer for hire rsa, c++ programmer for hire london, c# programmer for hire, c programmer for hire, c++ programmer for hire

Tietoa työnantajasta:
( 3 arvostelua ) BOWLING GREEN, United States

Projektin tunnus: #13162820

16 freelanceria on tarjonnut keskimäärin %project_bid_stats_avg_sub_26% %project_currencyDetails_sign_sub_27% tähän työhön


Hello. I am Smile Song, developer in China. I'm interesting your project very well I'm a Good C, C++, Video Streaming, OpenCV, Math, java, c#, Algorithm expert. I m quite well experienced in these jobs. Let's Lisää

R2577 ZAR 7 päivässä
(403 arvostelua)

I can do

R3684 ZAR 3 päivässä
(288 arvostelua)
R1977 ZAR 3 päivässä
(42 arvostelua)

I am very proficient in c and c++. I have 16 years c++ developing experience now, and have worked for more than 7 years. My work is online game developing, and mainly focus on server side, using c++ under Linux environ Lisää

R1500 ZAR 3 päivässä
(94 arvostelua)

Hi, I'm a OS expert experienced C/C++/ObjC developing. I can develop almost kinds of C/C++/ObjC codes for any OS : Windows, Linux, MAC OS X... I can use almost of develop libraries such as QT, MFC, boost... and ant I Lisää

R3157 ZAR 2 päivässä
(48 arvostelua)
R2200 ZAR 3 päivässä
(91 arvostelua)

Hello, I can do this project Have a big experience in system programming. Lisää

R3647 ZAR 3 päivässä
(4 arvostelua)

Hello, we are qualified software engineers and especially doing simulation in C and Java. We know the work involved in it if given an opportunity. will deliver the best in given time frame. Thanks & regards Techies

R11111 ZAR 5 päivässä
(1 arvostelu)

Hello , Greetings from Passionate Futurist Solutions Pvt. Ltd As per your project description you want to hire a C programmer . The idea sounds good, we will provide you fully creative outcome with the best results Lisää

R1088 ZAR 3 päivässä
(1 arvostelu)

* we are working with good team and lots of previous works .we are serving exactly our client needs. * We are a special to develop all kind of mobile apps (iOS,Android) with latest technologies and ideas like Lisää

R1088 ZAR 3 päivässä
(0 arvostelua)
R250 ZAR 3 päivässä
(0 arvostelua)

strong knowledge of data structures and algorithms, extensive C/C++ development experience, ability to contribute to all levels of software development

R2222 ZAR 10 päivässä
(0 arvostelua)

Hi , I have very good experience in file handling and can able to deliver this project within 3 days i have read the detailed requirement and get an understanding with your requirement I have around 14 yrs of Lisää

R1666 ZAR 3 päivässä
(0 arvostelua)
R1088 ZAR 3 päivässä
(0 arvostelua)

I know C, data structures, Linux I have ported UBI file system in Linux ; So I am familiar with VFS ..etc in Linux The project description is very lengthy and its not fomratted properly.. so could not go through it Lisää

R5555 ZAR 15 päivässä
(0 arvostelua)

Hie I would like to complete this project as programming in C language is just like game for me

R611 ZAR 2 päivässä
(0 arvostelua)