summaryrefslogtreecommitdiffhomepage
path: root/Kernel/FSKit
diff options
context:
space:
mode:
authorAmlal <amlalelmahrouss@icloud.com>2024-05-23 07:53:50 +0000
committerAmlal <amlalelmahrouss@icloud.com>2024-05-23 07:53:50 +0000
commitf5081a8f9a8537ad5be5d639955cd1d0e68a9e1d (patch)
treec9305701aa2d4ee0235c85c67cd6633e5763ec21 /Kernel/FSKit
parentca675beb41dba8d7d16c5793b55d1672f38be3b4 (diff)
parent06b1a4bb12b4043b606d8bb0d55942d636c6833e (diff)
Merged in MHR-23 (pull request #13)
MHR-23
Diffstat (limited to 'Kernel/FSKit')
-rw-r--r--Kernel/FSKit/Defines.hxx2
-rw-r--r--Kernel/FSKit/IndexableProperty.hxx4
-rw-r--r--Kernel/FSKit/NewFS.hxx23
3 files changed, 14 insertions, 15 deletions
diff --git a/Kernel/FSKit/Defines.hxx b/Kernel/FSKit/Defines.hxx
index bdaa8d77..046cda8e 100644
--- a/Kernel/FSKit/Defines.hxx
+++ b/Kernel/FSKit/Defines.hxx
@@ -1,6 +1,6 @@
/* -------------------------------------------
- Copyright SoftwareLabs
+ Copyright SoftwareLabs
------------------------------------------- */
diff --git a/Kernel/FSKit/IndexableProperty.hxx b/Kernel/FSKit/IndexableProperty.hxx
index eae15317..1c8aafeb 100644
--- a/Kernel/FSKit/IndexableProperty.hxx
+++ b/Kernel/FSKit/IndexableProperty.hxx
@@ -1,6 +1,6 @@
/* -------------------------------------------
- Copyright SoftwareLabs
+ Copyright SoftwareLabs
------------------------------------------- */
@@ -10,7 +10,7 @@
#include <CompilerKit/CompilerKit.hxx>
#include <KernelKit/DriveManager.hxx>
-#define kIndexerNodeNameLength 256
+#define kIndexerNodeNameLength 255
#define kIndexerClaimed 0xCF
namespace NewOS
diff --git a/Kernel/FSKit/NewFS.hxx b/Kernel/FSKit/NewFS.hxx
index dca7aa2c..e2ae81a6 100644
--- a/Kernel/FSKit/NewFS.hxx
+++ b/Kernel/FSKit/NewFS.hxx
@@ -1,15 +1,15 @@
/* -------------------------------------------
- Copyright SoftwareLabs
+ Copyright SoftwareLabs
- File: NewFS.hxx
- Purpose:
+ File: NewFS.hxx
+ Purpose:
- Revision History:
+ Revision History:
- ?/?/?: Added file (amlel)
- 12/02/24: Add UUID macro for EPM and GPT partition schemes.
- 3/16/24: Add mandatory sector size, kNewFSSectorSz is set to 2048 by
+ ?/?/?: Added file (amlel)
+ 12/02/24: Add UUID macro for EPM and GPT partition schemes.
+ 3/16/24: Add mandatory sector size, kNewFSSectorSz is set to 2048 by
default.
------------------------------------------- */
@@ -22,8 +22,8 @@ default.
#include <NewKit/Defines.hpp>
/**
- @brief New File System specification.
- @author Amlal EL Mahrouss
+ @brief New File System specification.
+ @author Amlal EL Mahrouss
*/
#define kNewFSInvalidFork (-1)
@@ -209,7 +209,6 @@ namespace NewOS
/// \brief NewFS parser class. (catalog creation, remove removal, root,
/// forks...) Designed like the DOM, detects the filesystem automatically.
///
-
class NewFSParser final
{
public:
@@ -225,7 +224,7 @@ namespace NewOS
/// @param theFork the fork itself.
/// @return the fork
_Output NewFork* CreateFork(_Input NewCatalog* catalog,
- _Input NewFork& theFork);
+ _Input NewFork& theFork);
/// @brief Find fork inside New filesystem.
/// @param catalog the catalog.
@@ -243,7 +242,7 @@ namespace NewOS
_Output NewCatalog* GetCatalog(_Input const char* name);
- _Output NewCatalog* CreateCatalog(_Input const char* name,
+ _Output NewCatalog* CreateCatalog(_Input const char* name,
_Input const Int32& flags,
_Input const Int32& kind);