1.0 KiB
1.0 KiB
MKLLFS (Make Linked List File System)
Introduction
The llfs filesystem can be generated using the mkllfss utility. It is a simple filesystem that uses a linked list to store files. The filesystem is stored in a single c file (llfs_data.c), which can be compiled and read by the llfs library. The llfs filesystem is a flat filesystem, meaning that it does not support directories.
The mkllfs utilit can be used to generate the llfs_data.c file. The llfs_data.c file from a directory with files.
Usage
The mkllfs utility can be used as follows:
mkllfs [options] <directory> <output_file>
For example:
mkllfs data llfs_data.c
Available options:
-h, --help show the help message and exit
-v, --version print the version of mkllfs and the llfs library that it generates for
Building
The mkllfs utility can be built using the following command:
gcc -o mkllfs mkllfs.c
For windows, you can use the following command:
gcc -o mkllfs.exe mkllfs.c