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
10 #if !defined(lint) && !defined(LOCORE) && defined(RCS_HDRS)
15 Institution: The Information Technology Center, Carnegie-Mellon University
19 /* If you add volume types here, be sure to check the definition of
20 volumeWriteable in volume.h */
22 #define readwriteVolume RWVOL
23 #define readonlyVolume ROVOL
24 #define backupVolume BACKVOL
30 /* All volumes will have a volume header name in this format */
31 #if defined(AFS_AIX_ENV) || defined(AFS_HPUX_ENV)
32 /* Note that <afs/param.h> must have been included before we get here... */
33 #define VFORMAT "V%010lu.vl" /* Sys5's filename length limitation hits us again */
36 #define VFORMAT "V%010lu.vol"
37 #define VHDREXT ".vol"
39 #define VMAXPATHLEN 64 /* Maximum length (including null) of a volume
42 #if defined(AFS_NAMEI_ENV) && !defined(AFS_NT40_ENV)
43 /* INODEDIR holds all the inodes. Since it's name does not begin with "V"
44 * and it's created when the first volume is created, linear directory
45 * searches will find the directory early. If only I had needed this before
46 * the NT server went beta, it could be used there as well.
48 #define INODEDIR "AFSIDat"
49 #define INODEDIRLEN (sizeof(INODEDIR)-1)
52 /* Pathname for the maximum volume id ever created by this server */
53 #define MAXVOLIDPATH "/vice/vol/maxvolid"
55 /* Pathname for server id definitions--the server id is used to allocate volume numbers */
56 #define SERVERLISTPATH "/vice/db/servers"
58 /* Values for connect parameter to VInitVolumePackage */
60 #define DONT_CONNECT_FS 0