filesystems: add ntfs/ntfs3 magic and add it current version to group
As suggested: https://github.com/systemd/systemd/pull/21373#discussion_r749523677
This commit is contained in:
@@ -85,6 +85,8 @@ nfs, {NFS_SUPER_MAGIC}
|
||||
nfs4, {NFS_SUPER_MAGIC}
|
||||
nilfs2, {NILFS_SUPER_MAGIC}
|
||||
nsfs, {NSFS_MAGIC}
|
||||
ntfs, {NTFS_SB_MAGIC}
|
||||
ntfs3, {NTFS3_SUPER_MAGIC}
|
||||
ocfs2, {OCFS2_SUPER_MAGIC}
|
||||
openpromfs, {OPENPROM_SUPER_MAGIC}
|
||||
orangefs, {ORANGEFS_DEVREQ_MAGIC}
|
||||
|
||||
@@ -99,6 +99,7 @@ const FilesystemSet filesystem_sets[_FILESYSTEM_SET_MAX] = {
|
||||
"exfat\0"
|
||||
"ext4\0"
|
||||
"iso9660\0"
|
||||
"ntfs3\0"
|
||||
"squashfs\0"
|
||||
"udf\0"
|
||||
"vfat\0"
|
||||
|
||||
@@ -177,3 +177,13 @@
|
||||
#ifndef RPC_PIPEFS_SUPER_MAGIC
|
||||
#define RPC_PIPEFS_SUPER_MAGIC 0x67596969
|
||||
#endif
|
||||
|
||||
/* Not exposed yet, defined at fs/ntfs/ntfs.h */
|
||||
#ifndef NTFS_SB_MAGIC
|
||||
#define NTFS_SB_MAGIC 0x5346544e
|
||||
#endif
|
||||
|
||||
/* Not exposed yet, encoded literally in fs/ntfs3/super.c. */
|
||||
#ifndef NTFS3_SUPER_MAGIC
|
||||
#define NTFS3_SUPER_MAGIC 0x7366746e
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user