1 #ifdef KERNEL_INCLUDES_ARE_CLEAN
4 #include <linux/minix_fs.h>
8 typedef unsigned char u8;
9 typedef unsigned short u16;
10 typedef unsigned int u32;
34 struct minix_super_block {
47 #define BLOCK_SIZE_BITS 10
48 #define BLOCK_SIZE (1<<BLOCK_SIZE_BITS)
50 #define NAME_MAX 255 /* # chars in a file name */
52 #define MINIX_INODES_PER_BLOCK ((BLOCK_SIZE)/(sizeof (struct minix_inode)))
53 #define MINIX2_INODES_PER_BLOCK ((BLOCK_SIZE)/(sizeof (struct minix2_inode)))
55 #define MINIX_VALID_FS 0x0001 /* Clean fs. */
56 #define MINIX_ERROR_FS 0x0002 /* fs has errors. */
58 #define MINIX_SUPER_MAGIC 0x137F /* original minix fs */
59 #define MINIX_SUPER_MAGIC2 0x138F /* minix fs, 30 char names */
60 #define MINIX2_SUPER_MAGIC 0x2468 /* minix V2 fs */
61 #define MINIX2_SUPER_MAGIC2 0x2478 /* minix V2 fs, 30 char names */
63 #endif /* KERNEL_INCLUDES_ARE_CLEAN */