Symmetry’s VFS

I finished Symmetry’s basic virtual file system today. Right now, the only thing that gets mounted on it is the dev directory, and a few files off the ramdisk. The ramdisk (or initrd) is just a tar archive that GRUB loads, and Symmetry parses and mounts on the filesystem. I chose a tar archive over a custom tutorial (as is used in JamesM’s tutorials, which my VFS was somewhat based on), because this way I don’t have to make a program to write the initrd, parsing it is almost as simple as a basic custom FS, and most people would have tar installed, so I can use it in the makefile.

The code, as always, is in our repository at Gitorious.

Leave a Reply