[SOLVED] CS314 Laboratory 6

30.00 $

Category: Tags: ,
Click Category Button to View Your Next Assignment | Homework

You will receive the following solution file(s) instantly after successful payment:

zip file icon Lab-6-jdaw8g.zip (666.5 KB)
Assignment Instructions Updated Recently? Submit Below and we will provide new Solution!
Submit New Instructions
🔒 Securely Powered by:
Secure Checkout
5/5 - (2 votes)

/home is a separate file system of type mfs (if it isn’t, please create an mfs type file system and mount it at /mnt/test ). This assignment expects you to trace the working on the mfs file system, only for the file system mounted at /home (or /mnt/test ).

● Whenever a file is created, print “file created: <inode_number>”.
● Whenever a file is read, print “file read: <inode_number>; nbytes = <nbytes>; offset = <offset>”.
● Whenever a file is written, print “file write: <inode_number>; nbytes = <nbytes>; offset = <offset>”.
● Whenever a file is deleted, print “file deleted: <inode_number>”.

Folders to look at:
● Virtual File System
○ minix/servers/vfs/
○ www.minix3.org/theses/gerofi-minix-vfs.pdf ● Minix File System
○ minix/fs/mfs
○ https://koala.cs.pub.ro/redmine/attachments/download/105/minix.pdf

Git: Remember to start a new branch from v3.3.0

Submit: a single zip file (format: <roll-number-1>_<roll-number-2>_lab6.zip) with all modified source files and a shell script. The shell script must copy the modified source files to the correct directories, and build the system. The evaluator will simply run the shell script, reboot the system, and check for the desired behavior.

  • Lab-6-jdaw8g.zip