Skip to content

Commit b6eb48d

Browse files
kerolasatorvalds
authored andcommitted
minix: describe usage of different magic numbers
One can get this information from minix/inode.c, but adding the explanations at the definition sites is more appropriate. Signed-off-by: Sami Kerola <kerolasa@iki.fi> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
1 parent db5cf8d commit b6eb48d

1 file changed

Lines changed: 5 additions & 5 deletions

File tree

‎include/linux/magic.h‎

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -30,11 +30,11 @@
3030
#define ANON_INODE_FS_MAGIC 0x09041934
3131
#define PSTOREFS_MAGIC 0x6165676C
3232

33-
#define MINIX_SUPER_MAGIC 0x137F /* original minix fs */
34-
#define MINIX_SUPER_MAGIC2 0x138F /* minix fs, 30 char names */
35-
#define MINIX2_SUPER_MAGIC 0x2468 /* minix V2 fs */
36-
#define MINIX2_SUPER_MAGIC2 0x2478 /* minix V2 fs, 30 char names */
37-
#define MINIX3_SUPER_MAGIC 0x4d5a /* minix V3 fs */
33+
#define MINIX_SUPER_MAGIC 0x137F /* minix v1 fs, 14 char names */
34+
#define MINIX_SUPER_MAGIC2 0x138F /* minix v1 fs, 30 char names */
35+
#define MINIX2_SUPER_MAGIC 0x2468 /* minix v2 fs, 14 char names */
36+
#define MINIX2_SUPER_MAGIC2 0x2478 /* minix v2 fs, 30 char names */
37+
#define MINIX3_SUPER_MAGIC 0x4d5a /* minix v3 fs, 60 char names */
3838

3939
#define MSDOS_SUPER_MAGIC 0x4d44 /* MD */
4040
#define NCP_SUPER_MAGIC 0x564c /* Guess, what 0x564c is :-) */

0 commit comments

Comments
 (0)