Skip to content

Conversation

@arihant2math
Copy link
Collaborator

@arihant2math arihant2math commented Dec 18, 2025

Redone version of #61. Uses a patched version of ext4-view which has been adapted to be async.

Advantages over fat32:

  • soft/hard link support
  • fast directory traversal
  • larger files sizes

To test the changes:

# Move old image
mv moss.img fat_img.img
# Populate ext4_mount/ with the need stuff (just copy over from the fat mount) 
touch moss.img
mkfs.ext4 moss.img 256M
mkfs.ext4 -d ext4_mount moss.img

Then update qemu-runner.sh to change --rootfs=fat32fs to --rootfs=ext4fs`.

After this cargo run -r should work.

Fixes (partially): #4

@arihant2math arihant2math marked this pull request as draft December 18, 2025 19:25
@arihant2math arihant2math marked this pull request as ready for review December 31, 2025 05:56
@arihant2math
Copy link
Collaborator Author

Finally, some progress. ls works!

@arihant2math
Copy link
Collaborator Author

arihant2math commented Dec 31, 2025

Seems like ls doesn't work, but cat seems to be working.
readdir seems to be the only barrier here.

@arihant2math arihant2math force-pushed the ext4-new branch 2 times, most recently from 7fc6400 to 091e809 Compare December 31, 2025 16:32
Copy link
Owner

@hexagonal-sun hexagonal-sun left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants