From d8c732469b291bb4c6fb741518ffd0a898f26c0e Mon Sep 17 00:00:00 2001 From: ed Date: Wed, 24 Dec 2025 11:06:49 +0000 Subject: [PATCH] show vmaxb instead of fs total-size (#1120) --- copyparty/httpcli.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/copyparty/httpcli.py b/copyparty/httpcli.py index 8f85cbbd..42d033aa 100644 --- a/copyparty/httpcli.py +++ b/copyparty/httpcli.py @@ -1834,6 +1834,7 @@ class HttpCli(object): bfree, btot, _ = get_df(vn.realpath, False) if btot: if "vmaxb" in vn.flags: + btot = vn.lim.vbmax if bfree == vn.lim.c_vb_r: bfree = min(bfree, max(0, vn.lim.vbmax - vn.lim.c_vb_v)) else: @@ -6744,6 +6745,7 @@ class HttpCli(object): free, total, zs = get_df(abspath, False) if total: if "vmaxb" in vn.flags: + total = vn.lim.vbmax if free == vn.lim.c_vb_r: free = min(free, max(0, vn.lim.vbmax - vn.lim.c_vb_v)) else: