Skip to content

Commit

Permalink
Merge pull request rauc#1404 from ejoerns/ntfs3
Browse files Browse the repository at this point in the history
src/bundle: add ntfs3 kernel driver magic to known fs list
  • Loading branch information
jluebbe authored May 6, 2024
2 parents 978852f + e15745c commit 1ae0377
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/bundle.c
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,9 @@
#ifndef NTFS_SB_MAGIC
#define NTFS_SB_MAGIC 0x5346544e
#endif
#ifndef NTFS3_SUPER_MAGIC
#define NTFS3_SUPER_MAGIC 0x7366746e
#endif
#ifndef OVERLAYFS_SUPER_MAGIC
#define OVERLAYFS_SUPER_MAGIC 0x794c7630
#endif
Expand Down Expand Up @@ -1484,6 +1487,7 @@ static gboolean check_bundle_access(int bundle_fd, GError **error)
case JFFS2_SUPER_MAGIC:
case MSDOS_SUPER_MAGIC:
case NTFS_SB_MAGIC:
case NTFS3_SUPER_MAGIC:
case ROMFS_MAGIC:
case SQUASHFS_MAGIC:
case UDF_SUPER_MAGIC:
Expand Down

0 comments on commit 1ae0377

Please sign in to comment.