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();