SFS extensions are easy to make. Basically, each SFS extension contains a small file system with just the file supplied by the contained software, arranged according to the File System Hierarchy.
The command used to make a SFS extension from a directory is “mksquashfs”. In this example, I will make a SFS extension for sstrip, a tool used to remove debugging information from executables to reduce their size. All the files of sstrip are under /root/sstrip.
To make a SFS extension, place all the files inside a directory and think of it as /. For instance, files that go to /usr once the SFS extension is loaded go to the usr sub-directory under it.
For instance, here are the contents of my sstrip directory, under /root (the output of find):
. ./usr ./usr/bin ./usr/bin/sstrip
Of course, this is just an example. With bigger applications, there should be much more files, in more directories.
In order to make a SFS extension from your directory, issue the following command:
mksquashfs <directory> <SFS file destination>
For instance, in order to make /root/sstrip-2.0.X.sfs from /root/sstrip, I used:
mksquashfs /root/sstrip /root/sstrip-2.0.X.sfs
Then, you can install the SFS extension or share it through the forums.