Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Assignment Implement FUSE functionality for your TinyTar program. If you dont have a working implemen- tation of TinyTar, you may create a FUSE client for

Assignment Implement FUSE functionality for your TinyTar program. If you dont have a working implemen- tation of TinyTar, you may create a FUSE client for either the tar or zip utility (but you will not receive the 5 points for having a standalone working TinyTar program). 3 Grading For full credit, the mounted directory corresponding to your FUSE client filesystem should display the contents of your archive when asked for a listing, print contents of the files from within the directory when passed to a utility like cat, add files that are written to the directory to your archive (at the bare minimum, youll have to implement fgetattr, readdir, open, read, write. See sections below.). Also, provide a way of specifying the archive that is to be mounted, no points for hard-coding it in. FUSE client rubric: 1. Reasonable attempt (20 pts) 2. Makefile (5 pts) 3. design.txt (5 pts)4. Compiles (5 pts) 5. Standalone TinyTar program is present and working (5 pts) 6. Directory listing (30 pts) 7. Adding files (30 pts) Important: Writing a FUSE client that, when mounted, extracts the contents of your archive into some directory and copies or links to those files in the mounted directory is NOT acceptable. The archive you create with TinyTar should be THE ONLY STORAGE AND ORGANIZATION of files and file data you will use. That means, for example, when you change directories into the mounted directory and get a directory listing, that listing is ALWAYS generated from the archive contents (the filenames in the headers). Again, do not create any additional files or directories when or after your FUSE archive is mounted, use only the archive file to provide strings for directory listings, use only the archive file to provide file data when a read occurs, and use only the archive file to write to when a write occurs. Your TinyTar client and the FUSE client should work with the same archive format, so that when you add a file or remove a file via the mounted directory using the usual UNIX utilities, the contents of the archive are correctly shown in the subsequent directory listing of the mounted directory AND using your TinyTar client to list the contents of the archive should likewise show that the file in question is missing or was added, as the case may be. 4 What to turn in One tgz file containing: Your source code. Makefile that compiles everything. Any additional information useful for running your client in a README. design.txt describing your design, notes on the process, descriptions of tests youve run, what works, what doesnt work.

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

More Books

Students also viewed these Databases questions