Starting from:

$29.99

Operating-Systems Laboratory 9 Solution

/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://drive.google.com/file/d/1kZmBP3I1NdEqu7-tZWsmiQtizDqiCWnN/view?us p=sharing
Git: Remember to start a new branch from v3.3.0
Submit: a single zip file (format: <roll-number>_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.

More products