death-to-ultrix-20060804
[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 /*
11         System:         VICE-TWO
12         Module:         voldefs.h
13         Institution:    The Information Technology Center, Carnegie-Mellon University
14
15  */
16
17 /* If you add volume types here, be sure to check the definition of
18    volumeWriteable in volume.h */
19
20 #define readwriteVolume         RWVOL
21 #define readonlyVolume          ROVOL
22 #define backupVolume            BACKVOL
23
24 #define RWVOL                   0
25 #define ROVOL                   1
26 #define BACKVOL                 2
27
28 /* All volumes will have a volume header name in this format */
29 #define VFORMAT "V%010lu.vol"
30 #define VMAXPATHLEN 64          /* Maximum length (including null) of a volume
31                                  * external path name */
32
33 /* Values for connect parameter to VInitVolumePackage */
34 #define CONNECT_FS      1
35 #define DONT_CONNECT_FS 0