ext2, ext3 and ext4 for Plan 9

daa4ea3 whoops...

~ft pushed to ~ft/lwext4 git

4 days ago

dd9afae ext4 journal: data is not always set despite success, add an assert to spot this specific issue

~ft pushed to ~ft/lwext4 git

4 days ago


Ext[2-4] file system for Plan 9. Read and write.

Tested with ext2, ext3 and ext4. With journaling and extents.

In any case, use at your own risk.


; cd /tmp
; hget https://git.sr.ht/~ft/lwext4/archive/master.tar.gz | tar xz
; mv lwext4-master lwext4
; cd lwext4/src && mk && cd ../..
; hget https://git.sr.ht/~ft/ext4srv/archive/master.tar.gz | tar xz
; cd ext4srv-master
; mk install
; cd ..
; rm -rf lwext4 ext4srv


; ext4srv
; mount /srv/ext4 /n/linux /dev/sdN0/ext4partition
; ls -l /n/linux

See ext4srv -h for more usage examples. Needs a proper man page for sure.