2014-02-26 13:44:13 +04:00
|
|
|
#ifndef __CR_FS_MAGIC_H__
|
|
|
|
#define __CR_FS_MAGIC_H__
|
|
|
|
|
|
|
|
#include <sys/vfs.h>
|
|
|
|
|
|
|
|
/*
|
|
|
|
* Gather magic numbers in case if distros
|
|
|
|
* do not provide appropriate entry in
|
|
|
|
* linux/magic.h.
|
|
|
|
*/
|
|
|
|
|
|
|
|
#ifndef NFS_SUPER_MAGIC
|
|
|
|
# define NFS_SUPER_MAGIC 0x6969
|
|
|
|
#endif
|
|
|
|
|
|
|
|
#ifndef PIPEFS_MAGIC
|
|
|
|
# define PIPEFS_MAGIC 0x50495045
|
|
|
|
#endif
|
|
|
|
|
|
|
|
#ifndef ANON_INODE_FS_MAGIC
|
|
|
|
# define ANON_INODE_FS_MAGIC 0x09041934
|
|
|
|
#endif
|
|
|
|
|
|
|
|
#ifndef TMPFS_MAGIC
|
|
|
|
# define TMPFS_MAGIC 0x01021994
|
|
|
|
#endif
|
|
|
|
|
|
|
|
#ifndef SOCKFS_MAGIC
|
|
|
|
# define SOCKFS_MAGIC 0x534f434b
|
|
|
|
#endif
|
|
|
|
|
2014-04-02 11:12:00 +04:00
|
|
|
#ifndef DEVPTS_SUPER_MAGIC
|
|
|
|
#define DEVPTS_SUPER_MAGIC 0x1cd1
|
|
|
|
#endif
|
|
|
|
|
2014-04-17 15:04:00 +04:00
|
|
|
#ifndef BTRFS_SUPER_MAGIC
|
|
|
|
#define BTRFS_SUPER_MAGIC 0x9123683E
|
|
|
|
#endif
|
|
|
|
|
2014-08-19 22:31:07 -07:00
|
|
|
#ifndef AUFS_SUPER_MAGIC
|
|
|
|
#define AUFS_SUPER_MAGIC 0x61756673
|
|
|
|
#endif
|
|
|
|
|
2014-09-17 15:32:17 -05:00
|
|
|
#ifndef PROC_SUPER_MAGIC
|
|
|
|
#define PROC_SUPER_MAGIC 0x9fa0
|
|
|
|
#endif
|
|
|
|
|
2014-02-26 13:44:13 +04:00
|
|
|
#endif /* __CR_FS_MAGIC_H__ */
|