diff options
| author | Amlal El Mahrouss <amlal@nekernel.org> | 2025-04-19 18:38:21 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-04-19 18:38:21 +0200 |
| commit | 618104e74c195d7508a18450524f8ed7f9af8cc6 (patch) | |
| tree | b61c062f1d429b8912e72e42cbf4faa47d1f6322 /dev/kernel/FSKit/NeFS.h | |
| parent | f87797692777540eede1d4739199b444bd15340a (diff) | |
| parent | 6402e4cdbe4a7f5189501204b151d7accde474a3 (diff) | |
0.0.1e0.0.1e-fix
0.0.1e
Diffstat (limited to 'dev/kernel/FSKit/NeFS.h')
| -rw-r--r-- | dev/kernel/FSKit/NeFS.h | 12 |
1 files changed, 7 insertions, 5 deletions
diff --git a/dev/kernel/FSKit/NeFS.h b/dev/kernel/FSKit/NeFS.h index 747af16b..4f4151d7 100644 --- a/dev/kernel/FSKit/NeFS.h +++ b/dev/kernel/FSKit/NeFS.h @@ -321,7 +321,9 @@ namespace Kernel /// @brief Make a EPM+NeFS drive out of the disk. /// @param drive The drive to write on. /// @return If it was sucessful, see err_local_get(). - _Output Bool Format(_Input _Output DriveTrait* drive, _Input const Lba endLba, _Input const Int32 flags, const Char* part_name); + _Output Bool FormatEPM(_Input _Output DriveTrait* drive, _Input const Lba end_lba, _Input const Int32 flags, const Char* part_name); + + _Output Bool FormatGPT(_Input _Output DriveTrait* drive, _Input const Lba end_lba, _Input const Int32 flags, const Char* part_name); public: UInt32 mDriveIndex{kNeFSSubDriveA}; @@ -329,7 +331,7 @@ namespace Kernel /// /// \name NeFileSystemHelper - /// \brief Filesystem helper and utils. + /// \brief Filesystem helper class. /// class NeFileSystemHelper final @@ -352,11 +354,11 @@ namespace Kernel { if (!stamp) { - kout << "Invalid: Journal Stamp, using default name.\r"; + kout << "Invalid: Journal stamp, using default name.\r"; return; } - (void)(kout << "Info: Journal stamp: " << stamp << kendl); + (Void)(kout << "Info: Journal stamp: " << stamp << kendl); rt_copy_memory((VoidPtr)stamp, this->mStamp, rt_string_len(stamp)); } @@ -428,7 +430,7 @@ namespace Kernel if (!parser->CreateFork(new_fork)) return NO; - (void)(kout << "XML Commited: " << xml_data << "\r\nTo Journal Fork: " << journal_name << kendl); + (void)(kout << "XML commit: " << xml_data << " to fork: " << journal_name << kendl); auto ret = parser->WriteCatalog(new_fork.CatalogName, YES, xml_data, rt_string_len(xml_data), new_fork.ForkName); |
