Skip to content

fix: disk space checks and storage path validation #348#349

Open
Dziksonn wants to merge 3 commits into
savedra1:mainfrom
Dziksonn:fix/diskspace-check
Open

fix: disk space checks and storage path validation #348#349
Dziksonn wants to merge 3 commits into
savedra1:mainfrom
Dziksonn:fix/diskspace-check

Conversation

@Dziksonn
Copy link
Copy Markdown

@Dziksonn Dziksonn commented Apr 3, 2026

I don't have any experience with Go, I tried my best, treat it more as of proof of concept how #348 could be fixed/or what could be causing issues.

While trying to fix it I also spotted that "/" is always used, instead of config values (I created limited size folder in mnt for testing purpose and I ran into it) so I added ability to check config path instead. My approach definitely can be improved, just didn't want to mess too much with your code.

@Dziksonn
Copy link
Copy Markdown
Author

Dziksonn commented Apr 3, 2026

Whoops I commited flake.nix by mistake too, my bad.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant