nfs-utils/nfs-utils-1.0.5-statdpath.patch
cvsdist 9e6d913b97 auto-import changelog data from nfs-utils-1.0.6-34.src.rpm
Mon Aug 30 2004 Steve Dickson <SteveD@RedHat.com>
- Major clean up.
- Removed all unused/old patches
- Rename and condensed a number of patches
- Updated to CITI's nfs-utils-1.0.6-13 patches
2004-09-09 09:27:26 +00:00

43 lines
1.2 KiB
Diff

--- ./utils/statd/statd.h.orig 2002-09-01 22:31:23.000000000 -0400
+++ ./utils/statd/statd.h 2003-07-21 10:45:54.000000000 -0400
@@ -13,10 +13,11 @@
/*
* Paths and filenames.
*/
+#define STATD_PATH_XTN "statd/"
#if defined(NFS_STATEDIR)
-# define DEFAULT_DIR_BASE NFS_STATEDIR "/"
+# define DEFAULT_DIR_BASE NFS_STATEDIR "/" STATD_PATH_XTN
#else
-# define DEFAULT_DIR_BASE "/var/lib/nfs/"
+# define DEFAULT_DIR_BASE "/var/lib/nfs/" STATD_PATH_XTN
#endif
#define DEFAULT_SM_DIR DEFAULT_DIR_BASE "sm"
--- ./utils/statd/statd.man.orig 2002-09-16 15:23:03.000000000 -0400
+++ ./utils/statd/statd.man 2003-06-02 15:01:41.000000000 -0400
@@ -23,7 +23,7 @@ reboots.
For each NFS client or server machine to be monitored,
.B rpc.statd
creates a file in
-.BR /var/lib/nfs/sm .
+.BR /var/lib/nfs/statd/sm .
When starting, it iterates through these files and notifies the
peer
.B rpc.statd
@@ -136,11 +136,11 @@ and
manual pages.
.SH FILES
-.BR /var/lib/nfs/state
+.BR /var/lib/nfs/statd/sm/state
.br
-.BR /var/lib/nfs/sm/*
+.BR /var/lib/nfs/statd/sm/*
.br
-.BR /var/lib/nfs/sm.bak/*
+.BR /var/lib/nfs/statd/sm.bak/*
.SH SEE ALSO
.BR rpc.nfsd(8),
.BR portmap(8)