2 #if !defined(lint) && !defined(LOCORE) && defined(RCS_HDRS)
6 * (C) COPYRIGHT IBM CORPORATION 1987
7 * LICENSED MATERIALS - PROPERTY OF IBM
13 Institution: The Information Technology Center, Carnegie-Mellon University
17 /* If you add volume types here, be sure to check the definition of
18 volumeWriteable in volume.h */
20 #define readwriteVolume RWVOL
21 #define readonlyVolume ROVOL
22 #define backupVolume BACKVOL
28 /* All volumes will have a volume header name in this format */
29 #if defined(AFS_AIX_ENV) || defined(AFS_HPUX_ENV)
30 /* Note that <afs/param.h> must have been included before we get here... */
31 #define VFORMAT "V%010lu.vl" /* Sys5's filename length limitation hits us again */
34 #define VFORMAT "V%010lu.vol"
35 #define VHDREXT ".vol"
37 #define VMAXPATHLEN 64 /* Maximum length (including null) of a volume
40 #if defined(AFS_NAMEI_ENV) && !defined(AFS_NT40_ENV)
41 /* INODEDIR holds all the inodes. Since it's name does not begin with "V"
42 * and it's created when the first volume is created, linear directory
43 * searches will find the directory early. If only I had needed this before
44 * the NT server went beta, it could be used there as well.
46 #define INODEDIR "AFSIDat"
47 #define INODEDIRLEN (sizeof(INODEDIR)-1)
50 /* Pathname for the maximum volume id ever created by this server */
51 #define MAXVOLIDPATH "/vice/vol/maxvolid"
53 /* Pathname for server id definitions--the server id is used to allocate volume numbers */
54 #define SERVERLISTPATH "/vice/db/servers"
56 /* Values for connect parameter to VInitVolumePackage */
58 #define DONT_CONNECT_FS 0