Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion extlinux/main.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down
1 change: 1 addition & 0 deletions extlinux/ntfs.h
Original file line number Diff line number Diff line change
Expand Up @@ -15,5 +15,6 @@

#define NTFS_SB_MAGIC 0x5346544E
#define FUSE_SUPER_MAGIC 0x65735546
#define NTFS3_SB_MAGIC 0x7366746E

#endif /* _NTFS_H_ */