fix(host-deployer): set xfs default ftype 1 (#22233)

This commit is contained in:
wanyaoqi
2025-03-06 11:16:19 +08:00
committed by GitHub
parent 1f215d316c
commit 9408f234fa
+1 -1
View File
@@ -417,7 +417,7 @@ func FormatPartition(path, fs, uuid string) error {
// #case fs == "ntfs":
// # cmd = []string{"/sbin/mkfs.ntfs"}
case fs == "xfs":
cmd = []string{"mkfs.xfs", "-f", "-m", "crc=0", "-i", "projid32bit=0", "-n", "ftype=0"}
cmd = []string{"mkfs.xfs", "-f", "-m", "crc=0", "-i", "projid32bit=0", "-n", "ftype=1"}
cmdUuid = []string{"xfs_admin", "-U", uuid}
}