From ecc44b2e9238d766ff17525d48fd013b38b1a05d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E8=80=97=E5=AD=90?= Date: Sat, 29 Mar 2025 17:03:05 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20fuse=E6=96=87=E4=BB=B6=E7=B3=BB=E7=BB=9F?= =?UTF-8?q?=E6=B2=A1=E6=9C=89inode?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- internal/data/backup.go | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/internal/data/backup.go b/internal/data/backup.go index 3c8432fa..21765c10 100644 --- a/internal/data/backup.go +++ b/internal/data/backup.go @@ -502,9 +502,10 @@ func (r *backupRepo) preCheckPath(to, path string) error { if uint64(size) > usage.Free { return errors.New("备份目录空间不足") } - if uint64(files) > usage.InodesFree { + // 对于 fuse 等文件系统,可能没有 inode 的概念 + /*if uint64(files) > usage.InodesFree { return errors.New("备份目录Inode不足") - } + }*/ return nil }