diff options
| author | Amlal El Mahrouss <amlal.elmahrouss@icloud.com> | 2025-03-07 20:11:47 +0100 |
|---|---|---|
| committer | Amlal El Mahrouss <amlal.elmahrouss@icloud.com> | 2025-03-07 20:11:47 +0100 |
| commit | 1634815f39f3c3f8a2b461d1e673aedbb3f18526 (patch) | |
| tree | 436b35048856e3e185d1952516f3a97b1bac5e82 /dev/Kernel/src | |
| parent | cf02a150f5bc84f722d01193d5aae91e60f69b7f (diff) | |
NeFS.h: Tailor header to private specifications.
make_fs/CommandLine.cc: Include NEFS_ROOT_PARTITION_BLOCK too.
Diffstat (limited to 'dev/Kernel/src')
| -rw-r--r-- | dev/Kernel/src/FS/NeFS.cc | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/dev/Kernel/src/FS/NeFS.cc b/dev/Kernel/src/FS/NeFS.cc index f5fdf63f..adee0322 100644 --- a/dev/Kernel/src/FS/NeFS.cc +++ b/dev/Kernel/src/FS/NeFS.cc @@ -587,6 +587,7 @@ bool NeFileSystemParser::Format(_Input _Output DriveTrait* drive, _Input const L part_block->StartCatalog = kNeFSCatalogStartAddress; part_block->Flags = kNeFSPartitionTypeStandard; part_block->CatalogCount = sectorCount / sizeof(NEFS_CATALOG_STRUCT); + part_block->FreeSectors = sectorCount / sizeof(NEFS_CATALOG_STRUCT); part_block->SectorCount = sectorCount; part_block->DiskSize = diskSize; part_block->FreeCatalog = sectorCount / sizeof(NEFS_CATALOG_STRUCT); |
