Subversion Repositories planix.SVN

Rev

Rev 2 | Details | Compare with Previous | Last modification | View Log | RSS feed

Rev Author Line No. Line
2 - 1
/*
2
 * fundamental constants and types of the implementation
3
 * changing any of these changes the layout on disk
4
 */
5
 
6
/*
7
 * compatible on disk with the old 32-bit file server and can also speak 9P1.
8
 * this lets people run this file server on their old file systems.
9
 * DON'T TOUCH or you'll break compatibility.
10
 */
11
enum {
12
	NAMELEN		= 28,		/* max size of file name components */
13
	NDBLOCK		= 6,		/* number of direct blocks in Dentry */
14
	NIBLOCK		= 2,		/* max depth of indirect blocks */
15
};
16
 
17
typedef long Off;	/* file offsets & sizes, in bytes & blocks */
18
 
19
#define COMPAT32
20
#define swaboff swab4