diff options
Diffstat (limited to 'net/coda5_client/patches/patch-dj')
-rw-r--r-- | net/coda5_client/patches/patch-dj | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/net/coda5_client/patches/patch-dj b/net/coda5_client/patches/patch-dj new file mode 100644 index 00000000000..084043f5454 --- /dev/null +++ b/net/coda5_client/patches/patch-dj @@ -0,0 +1,32 @@ +$NetBSD: patch-dj,v 1.1 1999/04/28 23:57:04 rvb Exp $ + +diff -u /usr/pkgsrc/net/coda-5.2.2/coda-src/venus/venusrecov.h ./coda-src/venus/venusrecov.h +--- /usr/pkgsrc/net/coda-5.2.2/coda-src/venus/venusrecov.h Thu Mar 11 23:17:42 1999 ++++ ./coda-src/venus/venusrecov.h Wed Apr 28 13:01:27 1999 +@@ -92,7 +92,7 @@ + const int UNSET_MAXTS = -1; + + const int RecovMagicNumber = 0x8675309; +-const int RecovVersionNumber = 28; /* Update this when format changes. */ ++const int RecovVersionNumber = 29; /* Update this when format changes. */ + + + /* ***** Types ***** */ +@@ -119,6 +119,17 @@ + char *recov_HeapAddr; /* Base of recoverable heap */ + unsigned int recov_HeapLength; /* Length of recoverable heap (in bytes) */ + ++ /* We need to have a identifier that is guaranteed to be identical across ++ * crashes and reboots, but unique with respect to all other venii (that ++ * do stores to the same server/volume), _and_ venus reinitializations. So ++ * we cannot use a timestamp, or the local ip/ether-address. This calls ++ * for a UUID, but using that will require modifications to the RPC2 ++ * protocol. So for now a random integer is used. */ ++#define VenusGenID (*(unsigned int*)&rvg->recov_UUID) ++ ++ /* At some point we should start using a real 128-bit UUID, and this space ++ * is reserved for that purpose */ ++ unsigned char recov_UUID[16]; + + int validate(); + void print(); |