summaryrefslogtreecommitdiff
path: root/disk-utils/minix.h
diff options
context:
space:
mode:
authorKarel Zak <kzak@redhat.com>2006-12-07 00:25:49 +0100
committerKarel Zak <kzak@redhat.com>2006-12-07 00:25:49 +0100
commite8f2641919de90b488ce3788a7795b88311750b5 (patch)
tree68f3732da38ff1b21ec49780d7c830250329fec9 /disk-utils/minix.h
parent364cda4857f7dd5e2b4e2eb7583a2eaa279ef4ed (diff)
downloadutil-linux-old-e8f2641919de90b488ce3788a7795b88311750b5.tar.gz
Imported from util-linux-2.11m tarball.
Diffstat (limited to 'disk-utils/minix.h')
-rw-r--r--disk-utils/minix.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/disk-utils/minix.h b/disk-utils/minix.h
index 46f2af3c..638565ef 100644
--- a/disk-utils/minix.h
+++ b/disk-utils/minix.h
@@ -50,11 +50,14 @@ struct minix_super_block {
#define NAME_MAX 255 /* # chars in a file name */
#define MINIX_INODES_PER_BLOCK ((BLOCK_SIZE)/(sizeof (struct minix_inode)))
+#define MINIX2_INODES_PER_BLOCK ((BLOCK_SIZE)/(sizeof (struct minix2_inode)))
#define MINIX_VALID_FS 0x0001 /* Clean fs. */
#define MINIX_ERROR_FS 0x0002 /* fs has errors. */
#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 */
#endif /* KERNEL_INCLUDES_ARE_CLEAN */