$34.99
/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.