summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authoroomichi <oomichi@ark.s1.itd.nes.nec.co.jp>2011-09-12 09:48:26 +0900
committeroomichi <oomichi@ark.s1.itd.nes.nec.co.jp>2011-09-12 09:48:26 +0900
commit136f78fa0b5c20805c567066887dccd762ce741f (patch)
tree34ddc9726c9a9892aefb49f57ea282cb1fa645f6
parent894680ea9dc5c0f3e8c8df9d7992859c51d61faf (diff)
[PATCH] Cleanup: Change the section of makedumpfile.conf manpage to right section.
Manpages of other configuration files are defined in section 5, and the manpage of makedumpfile.conf also should be defined in the same section. In addtion, `man makedumpfile.conf` output the following warning because the manpage included some invalid charactors(<81>). WARNING: old character encoding and/or character set This patch fixes them. Signed-off-by: Ken'ichi Ohmichi <oomichi@mxs.nes.nec.co.jp>
-rw-r--r--Makefile12
-rw-r--r--makedumpfile.conf.5 (renamed from makedumpfile.conf.8)4
2 files changed, 8 insertions, 8 deletions
diff --git a/Makefile b/Makefile
index 6efb4c7..6aa6adc 100644
--- a/Makefile
+++ b/Makefile
@@ -43,18 +43,18 @@ makedumpfile: $(SRC) $(OBJ_PART) $(OBJ_ARCH)
grep -v "^.TH MAKEDUMPFILE 8" makedumpfile.8 >> temp.8
mv temp.8 makedumpfile.8
gzip -c ./makedumpfile.8 > ./makedumpfile.8.gz
- echo .TH FILTER.CONF 8 \"$(DATE)\" \"makedumpfile v$(VERSION)\" \"Linux System Administrator\'s Manual\" > temp.8
- grep -v "^.TH FILTER.CONF 8" makedumpfile.conf.8 >> temp.8
- mv temp.8 makedumpfile.conf.8
- gzip -c ./makedumpfile.conf.8 > ./makedumpfile.conf.8.gz
+ echo .TH MAKEDUMPFILE.CONF 5 \"$(DATE)\" \"makedumpfile v$(VERSION)\" \"Linux System Administrator\'s Manual\" > temp.5
+ grep -v "^.TH MAKEDUMPFILE.CONF 5" makedumpfile.conf.5 >> temp.5
+ mv temp.5 makedumpfile.conf.5
+ gzip -c ./makedumpfile.conf.5 > ./makedumpfile.conf.5.gz
clean:
- rm -f $(OBJ) $(OBJ_PART) $(OBJ_ARCH) makedumpfile makedumpfile.8.gz makedumpfile.conf.8.gz
+ rm -f $(OBJ) $(OBJ_PART) $(OBJ_ARCH) makedumpfile makedumpfile.8.gz makedumpfile.conf.5.gz
install:
cp makedumpfile ${DESTDIR}/bin
cp makedumpfile-R.pl ${DESTDIR}/bin
cp makedumpfile.8.gz ${DESTDIR}/usr/share/man/man8
- cp makedumpfile.conf.8.gz ${DESTDIR}/usr/share/man/man8
+ cp makedumpfile.conf.5.gz ${DESTDIR}/usr/share/man/man5
cp makedumpfile.conf ${DESTDIR}/etc/makedumpfile.conf.sample
diff --git a/makedumpfile.conf.8 b/makedumpfile.conf.5
index d059288..5d6c5c1 100644
--- a/makedumpfile.conf.8
+++ b/makedumpfile.conf.5
@@ -1,4 +1,4 @@
-.TH FILTER.CONF 8 "16 November 2010" "makedumpfile v1.3.7" "Linux System Administrator's Manual"
+.TH MAKEDUMPFILE.CONF 5 "16 November 2010" "makedumpfile v1.3.7" "Linux System Administrator's Manual"
.SH NAME
makedumpfile.conf \- The filter configuration file for makedumpfile(8).
.SH DESCRIPTION
@@ -8,7 +8,7 @@ makedumpfile.conf file contains the erase commands to filter out desired kernel
data from the vmcore while creating \fIDUMPFILE\fR using makedumpfile tool.
makedumpfile reads the filter config and builds the list of memory addresses
and its sizes after processing filter commands. The memory locations that
-require to be filtered out are then poisoned with character fXf (58 in Hex).
+require to be filtered out are then poisoned with character \fIX\fR (58 in Hex).
.SH FILE FORMAT
.PP
The file consists of module sections that contains filter commands. A section