2 * Copyright 2000, International Business Machines Corporation and others.
5 * This software has been released under the terms of the IBM Public
6 * License. For details, see the LICENSE file in the top-level source
7 * directory or online at http://www.openafs.org/dl/license10.html
13 Institution: The Information Technology Center, Carnegie-Mellon University
20 /* The four inode parameters for most inodes (files, directories,
25 Unique vnodeUniquifier;
26 FileVersion inodeDataVersion;
29 /* The four inode parameters for special inodes, i.e. the descriptive
30 inodes for a volume */
31 struct SpecialInodeParams {
33 VnodeId vnodeNumber; /* this must be INODESPECIAL */
43 /* Structure of individual records output by fsck.
44 When VICEMAGIC inodes are created, they are given four parameters;
45 these correspond to the params.fsck array of this record.
47 struct ViceInodeInfo {
49 afs_fsize_t byteCount;
53 struct InodeParams vnode;
54 struct SpecialInodeParams special;
59 #define INODESPECIAL 0x1fffffff
61 #define INODESPECIAL 0xffffffff
63 /* Special inode types. Be careful of the ordering. Must start at 1.
65 #define VI_VOLINFO 1 /* The basic volume information file */
66 #define VI_SMALLINDEX 2 /* The index of small vnodes */
67 #define VI_LARGEINDEX 3 /* The index of large vnodes */
68 #define VI_ACL 4 /* The volume's access control list */
69 #define VI_MOUNTTABLE 5 /* The volume's mount table */
70 #define VI_LINKTABLE 6 /* The volume's link counts */
72 #endif /* _VICEINODE_H_ */