RedoxFS is the default filesystem of Redox OS, inspired by ZFS

2025-09-2521:257539doc.redox-os.org

This is the default filesystem of Redox OS, inspired by ZFS and adapted to a microkernel architecture. Redox had a read-only ZFS driver but it was abandoned because of the monolithic nature of ZFS…

This is the default filesystem of Redox OS, inspired by ZFS and adapted to a microkernel architecture.

Redox had a read-only ZFS driver but it was abandoned because of the monolithic nature of ZFS that created problems with the Redox microkernel design.

(It's a replacement for TFS)

Current features:

  • Compatible with Redox and Linux (FUSE)
  • Copy-on-write
  • Data/metadata checksums
  • Transparent encryption
  • Standard Unix file attributes
  • File/directory size limit up to 193TiB (212TB)
  • File/directory quantity limit up to 4 billion per 193TiB (2^32 - 1 = 4294967295)
  • Disk encryption fully supported by the Redox bootloader, letting it load the kernel off an encrypted partition.
  • MIT licensed

Being MIT licensed, RedoxFS can be bundled on GPL-licensed operating systems (Linux, for example).

Tooling

RedoxFS tooling can be used to create, mount and edit contents of an .img file containing RedoxFS. It can be installed with:

cargo install redoxfs

If you found errors while installing it, make sure to install fuse3.

Create a disk

You can create an empty, non bootable RedoxFS by allocating an empty file with fallocate then run redoxfs-mkfs to initialize the whole image as RedoxFS.

fallocate -l 1G redox.img
redoxfs-mkfs redox.img

Mount a disk

To mount the disk, run redoxfs [image] [directory]:

mkdir ./redox-img
redoxfs redox.img ./redox-img

It will mount the disk using FUSE underneath.

Unmount

Unmount the disk using FUSE unmount binary:

fusermount3 ./redox-img


Read the original article

Comments

  • By cayleyh 2025-09-2522:262 reply

    "because of the monolithic nature of ZFS that created problems with the Redox microkernel design"

    Anyone have an idea what this actually means and what problems they were having in practice?

    • By evanjrowley 2025-09-2523:051 reply

      Good question. I don't know about other microkernels, but NetBSD is a small kernel that supports ZFS. The support has been there since the 4.0.5 and 5.3[0], possibly earlier too. I'm not adept at navigating the mailing lists here, but I imagine a good place to learn about the challenges of porting ZFS to a smaller kernel would be the NetBSD and ZFS lists from that era (2008-2009). What NetBSD does today is use a 'zfs' modlue that depends on a 'solaris' kernel modile. The dependency of Solaris primitives is probably one of the major challenges with porting ZFS to any kernel. FWIW, somehow a ZFS port for the "hybrid" kernel in Windows also exists[1].

      [0] https://vermaden.wordpress.com/2022/03/25/zfs-compatibility/

      [1] https://github.com/openzfsonwindows/openzfs

      • By adastra22 2025-09-2523:07

        NetBSD isn’t a microkernel.

    • By aidenn0 2025-09-2523:24

      That seems odd to me too. It seems like they could have put all of ZFS (and SPL) in a single system service.

  • By ladyanita22 2025-09-2522:244 reply

    Redox is shaping up to be the most advanced OSS alternative to Linux apart from BSDs.

    • By samtheDamned 2025-09-2523:501 reply

      Yeah I've always written this off as a fun side project for a group of people but after seeing consistent updates and improvements over the last several years I've been so impressed by how far this project has been going.

      • By edoceo 2025-09-260:04

        I feel like I read that exact quote, 25+ years ago about Linux.

        I admire these projects & the teams for their tenacity.

        Four bells! Damn the torpedoes.

    • By dardeaup 2025-09-2523:43

      Interesting! Can you elaborate?

    • By snvzz 2025-09-2522:341 reply

      You might not be aware of Genode[0].

      0. https://genode.org/

      • By Rochus 2025-09-260:27

        Genode looks interesting. As far as I understand it uses the sel4 kernel? Is it really in development since 2008?

    • By NewJazz 2025-09-2523:02

      Fuchsia?

  • By adastra22 2025-09-2523:061 reply

    How is redoxos on actual hardware? Are there laptops with good support?

    • By kimixa 2025-09-2523:331 reply

      It doesn't currently have any GPU support (for example) - even for a pretty simple desktop CPU rendering is rather incompatible with battery life or performance in a laptop form factor.

      • By adastra22 2025-09-2523:431 reply

        Not even Intel integrated GPU? Ugh.

        • By hsbauauvhabzb 2025-09-2523:58

          The project does state it’s not ready to be used in any factor (server, desktop, etc).

HackerNews