rust-osdev / rust-osdev/bootloader

File system: we now have a no_std-friendly btrfs crate

Open
#223 0 comments 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Rust
Stars
1.7k
Forks
240
PR merge metrics
No merged PRs in 30d

Description

Browsing crates.io for file system crates turned up something very interesting: a btrfs driver which, upon snooping the code, was very easy to port to make it work in #![no_std] environments. So I forked it to accomplish exactly that.

Not thoroughly tested of course, but this would definitely be a great choice for integration into the bootloader so that it recognizes btrfs as a file system from which to load a kernel binary (something very notably on the checklist at the bottom of the README).

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reviewing the btrfs-no-std crate and the bootloader README checklist. Identify the bootloader's filesystem-loading entry point and determine how the crate could be integrated. Done means the bootloader recognizes btrfs and can load a kernel binary from it, with thorough testing added.

Written by the indexing model from the issue text.

Assessment

Tech stack
rust
Domain
operating-systems
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.