From 4e4cf5e6681eff12b8fbd258e3839d82989d6d07 Mon Sep 17 00:00:00 2001 From: donpat1to Date: Sat, 2 Aug 2025 13:18:47 +0200 Subject: [PATCH] check out disk data --- WatcherAgent/src/main.rs | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/WatcherAgent/src/main.rs b/WatcherAgent/src/main.rs index 7ccf920..25bb32b 100644 --- a/WatcherAgent/src/main.rs +++ b/WatcherAgent/src/main.rs @@ -580,6 +580,13 @@ fn get_disk_info() -> (f64, f64, f64) { let disks = Disks::new_with_refreshed_list(); for disk in disks.list() { // Ignoriere CD-ROMs und kleine Systempartitionen + println!( + "Disk_Name: {:?}, Disk_Kind: {}, Total: {}, Available: {}", + disk.name(), + disk.kind(), + disk.total_space(), + disk.available_space() + ); if disk.total_space() > 100 * 1024 * 1024 { // > 100MB total_size += disk.total_space();