summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--libfdisk/src/dos.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/libfdisk/src/dos.c b/libfdisk/src/dos.c
index bd964db15..fc5bcc651 100644
--- a/libfdisk/src/dos.c
+++ b/libfdisk/src/dos.c
@@ -815,7 +815,9 @@ static int dos_probe_label(struct fdisk_context *cxt)
return 0;
/* ignore disks with FAT */
- if (cxt->collision && strcmp(cxt->collision, "vfat") == 0)
+ if (cxt->collision &&
+ (strcmp(cxt->collision, "vfat") == 0 ||
+ strcmp(cxt->collision, "ntfs") == 0))
return 0;
dos_init(cxt);