Skip to content

Commit

Permalink
misc: Converge with 5.x
Browse files Browse the repository at this point in the history
  • Loading branch information
mintsuki committed Sep 23, 2023
1 parent 21e5f65 commit c9604f1
Show file tree
Hide file tree
Showing 6 changed files with 737 additions and 2 deletions.
4 changes: 4 additions & 0 deletions PHILOSOPHY.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,10 @@ way to modify its own EFI executable to bake in the BLAKE2B checksum of the conf
a key added to the firmware's keychain. This prevents modifications to the config file (and in turn the checksums contained there)
from going unnoticed.

### What about ext2/3/4? Why is that supported then?

This is explicitly against the philosophy, but it is a pragmatic compromise since a lot of Linux distros and setups expect it to "work that way".

### But I don't want to have a separate FAT boot partition! I don't want it!!!

Well tough luck. It is `$year_following_2012` now and most PCs are equipped with UEFI and simply won't boot without a FAT EFI system partition
Expand Down
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,7 @@ Donations welcome, but absolutely not mandatory!
* Unpartitioned media

### Supported filesystems
* ext2/3/4
* FAT12/16/32
* ISO9660 (CDs/DVDs)

Expand Down
13 changes: 13 additions & 0 deletions common/fs/ext2.h
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
#ifndef __FS__EXT2_H__
#define __FS__EXT2_H__

#include <stdbool.h>
#include <lib/part.h>
#include <fs/file.h>

bool ext2_get_guid(struct guid *guid, struct volume *part);
char *ext2_get_label(struct volume *part);

struct file_handle *ext2_open(struct volume *part, const char *path);

#endif
Loading

0 comments on commit c9604f1

Please sign in to comment.