[Week - 5] Squashfs port status report
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Tue, 04 Jul 2023 09:11:42 UTC
Hello! Last week was mostly spent on implementing all vfs_() hooks in the squashfs_vfsops.c file and finishing mount(8) support. At the beginning of the project, we were reading data from the squashfs disk file by indexing in an array. Since we now have mount(8) support I dropped that testing process and now we test our driver directly by mount in the kernel. I also researched a little bit about my local freebsd testing system and found that I use 13.2 vm freebsd so currently driver works and compiles for the 13.2 version. There are some additional parameters in functions like NDINIT in 13.2 than the main branch of src which will cause problems for someone compiling from the main branch of freebsd. What's good news is mount(8) works without any lags and problems. Once we implement basic vnops_() functions like readdir(), open(), close(), etc... we will be able to use our driver as a basic read-only file system. Since I already finished implementing helper functions for our driver it will not take much time to implement vnops_() functions but this week I will probably try to open a pull request and get my code reviewed by my mentor and possibly fix some bugs in the driver. Thanks for reading. -- Raghav