mirror of
https://github.com/fankes/komari-agent.git
synced 2026-02-04 12:17:30 +08:00
fix: 更新排除的挂载点列表,添加 /nix/store
This commit is contained in:
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user