From 120b6c887ed4adf476f7a619ad6d0f7b92e3a429 Mon Sep 17 00:00:00 2001 From: Ember Date: Sun, 1 Mar 2026 17:39:27 -0800 Subject: [PATCH] fix to check diskspace --- installer/src/orbic_network.rs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/installer/src/orbic_network.rs b/installer/src/orbic_network.rs index c33b025..567df3a 100644 --- a/installer/src/orbic_network.rs +++ b/installer/src/orbic_network.rs @@ -203,8 +203,9 @@ async fn wait_for_telnet(admin_ip: &str) -> Result<()> { } async fn check_disk_space(addr: SocketAddr, binary_size: usize) -> Result<()> { + // Use /data/rayhunter to resolve through symlink (may point to /cache/rayhunter-data) let df_output = - telnet_send_command_with_output(addr, "df /data | tail -1 | awk '{print $4}'", false) + telnet_send_command_with_output(addr, "df /data/rayhunter | tail -1 | awk '{print $4}'", false) .await?; let available_kb: usize = df_output .lines()