Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,7 @@ Server Manager now supports full user management:

### ⚙️ Hardware Profiles

Server Manager adjusts configuration via `HardwareManager`:
Server Manager adjusts configuration via `HardwareManager`. The system now includes improved disk space detection to ensure accurate reporting of total storage capacity across various filesystem types.

| Profile | Criteria | Optimizations |
| :--- | :--- | :--- |
Expand Down Expand Up @@ -267,7 +267,7 @@ Server Manager supporte désormais une gestion complète des utilisateurs :

### ⚙️ Profils Matériels (Hardware Profiles)

Server Manager ajuste la configuration via `HardwareManager` :
Server Manager ajuste la configuration via `HardwareManager`. Le système inclut désormais une détection améliorée de l'espace disque pour assurer un rapport précis de la capacité de stockage totale sur divers types de systèmes de fichiers.

| Profil | Critères | Optimisations |
| :--- | :--- | :--- |
Expand Down
2 changes: 1 addition & 1 deletion server_manager/src/core/hardware.rs
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ impl HardwareInfo {
let mut sys = System::new();
sys.refresh_memory();
sys.refresh_cpu();
sys.refresh_disks_list();
sys.refresh_disks();

let total_memory = sys.total_memory(); // Bytes
let ram_gb = total_memory / 1024 / 1024 / 1024;
Expand Down