summaryrefslogtreecommitdiffhomepage
path: root/public
diff options
context:
space:
mode:
authorAmlal El Mahrouss <amlal@nekernel.org>2025-09-07 23:29:48 +0200
committerAmlal El Mahrouss <amlal@nekernel.org>2025-09-07 23:29:48 +0200
commitd3f87b1b84d355ad72366ced5d7e5a43207226c0 (patch)
treeae1f85714d2fc4deb77edfbb391344118180a715 /public
parent12d192e44e4269b8398021adbf524e0e7c8cf308 (diff)
feat: kernel: startup sequence fix, and new mgmt.hefs manual.
wip: LaunchKit for the `ne_launch` program. Signed-off-by: Amlal El Mahrouss <amlal@nekernel.org>
Diffstat (limited to 'public')
-rw-r--r--public/manuals/nekernel/mgmt.hefs.util.man34
-rw-r--r--public/tools/mgmt.launch/.keep0
-rw-r--r--public/tools/mgmt.launch/dist/.keep0
-rw-r--r--public/tools/mgmt.launch/mgmt.launch.json19
-rw-r--r--public/tools/mgmt.launch/src/.keep0
-rw-r--r--public/tools/mgmt.launch/src/CommandLine.cc5
-rw-r--r--public/tools/mgmt.launch/vendor/.keep0
7 files changed, 58 insertions, 0 deletions
diff --git a/public/manuals/nekernel/mgmt.hefs.util.man b/public/manuals/nekernel/mgmt.hefs.util.man
new file mode 100644
index 00000000..3274f93a
--- /dev/null
+++ b/public/manuals/nekernel/mgmt.hefs.util.man
@@ -0,0 +1,34 @@
+NAME
+ mgmt.hefs — HeFS Management utility command
+
+SYNOPSIS
+ mgmt.hefs [OPTIONS]
+
+DESCRIPTION
+ The `mgmt.hefs` command provides scheduling, execution, and remote orchestration
+ of a HeFS volume inside a System One environement. One might use this tool to
+ create, edit, and remove volumes from a disk.
+
+ Usages include, but are not limited to:
+ - Schedule scripts or tasks for future execution.
+ - Verify device or filesystem integrity.
+ - Manage and automate remote NeKernel machines.
+
+OPTIONS
+ -v, --volume <DEVICE> Device input
+ -c, --create Create HeFS volume
+ -x, --xml <PLIST> Pass PropertyList to volume creation tool.
+ -t, --time <HH:MMAM/PM> Time to run the script
+ -d, --day <DAY> Day of the week (e.g., Mon, Tue, Wed)
+ -m, --month <MONTH> Month (e.g., Jan, Feb, Mar)
+ -y, --year <YYYY> Year to schedule task
+ -r, --remote <ADDRESS> Remote machine to manage (optional)
+ -v, --verify Run integrity checks only
+ -h, --help Display this help message
+
+EXAMPLES
+ mgmt.hefs -v /devices/disks0p0 -t 2:30PM -d Wed -m Apr -y 2026 --xml /xml/hefs.pxml
+ Schedules `/xml/hefs.pxml` to run at 2:30PM on Wednesday, April 2026.
+
+RELEASE
+ v1.0.0 — NeKernel.org
diff --git a/public/tools/mgmt.launch/.keep b/public/tools/mgmt.launch/.keep
new file mode 100644
index 00000000..e69de29b
--- /dev/null
+++ b/public/tools/mgmt.launch/.keep
diff --git a/public/tools/mgmt.launch/dist/.keep b/public/tools/mgmt.launch/dist/.keep
new file mode 100644
index 00000000..e69de29b
--- /dev/null
+++ b/public/tools/mgmt.launch/dist/.keep
diff --git a/public/tools/mgmt.launch/mgmt.launch.json b/public/tools/mgmt.launch/mgmt.launch.json
new file mode 100644
index 00000000..a181d745
--- /dev/null
+++ b/public/tools/mgmt.launch/mgmt.launch.json
@@ -0,0 +1,19 @@
+{
+ "compiler_path": "clang++",
+ "compiler_std": "c++20",
+ "headers_path": [
+ "./",
+ "../../../dev/kernel",
+ "../../../public/frameworks/",
+ "../../../dev/",
+ "./"
+ ],
+ "sources_path": [],
+ "output_name": "./dist/mgmt.launch",
+ "cpp_macros": [
+ "kSampleFWVersion=0x0100",
+ "kSampleFWVersionHighest=0x0100",
+ "kSampleFWVersionLowest=0x0100",
+ "__NE_SDK__"
+ ]
+} \ No newline at end of file
diff --git a/public/tools/mgmt.launch/src/.keep b/public/tools/mgmt.launch/src/.keep
new file mode 100644
index 00000000..e69de29b
--- /dev/null
+++ b/public/tools/mgmt.launch/src/.keep
diff --git a/public/tools/mgmt.launch/src/CommandLine.cc b/public/tools/mgmt.launch/src/CommandLine.cc
new file mode 100644
index 00000000..6015988e
--- /dev/null
+++ b/public/tools/mgmt.launch/src/CommandLine.cc
@@ -0,0 +1,5 @@
+#include <libSystem/SystemKit/System.h>
+
+SInt32 _NeMain(SInt32 argc, Char* argv[]) {
+ return EXIT_FAILURE;
+} \ No newline at end of file
diff --git a/public/tools/mgmt.launch/vendor/.keep b/public/tools/mgmt.launch/vendor/.keep
new file mode 100644
index 00000000..e69de29b
--- /dev/null
+++ b/public/tools/mgmt.launch/vendor/.keep