summaryrefslogtreecommitdiffstats
path: root/libblkid/src/superblocks/apfs.c
diff options
context:
space:
mode:
Diffstat (limited to 'libblkid/src/superblocks/apfs.c')
-rw-r--r--libblkid/src/superblocks/apfs.c19
1 files changed, 19 insertions, 0 deletions
diff --git a/libblkid/src/superblocks/apfs.c b/libblkid/src/superblocks/apfs.c
new file mode 100644
index 000000000..6303d9b17
--- /dev/null
+++ b/libblkid/src/superblocks/apfs.c
@@ -0,0 +1,19 @@
+/*
+ * Copyright (C) 2018 Harry Mallon <hjmallon@gmail.com>
+ *
+ * This file may be redistributed under the terms of the
+ * GNU Lesser General Public License.
+ */
+
+#include "superblocks.h"
+
+const struct blkid_idinfo apfs_idinfo =
+{
+ .name = "apfs",
+ .usage = BLKID_USAGE_FILESYSTEM,
+ .magics =
+ {
+ { .magic = "NXSB", .len = 4, .sboff = 32 },
+ { NULL }
+ }
+};