fix: 更新排除的挂载点列表,添加 /nix/store

This commit is contained in:
Akizon77
2025-12-02 17:17:45 +08:00
parent 75442886c0
commit aab157a7bb

View File

@@ -77,6 +77,7 @@ func isPhysicalDisk(part disk.PartitionStat) bool {
"/etc/resolv.conf",
"/etc/host", // /etc/hosts,/etc/hostname
"/dev/hugepages",
"/nix/store",
}
for _, mp := range mountpointsToExclude {
if mountpoint == mp || strings.HasPrefix(mountpoint, mp) {