Re:RISC-V OS using Rust: Filesystems
by pavehawk2007 on Tuesday May 12, 2020 @06:44PM
(#23161004)
xv6 also was switched to RISC-V (not exactly sure when, but sometime in 2019), and it has a nice book for the actual course.
Course: https://pdos.csail.mit.edu/6.828/2019/xv6.html Book: https://pdos.csail.mit.edu/6.828/2019/xv6/book-riscv-rev0.pd...
Take a look at chapter 7 for the xv6 filesystem referenced here.
Nowadays I might point at MIT's xv6, which implements a very similar simple unix filesystem: https://github.com/mit-pdos/xv6-public/blob/master/fs.c