summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorAmlal El Mahrouss <amlal@nekernel.org>2026-03-08 13:47:18 +0100
committerGitHub <noreply@github.com>2026-03-08 13:47:18 +0100
commitce9ff0e83e4b1a02296a3e37637d1f74aadc79f5 (patch)
treec0d6fb7b3ed2366575b7c9af329b10a23f442396
parenta50dc887710a8f9b075cb9524c300b522f2919e4 (diff)
parent81bbeda6e6c99d7dac8d05200280f54bebf9a5c1 (diff)
Merge pull request #132 from ne-foss-org/mkfs-tweaks
[CHORE] mkfs: Command line fixes and tweaks.
-rw-r--r--tools/libmkfs/openhefs.hpp2
-rw-r--r--tools/mkfs.hefs.cpp1
2 files changed, 2 insertions, 1 deletions
diff --git a/tools/libmkfs/openhefs.hpp b/tools/libmkfs/openhefs.hpp
index 998bf4fe..255b47d6 100644
--- a/tools/libmkfs/openhefs.hpp
+++ b/tools/libmkfs/openhefs.hpp
@@ -6,7 +6,7 @@
#define LIBMKFS_OPENHEFS_H
#ifndef __GNUC__
-#error !! libmkfs isn't working in MSVC yet !!
+#error !! libmkfs isn't working on MSVC yet !!
#endif
#include <cstdint>
diff --git a/tools/mkfs.hefs.cpp b/tools/mkfs.hefs.cpp
index 28475f5f..8ffb1032 100644
--- a/tools/mkfs.hefs.cpp
+++ b/tools/mkfs.hefs.cpp
@@ -13,6 +13,7 @@
static std::uint16_t kVersion = kOpenHeFSVersion;
static std::uint16_t kNumericalBase = 10;
+/// AMLALE: Should we enforce 4GB by default? I believe it should be 1GB. Depending on use cases.
static std::size_t kDiskSize = mkfs::detail::gib_cast(4UL);
static std::u8string kDiskLabel;
static std::size_t kDiskSectorSz = 512;