| commit | c1b6df499c0e03d8d65b6570c2dcddb908752f7a | [log] [tgz] |
|---|---|---|
| author | Jan Schär <jan@monogon.tech> | Thu Mar 20 08:52:18 2025 +0000 |
| committer | Jan Schär <jan@monogon.tech> | Mon Apr 07 10:21:53 2025 +0000 |
| tree | 17d045c8f96dd2d77aef785653ac1f937142c714 | |
| parent | e4c48544e908e78efdb00c8c507c251be26c4ab9 [diff] |
osbase/fat32: adopt structfs Change the external interface of the FAT32 writer to take a structfs.Tree instead of a FAT32-specific data structure. Producers of file system data are no longer specific to FAT32. With these changes, the blkio package becomes obsolete. The LazyFileReader did not actually work as intended when used with osbase/fat32, because fat32 copies data with io.CopyN and thus stops reading before reaching EOF, so the LazyFileReader is never closed. The new Blob interface requires the consumer to explicitly Open and Close. Change-Id: I9a71a5f0bddf36ac38c656659e6dcfe520b88fb0 Reviewed-on: https://review.monogon.dev/c/monogon/+/4037 Reviewed-by: Lorenz Brun <lorenz@monogon.tech> Tested-by: Jenkins CI
This is the main repository containing the source code for the Monogon Platform.
This is pre-release software - take a look, and check back later! In the meantime, join us on Matrix (#monogon-os-community:matrix.org) or Discord.
Our build environment is self-contained and requires only minimal host dependencies:
/dev/kvm (if you want to run tests).Our docs assume that Bazelisk is available as bazel on your PATH.
Refer to SETUP.md for detailed instructions.
The source code lives in //metropolis (Metropolis is the codename of Monogon OS).
See the //metropolis/README.md for a developer quick start guide, or see the Monogon OS Handbook for user documentation.