]> git.pld-linux.org Git - packages/nfs-utils.git/blame - nfs-utils-statdpath.patch
- updated to 1.1.0-rc1
[packages/nfs-utils.git] / nfs-utils-statdpath.patch
CommitLineData
42b01337
JR
1--- ./utils/statd/statd.h.orig 2002-09-01 22:31:23.000000000 -0400
2+++ ./utils/statd/statd.h 2003-07-21 10:45:54.000000000 -0400
3@@ -13,10 +13,11 @@
4 /*
5 * Paths and filenames.
6 */
7+#define STATD_PATH_XTN "statd/"
8 #if defined(NFS_STATEDIR)
9-# define DEFAULT_DIR_BASE NFS_STATEDIR "/"
10+# define DEFAULT_DIR_BASE NFS_STATEDIR "/" STATD_PATH_XTN
11 #else
12-# define DEFAULT_DIR_BASE "/var/lib/nfs/"
13+# define DEFAULT_DIR_BASE "/var/lib/nfs/" STATD_PATH_XTN
14 #endif
15
16 #define DEFAULT_SM_DIR DEFAULT_DIR_BASE "sm"
17--- ./utils/statd/statd.man.orig 2002-09-16 15:23:03.000000000 -0400
18+++ ./utils/statd/statd.man 2003-06-02 15:01:41.000000000 -0400
19@@ -23,7 +23,7 @@ reboots.
20 For each NFS client or server machine to be monitored,
21 .B rpc.statd
22 creates a file in
23-.BR /var/lib/nfs/sm .
24+.BR /var/lib/nfs/statd/sm .
b3a564c6
JR
25 When starting, it normally runs
26 .B sm-notify
27 to iterate through these files and notify the
28@@ -95,7 +95,7 @@ and
29 .BI "\-P," "" " \-\-state\-directory\-path " directory
30 specify a directory in which to place statd state information.
31 If this option is not specified the default of
32-.BR /var/lib/nfs
33+.BR /var/lib/nfs/statd
34 is used.
35 .TP
36 .B -N
42b01337
JR
37@@ -136,11 +136,11 @@ and
38 manual pages.
39
40 .SH FILES
41-.BR /var/lib/nfs/state
b3a564c6 42+.BR /var/lib/nfs/statd/state
42b01337
JR
43 .br
44-.BR /var/lib/nfs/sm/*
45+.BR /var/lib/nfs/statd/sm/*
46 .br
47-.BR /var/lib/nfs/sm.bak/*
48+.BR /var/lib/nfs/statd/sm.bak/*
49 .SH SEE ALSO
50 .BR rpc.nfsd(8),
51 .BR portmap(8)
This page took 0.201216 seconds and 4 git commands to generate.