Books
Practical File System Design with the Be File System by Dominic Giampaolo. See also File System Construction Kit.
Online courses
Write-your-own OS
The Adventures of OS: Making a RISC-V Operating System using Rust
Baking Pi. OS development from scratch for RPi B+ and A+ (not updated for later versions).