|
|
cd1e0c |
commit 77d053e4881664e7dbbc3bbb9a242af005598e95
|
|
|
cd1e0c |
Author: Steve Dickson <steved@redhat.com>
|
|
|
cd1e0c |
Date: Wed May 13 12:22:41 2020 -0400
|
|
|
cd1e0c |
|
|
|
cd1e0c |
nfsdclddb: Redname clddb-tool to nfsdclddb
|
|
|
cd1e0c |
|
|
|
cd1e0c |
To try to maintain some type of name convention
|
|
|
cd1e0c |
rename clddb-tool to nfsdclddb
|
|
|
cd1e0c |
|
|
|
cd1e0c |
Signed-off-by: Steve Dickson <steved@redhat.com>
|
|
|
cd1e0c |
|
|
|
cd1e0c |
diff --git a/configure.ac b/configure.ac
|
|
|
cd1e0c |
index df88e58..0b1c8cc 100644
|
|
|
cd1e0c |
--- a/configure.ac
|
|
|
cd1e0c |
+++ b/configure.ac
|
|
|
cd1e0c |
@@ -695,7 +695,7 @@ AC_CONFIG_FILES([
|
|
|
cd1e0c |
tools/mountstats/Makefile
|
|
|
cd1e0c |
tools/nfs-iostat/Makefile
|
|
|
cd1e0c |
tools/nfsconf/Makefile
|
|
|
cd1e0c |
- tools/clddb-tool/Makefile
|
|
|
cd1e0c |
+ tools/nfsdclddb/Makefile
|
|
|
cd1e0c |
utils/Makefile
|
|
|
cd1e0c |
utils/blkmapd/Makefile
|
|
|
cd1e0c |
utils/nfsdcld/Makefile
|
|
|
cd1e0c |
diff --git a/tools/Makefile.am b/tools/Makefile.am
|
|
|
cd1e0c |
index 53e6117..432d35d 100644
|
|
|
cd1e0c |
--- a/tools/Makefile.am
|
|
|
cd1e0c |
+++ b/tools/Makefile.am
|
|
|
cd1e0c |
@@ -9,7 +9,7 @@ endif
|
|
|
cd1e0c |
OPTDIRS += nfsconf
|
|
|
cd1e0c |
|
|
|
cd1e0c |
if CONFIG_NFSDCLD
|
|
|
cd1e0c |
-OPTDIRS += clddb-tool
|
|
|
cd1e0c |
+OPTDIRS += nfsdclddb
|
|
|
cd1e0c |
endif
|
|
|
cd1e0c |
|
|
|
cd1e0c |
SUBDIRS = locktest rpcdebug nlmtest mountstats nfs-iostat $(OPTDIRS)
|
|
|
cd1e0c |
diff --git a/tools/clddb-tool/Makefile.am b/tools/nfsdclddb/Makefile.am
|
|
|
cd1e0c |
similarity index 60%
|
|
|
cd1e0c |
rename from tools/clddb-tool/Makefile.am
|
|
|
cd1e0c |
rename to tools/nfsdclddb/Makefile.am
|
|
|
cd1e0c |
index 15a8fd4..18263fb 100644
|
|
|
cd1e0c |
--- a/tools/clddb-tool/Makefile.am
|
|
|
cd1e0c |
+++ b/tools/nfsdclddb/Makefile.am
|
|
|
cd1e0c |
@@ -1,13 +1,13 @@
|
|
|
cd1e0c |
## Process this file with automake to produce Makefile.in
|
|
|
cd1e0c |
-PYTHON_FILES = clddb-tool.py
|
|
|
cd1e0c |
+PYTHON_FILES = nfsdclddb.py
|
|
|
cd1e0c |
|
|
|
cd1e0c |
-man8_MANS = clddb-tool.man
|
|
|
cd1e0c |
+man8_MANS = nfsdclddb.man
|
|
|
cd1e0c |
|
|
|
cd1e0c |
EXTRA_DIST = $(man8_MANS) $(PYTHON_FILES)
|
|
|
cd1e0c |
|
|
|
cd1e0c |
all-local: $(PYTHON_FILES)
|
|
|
cd1e0c |
|
|
|
cd1e0c |
install-data-hook:
|
|
|
cd1e0c |
- $(INSTALL) -m 755 clddb-tool.py $(DESTDIR)$(sbindir)/clddb-tool
|
|
|
cd1e0c |
+ $(INSTALL) -m 755 nfsdclddb.py $(DESTDIR)$(sbindir)/nfsdclddb
|
|
|
cd1e0c |
|
|
|
cd1e0c |
MAINTAINERCLEANFILES=Makefile.in
|
|
|
cd1e0c |
diff --git a/tools/clddb-tool/clddb-tool.man b/tools/nfsdclddb/nfsdclddb.man
|
|
|
cd1e0c |
similarity index 84%
|
|
|
cd1e0c |
rename from tools/clddb-tool/clddb-tool.man
|
|
|
cd1e0c |
rename to tools/nfsdclddb/nfsdclddb.man
|
|
|
cd1e0c |
index e80b2c0..8ec7b18 100644
|
|
|
cd1e0c |
--- a/tools/clddb-tool/clddb-tool.man
|
|
|
cd1e0c |
+++ b/tools/nfsdclddb/nfsdclddb.man
|
|
|
cd1e0c |
@@ -1,20 +1,20 @@
|
|
|
cd1e0c |
.\"
|
|
|
cd1e0c |
-.\" clddb-tool(8)
|
|
|
cd1e0c |
+.\" nfsdclddb(8)
|
|
|
cd1e0c |
.\"
|
|
|
cd1e0c |
-.TH clddb-tool 8 "07 Aug 2019"
|
|
|
cd1e0c |
+.TH nfsdclddb 8 "07 Aug 2019"
|
|
|
cd1e0c |
.SH NAME
|
|
|
cd1e0c |
-clddb-tool \- Tool for manipulating the nfsdcld sqlite database
|
|
|
cd1e0c |
+nfsdclddb \- Tool for manipulating the nfsdcld sqlite database
|
|
|
cd1e0c |
.SH SYNOPSIS
|
|
|
cd1e0c |
-.B clddb-tool
|
|
|
cd1e0c |
+.B nfsdclddb
|
|
|
cd1e0c |
.RB [ \-h | \-\-help ]
|
|
|
cd1e0c |
.P
|
|
|
cd1e0c |
-.B clddb-tool
|
|
|
cd1e0c |
+.B nfsdclddb
|
|
|
cd1e0c |
.RB [ \-p | \-\-path
|
|
|
cd1e0c |
.IR dbpath ]
|
|
|
cd1e0c |
.B fix-table-names
|
|
|
cd1e0c |
.RB [ \-h | \-\-help ]
|
|
|
cd1e0c |
.P
|
|
|
cd1e0c |
-.B clddb-tool
|
|
|
cd1e0c |
+.B nfsdclddb
|
|
|
cd1e0c |
.RB [ \-p | \-\-path
|
|
|
cd1e0c |
.IR dbpath ]
|
|
|
cd1e0c |
.B downgrade-schema
|
|
|
cd1e0c |
@@ -22,7 +22,7 @@ clddb-tool \- Tool for manipulating the nfsdcld sqlite database
|
|
|
cd1e0c |
.RB [ \-v | \-\-version
|
|
|
cd1e0c |
.IR to-version ]
|
|
|
cd1e0c |
.P
|
|
|
cd1e0c |
-.B clddb-tool
|
|
|
cd1e0c |
+.B nfsdclddb
|
|
|
cd1e0c |
.RB [ \-p | \-\-path
|
|
|
cd1e0c |
.IR dbpath ]
|
|
|
cd1e0c |
.B print
|
|
|
cd1e0c |
@@ -31,10 +31,10 @@ clddb-tool \- Tool for manipulating the nfsdcld sqlite database
|
|
|
cd1e0c |
.P
|
|
|
cd1e0c |
|
|
|
cd1e0c |
.SH DESCRIPTION
|
|
|
cd1e0c |
-.RB "The " clddb-tool " command is provided to perform some manipulation of the nfsdcld sqlite database schema and to print the contents of the database."
|
|
|
cd1e0c |
+.RB "The " nfsdclddb " command is provided to perform some manipulation of the nfsdcld sqlite database schema and to print the contents of the database."
|
|
|
cd1e0c |
.SS Sub-commands
|
|
|
cd1e0c |
Valid
|
|
|
cd1e0c |
-.B clddb-tool
|
|
|
cd1e0c |
+.B nfsdclddb
|
|
|
cd1e0c |
subcommands are:
|
|
|
cd1e0c |
.IP "\fBfix-table-names\fP"
|
|
|
cd1e0c |
.RB "A previous version of " nfsdcld "(8) contained a bug that corrupted the reboot epoch table names. This sub-command will fix those table names."
|
|
|
cd1e0c |
@@ -66,7 +66,7 @@ The schema version to downgrade to. Currently the schema can only be downgraded
|
|
|
cd1e0c |
Do not list the clients in the reboot epoch tables in the output.
|
|
|
cd1e0c |
.SH NOTES
|
|
|
cd1e0c |
The
|
|
|
cd1e0c |
-.B clddb-tool
|
|
|
cd1e0c |
+.B nfsdclddb
|
|
|
cd1e0c |
command will not allow the
|
|
|
cd1e0c |
.B fix-table-names
|
|
|
cd1e0c |
or
|
|
|
cd1e0c |
diff --git a/tools/clddb-tool/clddb-tool.py b/tools/nfsdclddb/nfsdclddb.py
|
|
|
cd1e0c |
similarity index 100%
|
|
|
cd1e0c |
rename from tools/clddb-tool/clddb-tool.py
|
|
|
cd1e0c |
rename to tools/nfsdclddb/nfsdclddb.py
|