feat: ext2 filesystem, installer updates, add update feature, and more
This commit is contained in:
@@ -10,6 +10,7 @@
|
||||
#include <Drivers/Storage/Gpt.hpp>
|
||||
#include <Fs/FsProbe.hpp>
|
||||
#include <Fs/Fat32.hpp>
|
||||
#include <Fs/Ext2.hpp>
|
||||
|
||||
#include "Syscall.hpp"
|
||||
|
||||
@@ -115,6 +116,10 @@ namespace Montauk {
|
||||
return (int64_t)Fs::Fat32::Format(
|
||||
part->BlockDevIndex, part->StartLba, part->SectorCount,
|
||||
params->label[0] ? params->label : nullptr);
|
||||
case FS_TYPE_EXT2:
|
||||
return (int64_t)Fs::Ext2::Format(
|
||||
part->BlockDevIndex, part->StartLba, part->SectorCount,
|
||||
params->label[0] ? params->label : nullptr);
|
||||
default:
|
||||
return -1; // unknown filesystem type
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user