Skip to contentSkip to conversation

minix: tell usage of different magic numbers

PATCH New [email protected] 1 participant 1 message Jul 12, 2011

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 minix: tell usage of different magic numbers

From: Sami Kerola <[email protected]>

One could see from minix inode.c the same, but telling the differences in comments is more clear. The v3 information is not strictly speaking needed, but it is there in sake of completeness.

---
 include/linux/magic.h |   10 +++++-----
 1 files changed, 5 insertions(+), 5 deletions(-)
include/linux/magic.h +5 -5
index 1e5df2a..2d4beab 100644
@@ -30,11 +30,11 @@
 #define ANON_INODE_FS_MAGIC	0x09041934
 #define PSTOREFS_MAGIC		0x6165676C
 
-#define MINIX_SUPER_MAGIC	0x137F		/* original minix fs */
-#define MINIX_SUPER_MAGIC2	0x138F		/* minix fs, 30 char names */
-#define MINIX2_SUPER_MAGIC	0x2468		/* minix V2 fs */
-#define MINIX2_SUPER_MAGIC2	0x2478		/* minix V2 fs, 30 char names */
-#define MINIX3_SUPER_MAGIC	0x4d5a		/* minix V3 fs */
+#define MINIX_SUPER_MAGIC	0x137F		/* minix v1 fs, 14 char names */
+#define MINIX_SUPER_MAGIC2	0x138F		/* minix v1 fs, 30 char names */
+#define MINIX2_SUPER_MAGIC	0x2468		/* minix v2 fs, 14 char names */
+#define MINIX2_SUPER_MAGIC2	0x2478		/* minix v2 fs, 30 char names */
+#define MINIX3_SUPER_MAGIC	0x4d5a		/* minix v3 fs, 60 char names */
 
 #define MSDOS_SUPER_MAGIC	0x4d44		/* MD */
 #define NCP_SUPER_MAGIC		0x564c		/* Guess, what 0x564c is :-) */
Signature · 1 line
1.7.6