From 7a70834dd402058cba0a31cace0eecd8271918a1 Mon Sep 17 00:00:00 2001 From: Sebastian Hildebrandt Date: Sun, 4 Jan 2026 12:08:12 +0100 Subject: [PATCH] fsSize() add network drives (linux) wip --- lib/filesystem.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/filesystem.js b/lib/filesystem.js index b0da8c7..0677f2c 100644 --- a/lib/filesystem.js +++ b/lib/filesystem.js @@ -150,7 +150,7 @@ function fsSize(drive, callback) { } if (_linux) { try { - cmd = 'export LC_ALL=C; df -lkPTx squashfs; unset LC_ALL'; + cmd = 'export LC_ALL=C; df -kPTx squashfs; unset LC_ALL'; execSync('cat /proc/mounts 2>/dev/null', util.execOptsLinux) .toString() .split('\n') @@ -169,7 +169,7 @@ function fsSize(drive, callback) { } if (_freebsd || _openbsd || _netbsd) { try { - cmd = 'df -lkPT'; + cmd = 'df -kPT'; execSync('mount') .toString() .split('\n')