aboutsummaryrefslogtreecommitdiff
path: root/website/content/en/status/report-2023-07-2023-09/squashfs.adoc
diff options
context:
space:
mode:
Diffstat (limited to 'website/content/en/status/report-2023-07-2023-09/squashfs.adoc')
-rw-r--r--website/content/en/status/report-2023-07-2023-09/squashfs.adoc29
1 files changed, 29 insertions, 0 deletions
diff --git a/website/content/en/status/report-2023-07-2023-09/squashfs.adoc b/website/content/en/status/report-2023-07-2023-09/squashfs.adoc
new file mode 100644
index 0000000000..70fd1484a4
--- /dev/null
+++ b/website/content/en/status/report-2023-07-2023-09/squashfs.adoc
@@ -0,0 +1,29 @@
+=== SquashFS driver for FreeBSD kernel
+
+Links: +
+link:https://wiki.freebsd.org/SummerOfCode2023Projects/PortSquashFuseToTheFreeBSDKernel[Wiki page] URL: link:https://wiki.freebsd.org/SummerOfCode2023Projects/PortSquashFuseToTheFreeBSDKernel[] +
+link:https://github.com/Mashijams/freebsd-src/tree/gsoc/testing[Source code] URL: link:https://github.com/Mashijams/freebsd-src/tree/gsoc/testing[]
+
+Contact: Raghav Sharma <raghav@FreeBSD.org>
+
+This quarter we finished SquashFS driver work for the kernel.
+We now can mount SquashFS archives on FreeBSD 13.2-RELEASE or greater, and perform all basic read-only filesystem operations.
+
+Code work includes:
+
+* Implementing vop_lookup() and vop_readdir() hooks for directory read support.
+* Implementing vop_read() and vop_strategy() hooks for files read support.
+* Implementing vop_readlink() hook for symlinks read support.
+
+We also implemented extended attributes interface functions for SquashFS.
+All that remains is to implement their kernel interface hooks.
+
+There were a lot of bug fixes as well.
+One major issue was to find out why we can not list the first entry of the root directory, it transpires that SquashFS could have `inode_number` as zero, which the kernel, for some reason, skips while listing dirents.
+For now, we fixed it by passing dummy `inode_number`, instead of zero, to dirent.
+
+The code review is currently ongoing with my mentor mailto:chuck@FreeBSD.org[Chuck Tuffli].
+
+I am happy to say that SquashFS will find its place in upcoming FreeBSD releases.
+
+Sponsor: The Google Summer of Code 2023 program