Am 15.12.2016 um 14:10 schrieb Henrique de Moraes Holschuh:
On Wed, 14 Dec 2016, Ian Jackson wrote:
Michael Kerrisk (man-pages) writes:
On 14 December 2016 at 16:45, Ian Jackson
<ijack...@chiark.greenend.org.uk> wrote:
 - rename the manpage about /etc/default/tmpfs to tmnfs-config(5)
   (or something, better name welcome).

FWIW, I think this may be the best option.

I do see that the arguments against changing all the filesystem
manpages are pretty strong.

It's not quite clear to me quite who the maintainers of the sysvinit
package are - ie, who needs to agree.  I have been following the

Consider this a vote for the use of tmpfs-config(5) in initscripts,
since tmpfs(5<whatever>) will require "apropos tmpfs" anyway to find it.

Hi,

I've prepared a patch for the git repository on alioth, please review it. The patch should cover all places where tmpfs(5) is mentioned, except debian/changelog.

The package builds in a sid chroot without problems.

If everybody thinks that this change is acceptable, it would be great to get it into Stretch ...

Regards,
Tobias

From 4be87bf00cddbb7deb69994182fb227ed39cf0b8 Mon Sep 17 00:00:00 2001
From: "Dr. Tobias Quathamer" <to...@debian.org>
Date: Fri, 16 Dec 2016 21:42:27 +0100
Subject: [PATCH] Rename manpage tmpfs.5 to tmpfs-config.5.

Closes: #848121
---
 debian/changelog                                       | 3 +++
 debian/initscripts.NEWS                                | 2 +-
 debian/initscripts.postinst                            | 8 ++++----
 debian/src/initscripts/etc/default/tmpfs               | 4 ++--
 debian/src/initscripts/man/{tmpfs.5 => tmpfs-config.5} | 9 +++++----
 5 files changed, 15 insertions(+), 11 deletions(-)
 rename debian/src/initscripts/man/{tmpfs.5 => tmpfs-config.5} (97%)

diff --git a/debian/changelog b/debian/changelog
index 25efe99..0e1c857 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -12,6 +12,9 @@ sysvinit (2.88dsf-59.9) UNRELEASED; urgency=medium
     (Closes: #833687).  These file systems are not remountable.  The
     change avoid a warning from mount.  Based on Patch from Jon Boden.
 
+  [ Dr. Tobias Quathamer ]
+  * Rename manpage tmpfs.5 to tmpfs-config.5. Closes: #848121
+
  -- Martin Pitt <mp...@debian.org>  Sat, 23 Jul 2016 11:19:23 +0200
 
 sysvinit (2.88dsf-59.8) unstable; urgency=medium
diff --git a/debian/initscripts.NEWS b/debian/initscripts.NEWS
index 7794204..e4b237e 100644
--- a/debian/initscripts.NEWS
+++ b/debian/initscripts.NEWS
@@ -6,7 +6,7 @@ sysvinit (2.88dsf-26) unstable; urgency=low
   setting from /etc/default/tmpfs defaults to "no".  This means that
   a tmpfs will no longer be mounted on /tmp for upgrades or new
   installs.  Set RAMTMP to "yes" to continue to use a tmpfs on /tmp.
-  See tmpfs(5) for further details.
+  See tmpfs-config(5) for further details.
 
  -- Roger Leigh <rle...@debian.org>  Wed, 06 Jun 2012 20:55:45 +0100
 
diff --git a/debian/initscripts.postinst b/debian/initscripts.postinst
index 259ce38..0a39db6 100755
--- a/debian/initscripts.postinst
+++ b/debian/initscripts.postinst
@@ -73,10 +73,10 @@ fi
 if dpkg --compare-versions "$PREV_VER" lt-nl "2.88dsf-23" ; then
     if [ -f /etc/default/rcS ]; then
 	sed -i \
--e 's:^\(RAMRUN=.*\)$:#\1 # OBSOLETE; see /etc/default/tmpfs and tmpfs(5).:' \
--e 's:^\(RAMLOCK=.*\)$:#\1 # OBSOLETE; see /etc/default/tmpfs and tmpfs(5).:' \
--e ':^RAMSHM=:i# OBSOLETE; see /etc/default/tmpfs and tmpfs(5).' \
--e ':^RAMTMP=:i# OBSOLETE; see /etc/default/tmpfs and tmpfs(5).' \
+-e 's:^\(RAMRUN=.*\)$:#\1 # OBSOLETE; see /etc/default/tmpfs and tmpfs-config(5).:' \
+-e 's:^\(RAMLOCK=.*\)$:#\1 # OBSOLETE; see /etc/default/tmpfs and tmpfs-config(5).:' \
+-e ':^RAMSHM=:i# OBSOLETE; see /etc/default/tmpfs and tmpfs-config(5).' \
+-e ':^RAMTMP=:i# OBSOLETE; see /etc/default/tmpfs and tmpfs-config(5).' \
 -e 's:^\(EDITMOTD=.*\)$:#\1 # OBSOLETE.:' /etc/default/rcS
     fi
 fi
diff --git a/debian/src/initscripts/etc/default/tmpfs b/debian/src/initscripts/etc/default/tmpfs
index 80e60a6..11e2889 100644
--- a/debian/src/initscripts/etc/default/tmpfs
+++ b/debian/src/initscripts/etc/default/tmpfs
@@ -4,7 +4,7 @@
 #
 # Configuration for tmpfs filesystems mounted in early boot, before
 # filesystems from /etc/fstab are mounted.  For information about
-# these variables see the tmpfs(5) manual page.
+# these variables see the tmpfs-config(5) manual page.
 
 # /run is always mounted as a tmpfs on systems which support tmpfs
 # mounts.
@@ -24,7 +24,7 @@
 # configured to be a separate mount in /etc/fstab.
 #RAMTMP=no
 
-# Size limits.  Please see tmpfs(5) for details on how to configure
+# Size limits.  Please see tmpfs-config(5) for details on how to configure
 # tmpfs size limits.
 #TMPFS_SIZE=20%VM
 #RUN_SIZE=10%
diff --git a/debian/src/initscripts/man/tmpfs.5 b/debian/src/initscripts/man/tmpfs-config.5
similarity index 97%
rename from debian/src/initscripts/man/tmpfs.5
rename to debian/src/initscripts/man/tmpfs-config.5
index 99b877d..4df348e 100644
--- a/debian/src/initscripts/man/tmpfs.5
+++ b/debian/src/initscripts/man/tmpfs-config.5
@@ -1,6 +1,6 @@
-.TH tmpfs 5 "18 Feb 2012" "" "Debian Administrator's Manual"
+.TH tmpfs-config 5 "18 Feb 2012" "" "Debian Administrator's Manual"
 .SH NAME
-tmpfs \- variables that configure tmpfs filesystems mounted during boot
+tmpfs-config \- variables that configure tmpfs filesystems mounted during boot
 .SH DESCRIPTION
 The
 .I /etc/default/tmpfs
@@ -202,5 +202,6 @@ KiB).
 Roger Leigh <rle...@debian.org>
 
 .SH SEE ALSO
-.BR mount (8),
-.BR rcS (5).
+.BR rcS (5),
+.BR tmpfs (5),
+.BR mount (8).
-- 
2.9.3

Attachment: signature.asc
Description: OpenPGP digital signature

Reply via email to