The LunaFS Filesystem, fully UNIX compliant included FUSE driver.
Find a file
2025-10-13 18:54:16 +00:00
.github/workflows Create c-cpp.yml 2025-09-14 16:27:26 +02:00
lunafs_fuse.c Commented out an unused block. 2025-10-12 02:39:17 +02:00
mkimg.sh Base Commit 2025-08-28 17:04:49 +02:00
README.md Cleaned up README.md 2025-10-12 02:13:09 +02:00

🌙 LunaFS

LunaFS is a lightweight experimental filesystem written in C with a FUSE-based Linux driver and support for both disk image files and physical block devices.

Important

LunaFS is experimental. Do not use on drives or partitions containing important data.

Features

  • Custom filesystem layout (superblock, inodes, data blocks).
  • Works with both image files (lunafs.img) and physical drives (/dev/sdX).
  • Includes:
    • lunafs_fuse → FUSE driver to mount LunaFS in userspace.
  • Mounts like a normal filesystem → browsable in Dolphin, Nautilus, etc.
  • Optional -o allow_other support for sharing mounts across users.

🔧 Building

Dependencies:

  • gcc (or any C compiler)
  • fuse3 development headers

Arch Linux / Manjaro

sudo pacman -S base-devel fuse3

Debian / Ubuntu

sudo apt update
sudo apt install build-essential fuse3

Fedora / CentOS / RHEL

sudo dnf groupinstall "Development Tools"
sudo dnf install fuse3

For older CentOS/RHEL versions: yum groupinstall "Development Tools"

openSUSE

sudo zypper install -t pattern devel_basis
sudo zypper install fuse3

Alpine Linux

sudo apk add build-base fuse3