summaryrefslogtreecommitdiff
path: root/include/uapi/linux/magic.h
diff options
context:
space:
mode:
authorStephen Hemminger <stephen@networkplumber.org>2015-11-04 10:59:52 -0800
committerMiklos Szeredi <miklos@szeredi.hu>2015-11-10 17:13:35 +0100
commit257f871993474e2bde6c497b54022c362cf398e1 (patch)
tree126e6984885e783407a54fa2b4c809a3aa581bfe /include/uapi/linux/magic.h
parente4ad29fa0d224d05e08b2858e65f112fd8edd4fe (diff)
ovl: move super block magic number to magic.h
The overlayfs file system is not recognized by programs like tail because the magic number is not in standard header location. Move it so that the value will propagate on for the GNU library and utilities. Needs to go in the fstatfs manual page as well. Signed-off-by: Stephen Hemminger <stephen@networkplumber.org> Signed-off-by: Miklos Szeredi <miklos@szeredi.hu>
Diffstat (limited to 'include/uapi/linux/magic.h')
-rw-r--r--include/uapi/linux/magic.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/uapi/linux/magic.h b/include/uapi/linux/magic.h
index 7b1425a6b370..eec438952aa7 100644
--- a/include/uapi/linux/magic.h
+++ b/include/uapi/linux/magic.h
@@ -31,6 +31,7 @@
#define PSTOREFS_MAGIC 0x6165676C
#define EFIVARFS_MAGIC 0xde5e81e4
#define HOSTFS_SUPER_MAGIC 0x00c0ffee
+#define OVERLAYFS_SUPER_MAGIC 0x794c7630
#define MINIX_SUPER_MAGIC 0x137F /* minix v1 fs, 14 char names */
#define MINIX_SUPER_MAGIC2 0x138F /* minix v1 fs, 30 char names */