A Portable File System using Contiguous Allocation Method for GCP VM

Implement a Portable File System (PFS) with Contiguous Allocation Method, which can perform “Allocate a file”, and “Move files from the Windows file system into your file.” You should have your own directory structure, allocation table, etc. inside your file. Move files back out of your file to the Windows file system or Linux/Unix file system.

When your program is running it should somehow accept the following commands:

open PFSfile Allocate a new 10 KByte "PFS" file if it does not

already exist. If it does exist, begin using it for further


put myfile Copy the Windows (or Unix/Linux) file "myfile" into

your PFS file.

get myfile Extract file "myfile" from your PFS file and copy it to

the current Windows (or Unix/Linux) directory.

rm myfile Delete "myfile" from your PFS file.

dir List the files in your PFS file.

putr myfile "Remarks" Append remarks to the directory entry for myfile in

your PFS file.

kill PFSfile Delete the PFSfile from the Windows file system.

quit Exit PFS.

You can provide those commands through command line interface ONLY (No GUI will be accepted).


1. PFS is NOT a memory based file system, but based on the existing file system on your OS, such as Windows or Linux/Unix.

2. Command-Line Interface (CLI) Only, i.e., [login to view URL] (in Windows) or shell interface (in Unix/Linux). When PFS is executed, it will show the prompt as:

C:\> [login to view URL] PFS> open pfs

3. Filenames are a maximum of 20 bytes. And, file extension is optional like Unix/Linux.

4. The directory need handle only Name, Size, Time and Date. For example,

PFS> dir

[login to view URL] 128 bytes 12:30 PM September 2

[login to view URL] 512 bytes 11:00 AM November 11

[login to view URL] 1k bytes 08:52 PM September 1

. . .

5. If the original PFS file fills up then you should create a new PFS "volume" with the same name but a different suffix - e.g., pfs.1, pfs.2, etc., each the same size as the first "volume".

6. Your file system should use Contiguous Allocation for an allocation scheme where “disk block” size is 256 bytes.

7. In your files system, each file has one File Control Block (FCB) that includes file name, file size, create time, create date, starting block ID, ending block ID and more (if needed).

8. Your file system should consist of two main parts, i) Directory Structure and ii) Data Blocks. Therefore, you need to define the directory data structure that includes File Control Block (FCB) for each file.

9. In addition, your files system should be able to manage free blocks. You can use any techniques that you learned in the classroom, such as bit map (vector) or linked free space management. Free block management should be part of directory structure.

10. You should handle unusual conditions such as trying to put a file into the PFS when a file with that name is already there, file too large to fit into one "volume", etc.

Skills: C Programming, C++ Programming

See more: point sales system using visual basic, developiing online exam system using struts2 pdf, multiple file upload using ajax php java, file upload using java script, student registration system using java access, inventory system using visual basic, designing perl system using java, example sales inventory system using, design interface inventory management system using vbnet, implementation hostel allocation system using visual basic language, multiple file upload system using php ajax, file tracking system using net, java project file system simulation using fat, program copy file system using java windows, hospital management system using file, deploy a small asterisk pbx system using asterisknow, fill in a spreadsheet with data using a two tabbed file, how to design a webpage for online hotel booking system using html tutorial, Creating a diagram/schematic of a complete patient monitoring system Using Visio 2013, I need a student attendance system using NFC with online database

About the Employer:
( 0 reviews ) Stratford, United States

Project ID: #18260199

12 freelancers are bidding on average $199 for this job


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 More

$150 USD in 3 days
(137 Reviews)

typing.. ............... .................

$155 USD in 3 days
(31 Reviews)
$444 USD in 5 days
(28 Reviews)

Keen to do this, please discuss negotiable price and duration...........................................................................................................................................................

$80 USD in 4 days
(27 Reviews)

Hello there, Can you please describe more about the directory structure and File Block that is expected to be used in the program (as can be seen in the Grading section in the PDF file)? Being developed several p More

$160 USD in 5 days
(3 Reviews)

Hello my name is Fares, I can get it done perfectly as you want , let's chat when you are online, Thanks

$500 USD in 7 days
(5 Reviews)

Thank you for share the project. I'm already finished my bachelor degree in computer science and also worked with Operating System development. I can do your project following instructions on enclosed PDF with extra cr More

$250 USD in 8 days
(2 Reviews)

Hello, I've carefully read your project document and fully understood it. I can finish it in 3 days including extra credits part. I assume if there is no contigous block of memory enough for a new file, it will allocat More

$100 USD in 3 days
(3 Reviews)

I am expert in C/C++, system programming and Unix/Linux system programming. I have already done this type of projects using FUSE (FileSystem in UserSpace) during my courses and I can accomplish the project on time.

$188 USD in 3 days
(1 Review)

Hello I have vast knowledge on the topic which can help me get the work done perfectly and on time. i am looking forward to working with you. Regards, Evans

$155 USD in 3 days
(0 Reviews)

Hello, Hope you are doing fine. Please go through the questionaire & revert me back. [login to view URL] are your project core features & Functionality? 2. Who's building the application program interface (API)? 3. Does your More

$140 USD in 7 days
(1 Review)

Please discuss

$70 USD in 4 days
(0 Reviews)