SLFS is a implementation of log-structured file system designed for flash memory based storages(SSD, SD card, eMMC, …). Like other log-structured file systems, SLFS shows good performance under random write.
<Build>
1. deploy SLFS source code at your Kernel Source
# tar xzf slfs.tar.gz
# mv slfs KERNEL_SRC/fs/.
# vi KERNEL_SRC/fs/Makefile
(add following line)
obj-$(CONFIG_SLFS_FS) += slfs/
# vi KERNEL_SRC/fs/Kconfig
(find section “MISC_FILESYSTEMS” and add following line)
source "fs/slfs/Kconfig"
2. build Linux Kernel
# cd KERENL_SRC
# make menuconfig
(check SLFS as a module or built-in)
# make && make modules_install
Note.
Currently uploaded version is developed for Linux Kernel v4.9.
Note.
Related user-space programs for SLFS can be found at:
https://sourceforge.net/p/slfs-utils
Features
- support POSIX file I/O system calls
- support block size: 1KiB, 2KiB, 4KiB
- Max file size: 4 TiB
- Max volume size: 16 TiB
- Max filename length: 255 bytes