diff --git a/extlinux/main.c b/extlinux/main.c index ebff7eae0..87f643c0f 100644 --- a/extlinux/main.c +++ b/extlinux/main.c @@ -1428,7 +1428,8 @@ static int open_device(const char *path, struct stat *st, char **_devname) else if (sfs.f_type == MSDOS_SUPER_MAGIC) fs_type = VFAT; else if (sfs.f_type == NTFS_SB_MAGIC || - sfs.f_type == FUSE_SUPER_MAGIC /* ntfs-3g */) + sfs.f_type == FUSE_SUPER_MAGIC /* ntfs-3g */ || + sfs.f_type == NTFS3_SB_MAGIC) fs_type = NTFS; else if (sfs.f_type == XFS_SUPER_MAGIC) fs_type = XFS; diff --git a/extlinux/ntfs.h b/extlinux/ntfs.h index d907d452e..ebdbff47f 100644 --- a/extlinux/ntfs.h +++ b/extlinux/ntfs.h @@ -15,5 +15,6 @@ #define NTFS_SB_MAGIC 0x5346544E #define FUSE_SUPER_MAGIC 0x65735546 +#define NTFS3_SB_MAGIC 0x7366746E #endif /* _NTFS_H_ */