Coda Distributed File System
viceinode.h
Go to the documentation of this file.
1/* BLURB gpl
2
3 Coda File System
4 Release 6
5
6 Copyright (c) 1987-2003 Carnegie Mellon University
7 Additional copyrights listed below
8
9This code is distributed "AS IS" without warranty of any kind under
10the terms of the GNU General Public Licence Version 2, as shown in the
11file LICENSE. The technical and financial contributors to Coda are
12listed in the file CREDITS.
13
14 Additional copyrights
15
16#*/
17
18/*
19 IBM COPYRIGHT NOTICE
20
21 Copyright (C) 1986
22 International Business Machines Corporation
23 All Rights Reserved
24
25This file contains some code identical to or derived from the 1986
26version of the Andrew File System ("AFS"), which is owned by the IBM
27Corporation. This code is provided "AS IS" and IBM does not warrant
28that it is free of infringement of any intellectual rights of any
29third party. IBM disclaims liability of any kind for any damages
30whatsoever resulting directly or indirectly from use of this software
31or of any derivative work. Carnegie Mellon University has obtained
32permission to modify, distribute and sublicense this code, which is
33based on Version 2 of AFS and does not contain the features and
34enhancements that are part of Version 3 of AFS. Version 3 of AFS is
35commercially available and supported by Transarc Corporation,
36Pittsburgh, PA.
37
38*/
39
40#ifndef VICEINODE_INCLUDED
41#define VICEINODE_INCLUDED 1
42#include <vcrcommon.h>
43#include <voltypes.h>
44
45/* used by the inode methods */
46struct i_header {
48 VolumeId volume;
49 VnodeId vnode;
50 Unique_t unique;
51 FileVersion dataversion;
53};
54
55/* Structure of individual records output by fsck.
56 When VICEMAGIC inodes are created, they are given four parameters;
57 these correspond to the params.fsck array of this record.
58 */
63 VolumeId VolumeNo;
64 VnodeId VnodeNumber;
66 FileVersion InodeDataVersion;
68};
69
70/* This vnode number will never be used legitimately */
71#define INODESPECIAL 0xffffffff
72
73#endif /* _VICEINODE_H_ */
int int32_t
Definition: coda.h:104
Definition: viceinode.h:59
FileVersion InodeDataVersion
Definition: viceinode.h:66
Unique_t VnodeUniquifier
Definition: viceinode.h:65
VnodeId VnodeNumber
Definition: viceinode.h:64
VolumeId VolumeNo
Definition: viceinode.h:63
bit32 InodeNumber
Definition: viceinode.h:60
int32_t Magic
Definition: viceinode.h:67
int32_t LinkCount
Definition: viceinode.h:62
int32_t ByteCount
Definition: viceinode.h:61
Definition: viceinode.h:46
VnodeId vnode
Definition: viceinode.h:49
int32_t magic
Definition: viceinode.h:52
int32_t lnk
Definition: viceinode.h:47
FileVersion dataversion
Definition: viceinode.h:51
Unique_t unique
Definition: viceinode.h:50
VolumeId volume
Definition: viceinode.h:48
uint32_t bit32
Definition: voltypes.h:56