~sircmpwn/ext4serv

ext4 support for Mercury
Update per new Mercury filesystem requirements
Implement userspace reference counting

refs

master
browse  log 

clone

read-only
https://git.sr.ht/~sircmpwn/ext4serv
read/write
git@git.sr.ht:~sircmpwn/ext4serv

You can also use your local clone with git send-email.

#ext4srv

This is an ext4 driver for Ares.

#Preparing the filesystem

A compatible filesystem can be initialized from a Linux system with mkfs.ext4 like so:

$ mkfs.ext4 -O^metadata_csum /path/to/disk

#Building

Set up a mercury-libc sysroot and cross-compiler and run make. The driver is written to sbin/drv/ext4.

#Testing

Prepare a test filesystem:

$ qemu-img -f raw disk.img 16G
$ mkfs.ext4 -O^metadata_csum disk.img
$ mount disk.img /mnt
# populate /mnt...
$ umount /mnt

Then boot the test environment:

$ make nographic
Do not follow this link