1 diff -ur nfs-utils-1.1.0-rc1.orig/utils/statd/sm-notify.c nfs-utils-1.1.0-rc1/utils/statd/sm-notify.c
2 --- nfs-utils-1.1.0-rc1.orig/utils/statd/sm-notify.c 2007-03-29 05:55:33.000000000 +0200
3 +++ nfs-utils-1.1.0-rc1/utils/statd/sm-notify.c 2007-04-06 01:07:43.000000000 +0200
6 - * Send NSM notify calls to all hosts listed in /var/lib/sm
7 + * Send NSM notify calls to all hosts listed in /var/lib/statd/sm
9 * Copyright (C) 2004-2006 Olaf Kirch <okir@suse.de>
15 -# define BASEDIR NFS_STATEDIR
16 +# define BASEDIR NFS_STATEDIR "/statd"
18 -# define BASEDIR "/var/lib/nfs"
19 +# define BASEDIR "/var/lib/nfs/statd"
23 diff -ur nfs-utils-1.1.0-rc1.orig/utils/statd/sm-notify.man nfs-utils-1.1.0-rc1/utils/statd/sm-notify.man
24 --- nfs-utils-1.1.0-rc1.orig/utils/statd/sm-notify.man 2007-03-29 05:55:33.000000000 +0200
25 +++ nfs-utils-1.1.0-rc1/utils/statd/sm-notify.man 2007-04-06 01:08:49.000000000 +0200
27 For each NFS client or server machine to be monitored,
30 -.BR /var/lib/nfs/sm ", "
31 +.BR /var/lib/nfs/statd/sm ", "
32 and removes the file if monitoring is no longer required.
34 When the machine is rebooted,
36 which is basically an integer counter that is incremented
37 each time the machine reboots. This counter is stored
39 -.BR /var/lib/nfs/state ,
40 +.BR /var/lib/nfs/statd/state ,
46 forks and puts itself in the background after obtaining the
48 -.BR /var/lib/nfs/sm .
49 +.BR /var/lib/nfs/statd/sm .
51 -.BR /var/lib/nfs/state
52 +.BR /var/lib/nfs/statd/state
54 -.BR /var/lib/nfs/sm/*
55 +.BR /var/lib/nfs/statd/sm/*
57 -.BR /var/lib/nfs/sm.bak/*
58 +.BR /var/lib/nfs/statd/sm.bak/*
60 .BR /var/run/sm-notify.pid
62 diff -ur nfs-utils-1.1.0-rc1.orig/utils/statd/statd.h nfs-utils-1.1.0-rc1/utils/statd/statd.h
63 --- nfs-utils-1.1.0-rc1.orig/utils/statd/statd.h 2007-03-29 05:55:33.000000000 +0200
64 +++ nfs-utils-1.1.0-rc1/utils/statd/statd.h 2007-04-06 01:09:27.000000000 +0200
66 * Paths and filenames.
68 #if defined(NFS_STATEDIR)
69 -# define DEFAULT_DIR_BASE NFS_STATEDIR "/"
70 +# define DEFAULT_DIR_BASE NFS_STATEDIR "/statd/"
72 -# define DEFAULT_DIR_BASE "/var/lib/nfs/"
73 +# define DEFAULT_DIR_BASE "/var/lib/nfs/statd/"
76 #define DEFAULT_SM_DIR DEFAULT_DIR_BASE "sm"
77 diff -ur nfs-utils-1.1.0-rc1.orig/utils/statd/statd.man nfs-utils-1.1.0-rc1/utils/statd/statd.man
78 --- nfs-utils-1.1.0-rc1.orig/utils/statd/statd.man 2007-03-29 05:55:33.000000000 +0200
79 +++ nfs-utils-1.1.0-rc1/utils/statd/statd.man 2007-04-06 01:04:26.000000000 +0200
81 For each NFS client or server machine to be monitored,
84 -.BR /var/lib/nfs/sm .
85 +.BR /var/lib/nfs/statd/sm .
86 When starting, it normally runs
88 to iterate through these files and notify the
90 .BI "\-P," "" " \-\-state\-directory\-path " directory
91 specify a directory in which to place statd state information.
92 If this option is not specified the default of
94 +.BR /var/lib/nfs/statd
99 of an NFS export from another server.
102 -.BR /var/lib/nfs/state
103 +.BR /var/lib/nfs/statd/state
105 -.BR /var/lib/nfs/sm/*
106 +.BR /var/lib/nfs/statd/sm/*
108 -.BR /var/lib/nfs/sm.bak/*
109 +.BR /var/lib/nfs/statd/sm.bak/*