Postagens

Mostrando postagens de julho, 2019

Assignment 5

Team 1  When strings are written to a file, its inode must be updated. Change the kernel from Shibata -team's phase 4 so that it kprints any update in any inode. In init create a file and keep adding strings to it. Check if the messages from kernel are compatible with the inode updates. Team 2 You can create a file that resembles a device (loop device). In this file (loop device) we create a filesystem, so that, it is possible to mount it and use in your linux. See https://www.thegeekdiary.com/how-to-create-virtual-block-device-loop-device-filesystem-in-linux/ . Using a ubuntu , create a ext2 filesystem in a loop device. The ext2 filesystem structure is explained in http://www.science.unitn.it/~fiorella/guidelinux/tlk/node95.html . Create a file in this ext2 loop device and keep adding strings to it. From moment to moment stop, and study the bytes in this loop device, i.e., study the bytes corresponding to the inodes. Are they what you expected? Team 3 You can create a