2
0
mirror of https://github.com/acepanel/panel.git synced 2026-02-04 11:27:17 +08:00

fix: fuse文件系统没有inode

This commit is contained in:
2025-03-29 17:03:05 +08:00
parent 2b1e21ba4b
commit ecc44b2e92

View File

@@ -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
}