frfs implements a fully functional in-RAM filesystem using the FUSE framework.
Overview:
With Linux, creating RAM-backed file system is easy: su to root, mount a tmpfs some place, come back to plain user.
Ah, but you’ve got to become root! I abhor being root when that can be avoided.
The solution is to use the FUSE library and pseudo- file system and let the user mount the file system.
In its current state, frfs does work quite nicely. It supports most of the usefull features of a Linux file system:
· files and directories
· symlinks
· hard links
· unlink open files, free on last close()
· most file operations:
open(2)
read(2)
write(2)
close(2)
opendir(2)
readdir(2)
truncate(2)
But it lacks some functionality: some interesting operations are not yet implemented (but should be easy):
· statfs(2)
· flush(2)
· extended attributes
Also it is not thread-safe yet. Some infrastructure is there, but code is missing.
Build:
make
Mount:
./frfs /some/place/frfs
Use:
cd /some/place/frfs
tar xjf /my/files/linux-2.6.22.3.tar.bz2
cd linux-2.6.22.3
make defconfig
make
cd
Umount:
fusermount -u /some/place/frfs
Requirements:
· FUSE
Product's homepage