diff options
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); |
