]> git.pld-linux.org Git - packages/nfs-utils.git/blob - nfs-utils-statdpath.patch
8503d56f3ca4e64c0d8f3e6ad63421d02ba54e9f
[packages/nfs-utils.git] / nfs-utils-statdpath.patch
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 .
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
37 @@ -136,11 +136,11 @@ and
38  manual pages.
39  
40  .SH FILES
41 -.BR /var/lib/nfs/state
42 +.BR /var/lib/nfs/statd/state
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.915144 seconds and 3 git commands to generate.