From efd1d9a607ba6e66464a5894544318c44f74172d Mon Sep 17 00:00:00 2001 From: Karel Zak Date: Tue, 9 Dec 2025 13:12:41 +0100 Subject: [PATCH] libblkid: Keep NTFS name unmodified and mount driver independent We need stable filesystem names (types) even though there are multiple filesystem drivers. libmount now provides a way to map the stable fs-types to various mount-types. References: 4cd429fdcd3e7db1d031494987d5cf7411689d79 Signed-off-by: Karel Zak --- libblkid/src/superblocks/ntfs.c | 2 +- tests/expected/blkid/low-probe-ntfs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/libblkid/src/superblocks/ntfs.c b/libblkid/src/superblocks/ntfs.c index 42c8565df..8ce557a11 100644 --- a/libblkid/src/superblocks/ntfs.c +++ b/libblkid/src/superblocks/ntfs.c @@ -248,7 +248,7 @@ int blkid_probe_is_ntfs(blkid_probe pr) const struct blkid_idinfo ntfs_idinfo = { - .name = "ntfs3", + .name = "ntfs", .usage = BLKID_USAGE_FILESYSTEM, .probefunc = probe_ntfs, .magics = diff --git a/tests/expected/blkid/low-probe-ntfs b/tests/expected/blkid/low-probe-ntfs index 3c364bca0..d18e929a8 100644 --- a/tests/expected/blkid/low-probe-ntfs +++ b/tests/expected/blkid/low-probe-ntfs @@ -3,7 +3,7 @@ ID_FS_FSBLOCKSIZE=4096 ID_FS_FSSIZE=10485248 ID_FS_LABEL=Новый_том ID_FS_LABEL_ENC=Новый\x20том -ID_FS_TYPE=ntfs3 +ID_FS_TYPE=ntfs ID_FS_USAGE=filesystem ID_FS_UUID=09CBB6DE30C87310 ID_FS_UUID_ENC=09CBB6DE30C87310 -- 2.47.3