~ft/ext4srv

Ext[2-4] file system for Plan 9 (unmaintained, moved to 9front)
add -d BITMASK option to enable debugging messages
create: set mtime and ctime

refs

master
browse  log 

clone

read-only
https://git.sr.ht/~ft/ext4srv
read/write
git@git.sr.ht:~ft/ext4srv

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

#ext4srv

NOTE: ext4srv is included in 9front from Feb 2024, this repo is not going to be maintained anymore

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.

#Installation

; 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

#Usage

; 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.