Mattia
|
cad0908ccd
|
Merge pull request #1 from n00neheregit/patch-1
FIX TYPO
|
2021-12-04 17:37:54 +01:00 |
n00nehere
|
e0bad78bd8
|
FIX TYPO
FIX TYPO.
|
2021-12-04 17:34:05 +01:00 |
nocturn9x
|
41a54288e3
|
Fixed most bugs with spawning services (last: block signals)
|
2021-12-04 17:31:18 +01:00 |
nocturn9x
|
8517cdb736
|
Added config.nims for musl
|
2021-12-04 14:06:43 +01:00 |
nocturn9x
|
2293d192f1
|
Updated gitignore
|
2021-12-04 13:53:23 +01:00 |
Nocturn9x
|
5777e1a715
|
Major code cleanup. Added initial (VERY broken) support for services
|
2021-12-04 13:47:06 +01:00 |
Nocturn9x
|
bd7d4e1974
|
Added sync() system call for testing purposes. Added SIGSTP signal handler. Removed CtrlCException. Added dummy SIGCHLD handler for future process reaping. NimD now creates some symlinks at startup so Linux ports of BSD software don't crash. Moved exists procedure to misc module. UnmountAllDisks now unmounts the source instead of the target. Other minor fixes and typos
|
2021-12-02 23:16:16 +01:00 |
Nocturn9x
|
6ef157baa0
|
Minor fixes + removed redundant SIGINT hook
|
2021-12-02 21:28:58 +01:00 |
Nocturn9x
|
b01da7eada
|
Slightly changed CRITICAL's error message format
|
2021-12-02 19:03:10 +01:00 |
Nocturn9x
|
5c2515c3a7
|
Uncommented call to umount2()
|
2021-12-02 18:55:33 +01:00 |
Nocturn9x
|
d055d876a1
|
NimD now sets the machine's hostname, nimd has now colored logs. Added emergency mode (spawns root shell on fatal crash), stopped unmounting virtual filesystems
|
2021-12-02 18:54:48 +01:00 |
Nocturn9x
|
1c6254b50f
|
Improved README
|
2021-12-02 14:02:05 +01:00 |
Nocturn9x
|
1cebcc0d90
|
Fixed typo
|
2021-12-02 02:57:46 +01:00 |
Nocturn9x
|
7fe67c0495
|
This code is trash
|
2021-12-02 02:56:10 +01:00 |
Nocturn9x
|
407b43ec5f
|
NimD now correctly resolves symlinks when checking if a real filesystem is mounted. also removed extra check for target as it was unnecessary and error-prone
|
2021-12-02 02:53:51 +01:00 |
Nocturn9x
|
b94a4c0b1c
|
Fixed disk (un)mounting once and for all: checks for already (un)mounted disks and automatically converts labels, uuids, ids and partuuids to their corresponding /dev/disk symlink
|
2021-12-02 01:07:04 +01:00 |
Nocturn9x
|
6884791b2e
|
Improved more error messages
|
2021-12-01 12:41:22 +01:00 |
Nocturn9x
|
afce3a6c6d
|
Changed proc's filesystemtype back to proc (previously procfs)
|
2021-12-01 12:39:42 +01:00 |
Nocturn9x
|
cca1bb5da9
|
Improved log messages
|
2021-12-01 12:37:58 +01:00 |
Nocturn9x
|
ddca38c84b
|
Switched the gc to ORC for better performance and added the useMalloc flag for better debugging and memory corruption detection
|
2021-12-01 12:18:13 +01:00 |
Nocturn9x
|
e7bd635574
|
Fixed garbage collection issue in unmountAllDisks and added nim-to-C wrapper for mount using nim types to avoid dangling pointers in the future
|
2021-12-01 12:13:03 +01:00 |
Nocturn9x
|
f6223d43b2
|
Removed debugging echo statements
|
2021-12-01 12:02:56 +01:00 |
Nocturn9x
|
26f98cec52
|
Added shutdown hooks support and unmounting of all handlers upon exit
|
2021-12-01 12:00:07 +01:00 |
Nocturn9x
|
7652a2c1cf
|
Modularized the system further, added mounting of virtual filesystems
|
2021-11-30 23:56:38 +01:00 |
Nocturn9x
|
c6f6fcb54e
|
Initial ground work on the init
|
2021-11-30 20:54:27 +01:00 |
Nocturn9x
|
d242a72a89
|
Fixed log level handling in Logger.log()
|
2021-11-30 16:15:29 +01:00 |
Nocturn9x
|
8a05dbd95a
|
Updated gitignore to excluse src/main.nim's binary
|
2021-11-30 16:15:08 +01:00 |
Nocturn9x
|
60f48afe00
|
Added missing newline to default log handlers
|
2021-11-30 16:13:12 +01:00 |
Nocturn9x
|
3164cd1466
|
Initial structure
|
2021-11-30 16:10:41 +01:00 |
Mattia
|
3a3c61a08d
|
Initial commit
|
2021-11-29 15:31:32 +01:00 |