linux-dont-d-drop-in-revalidate-20010416
[openafs.git] / src / afs / voldefs.h
1 /*
2  * Copyright 2000, International Business Machines Corporation and others.
3  * All Rights Reserved.
4  * 
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
8  */
9
10 #if !defined(lint) && !defined(LOCORE) && defined(RCS_HDRS)
11 #endif
12 /*
13         System:         VICE-TWO
14         Module:         voldefs.h
15         Institution:    The Information Technology Center, Carnegie-Mellon University
16
17  */
18
19 /* If you add volume types here, be sure to check the definition of
20    volumeWriteable in volume.h */
21
22 #define readwriteVolume         RWVOL
23 #define readonlyVolume          ROVOL
24 #define backupVolume            BACKVOL
25
26 #define RWVOL                   0
27 #define ROVOL                   1
28 #define BACKVOL                 2
29
30 /* All volumes will have a volume header name in this format */
31 #define VFORMAT "V%010lu.vol"
32 #define VMAXPATHLEN 64          /* Maximum length (including null) of a volume
33                                    external path name */
34
35 /* Values for connect parameter to VInitVolumePackage */
36 #define CONNECT_FS      1
37 #define DONT_CONNECT_FS 0