summaryrefslogtreecommitdiff
path: root/nuttx/include
diff options
context:
space:
mode:
authorpatacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3>2011-04-28 21:05:39 +0000
committerpatacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3>2011-04-28 21:05:39 +0000
commit7cb2546571c7ac881f4bd0c2c066c974e2174741 (patch)
tree7473c890c43e30659210be6a45b4a6b47749e7b5 /nuttx/include
parentf5deadfbb2ea797607ce7646c2bca1fdfe74c3c2 (diff)
downloadpx4-nuttx-7cb2546571c7ac881f4bd0c2c066c974e2174741.tar.gz
px4-nuttx-7cb2546571c7ac881f4bd0c2c066c974e2174741.tar.bz2
px4-nuttx-7cb2546571c7ac881f4bd0c2c066c974e2174741.zip
More NXFFS logic
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@3537 42af7a65-404d-4744-a932-0658087f49c3
Diffstat (limited to 'nuttx/include')
-rw-r--r--nuttx/include/sys/statfs.h38
1 files changed, 21 insertions, 17 deletions
diff --git a/nuttx/include/sys/statfs.h b/nuttx/include/sys/statfs.h
index 9c7ee26e5..7f80902d6 100644
--- a/nuttx/include/sys/statfs.h
+++ b/nuttx/include/sys/statfs.h
@@ -1,7 +1,7 @@
/****************************************************************************
* include/sys/statfs.h
*
- * Copyright (C) 2007-2009 Gregory Nutt. All rights reserved.
+ * Copyright (C) 2007-2009, 2011 Gregory Nutt. All rights reserved.
* Author: Gregory Nutt <spudmonkey@racsa.co.cr>
*
* Redistribution and use in source and binary forms, with or without
@@ -52,27 +52,27 @@
/* struct statfs file system types. */
#define ADFS_SUPER_MAGIC 0xadf5
-#define AFFS_SUPER_MAGIC 0xADFF
+#define AFFS_SUPER_MAGIC 0xadff
#define BEFS_SUPER_MAGIC 0x42465331
-#define BFS_MAGIC 0x1BADFACE
-#define CIFS_MAGIC_NUMBER 0xFF534D42
+#define BFS_MAGIC 0x1badface
+#define CIFS_MAGIC_NUMBER 0xff534d42
#define CODA_SUPER_MAGIC 0x73757245
-#define COH_SUPER_MAGIC 0x012FF7B7
+#define COH_SUPER_MAGIC 0x012ff7b7
#define CRAMFS_MAGIC 0x28cd3d45
#define DEVFS_SUPER_MAGIC 0x1373
-#define EFS_SUPER_MAGIC 0x00414A53
-#define EXT_SUPER_MAGIC 0x137D
-#define EXT2_OLD_SUPER_MAGIC 0xEF51
-#define EXT2_SUPER_MAGIC 0xEF53
-#define EXT3_SUPER_MAGIC 0xEF53
+#define EFS_SUPER_MAGIC 0x00414a53
+#define EXT_SUPER_MAGIC 0x137d
+#define EXT2_OLD_SUPER_MAGIC 0xef51
+#define EXT2_SUPER_MAGIC 0xef53
+#define EXT3_SUPER_MAGIC 0xef53
#define HFS_SUPER_MAGIC 0x4244
-#define HPFS_SUPER_MAGIC 0xF995E849
+#define HPFS_SUPER_MAGIC 0xf995e849
#define HUGETLBFS_MAGIC 0x958458f6
#define ISOFS_SUPER_MAGIC 0x9660
#define JFFS2_SUPER_MAGIC 0x72b6
#define JFS_SUPER_MAGIC 0x3153464a
-#define MINIX_SUPER_MAGIC 0x137F /* orig. minix */
-#define MINIX_SUPER_MAGIC2 0x138F /* 30 char minix */
+#define MINIX_SUPER_MAGIC 0x137f /* orig. minix */
+#define MINIX_SUPER_MAGIC2 0x138f /* 30 char minix */
#define MINIX2_SUPER_MAGIC 0x2468 /* minix V2 */
#define MINIX2_SUPER_MAGIC2 0x2478 /* minix V2, 30 char names */
#define MSDOS_SUPER_MAGIC 0x4d44
@@ -85,17 +85,21 @@
#define REISERFS_SUPER_MAGIC 0x52654973
#define ROMFS_MAGIC 0x7275
#define SMB_SUPER_MAGIC 0x517B
-#define SYSV2_SUPER_MAGIC 0x012FF7B6
+#define SYSV2_SUPER_MAGIC 0x012ff7b6
#define SYSV4_SUPER_MAGIC 0x012FF7B5
#define TMPFS_MAGIC 0x01021994
#define UDF_SUPER_MAGIC 0x15013346
#define UFS_MAGIC 0x00011954
#define USBDEVICE_SUPER_MAGIC 0x9fa2
-#define VXFS_SUPER_MAGIC 0xa501FCF5
-#define XENIX_SUPER_MAGIC 0x012FF7B4
+#define VXFS_SUPER_MAGIC 0xa501fcf5
+#define XENIX_SUPER_MAGIC 0x012ff7b4
#define XFS_SUPER_MAGIC 0x58465342
-#define _XIAFS_SUPER_MAGIC 0x012FD16D
+#define _XIAFS_SUPER_MAGIC 0x012fd16d
+
+/* NuttX specific file-systems */
+
#define BINFS_MAGIC 0x4242
+#define NXFFS_MAGIC 0x4747
/****************************************************************************
* Type Definitions