Check for other issues
Issue description
df -h returns different number formats depending on user locale, which in certain european countries can be using , instead of a . as the separator, making the numbers wrong. Omitting -h shows the byte count as a single number that's easier to parse.
Steps to reproduce
- Set system locale to one using commas for decimal separators (most european)
- Open Spacedrive and check volume size
Platform and versions
Stack trace
Additional context
|
.args(["-h", "-T"]) // -T shows filesystem type |
Code of Conduct
Check for other issues
Issue description
df -hreturns different number formats depending on user locale, which in certain european countries can be using,instead of a.as the separator, making the numbers wrong. Omitting -h shows the byte count as a single number that's easier to parse.Steps to reproduce
Platform and versions
OS: Linux NixOS
Spacedrive: 6dfeccf
bun 1.3.13
cargo 1.97.0 (c980f4866 2026-06-30)
rustc 1.97.1 (8bab26f4f 2026-07-14)
Stack trace
Additional context
spacedrive/core/src/volume/platform/linux.rs
Line 36 in 6dfeccf
Code of Conduct