From 459815329bc52d5d264ed5f1ffbfae490d88a552 Mon Sep 17 00:00:00 2001 From: Mattias Amnefelt Date: Mon, 4 Mar 2002 16:47:22 +0000 Subject: [PATCH] dux-make-namei-fileserver-work-20020304 namei should now work on tru64 (tested on 5.0a) --- src/config/param.alpha_dux50.h | 6 ++++++ src/vol/partition.c | 2 +- 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/src/config/param.alpha_dux50.h b/src/config/param.alpha_dux50.h index 651fadbdf..c44909593 100644 --- a/src/config/param.alpha_dux50.h +++ b/src/config/param.alpha_dux50.h @@ -44,7 +44,13 @@ #define AFS_HAVE_STATVFS 1 /* System supports statvfs */ #define AFS_GCPAGS 1 /* if nonzero, garbage collect PAGs */ + +#ifdef AFS_NAMEI_ENV +#define AFS_64BIT_IOPS_ENV 1 /* needed for NAMEI... */ +#else #define AFS_3DISPARES 1 /* Utilize the 3 available disk inode spares */ +#endif + #define AFS_USE_GETTIMEOFDAY 1 /* use gettimeofday to implement rx clock */ #if !defined(ASSEMBLER) && !defined(__LANGUAGE_ASSEMBLY__) diff --git a/src/vol/partition.c b/src/vol/partition.c index 9c0b91d3d..e36176157 100644 --- a/src/vol/partition.c +++ b/src/vol/partition.c @@ -299,7 +299,7 @@ int VCheckPartition(part, devname) return -1; #endif -#ifdef AFS_DUX40_ENV +#if defined(AFS_DUX40_ENV) && !defined(AFS_NAMEI_ENV) if (status.st_ino != ROOTINO) { Log("%s is not a mounted file system; ignored.\n", part); return 0; -- 2.39.5