[Pkg-sysvinit-devel] Bug#387216: initscripts: mountdevsubfs.sh and
mtab.sh name /dev/shm differently
Petter Reinholdtsen
pere at hungry.com
Thu Sep 14 11:52:46 UTC 2006
tags 387216 + confirmed pending
thanks
[Mario Holbe]
> starting with 2.86.ds1-16 mountdevsubfs.sh and mtab.sh name the device
> of /dev/shm differently.
Right. I've applied this patch to solve it. It should make it into
the next upload.
Index: debian/changelog
===================================================================
--- debian/changelog (revisjon 922)
+++ debian/changelog (arbeidskopi)
@@ -36,6 +36,8 @@
* Fix typo in init.d/README. (Closes: #387236)
* Add /usr/bin/ to the checkroot and checkfs PATH, to make sure
on_ac_power is used if it is available.
+ * Modify mtab.sh to insert the device name used when mounting
+ /dev/shm/ in /etc/mtab. (Closes: #387216)
-- Petter Reinholdtsen <pere at debian.org> Mon, 11 Sep 2006 00:44:44 +0200
Index: debian/initscripts/etc/init.d/mtab.sh
===================================================================
--- debian/initscripts/etc/init.d/mtab.sh (revisjon 921)
+++ debian/initscripts/etc/init.d/mtab.sh (arbeidskopi)
@@ -119,7 +119,7 @@
# S04mountdevsubfs
SHM_OPT=
[ "${SHM_SIZE:=$TMPFS_SIZE}" ] && SHM_OPT="-osize=$SHM_SIZE"
- domtab tmpfs /dev/shm "devshm" $SHM_OPT
+ domtab tmpfs /dev/shm tmpfs $SHM_OPT
domtab devpts /dev/pts "devpts" -onoexec,nosuid,gid=$TTYGRP,mode=$TTYMODE
# Add everything else in /proc/mounts into /etc/mtab, with
More information about the Pkg-sysvinit-devel
mailing list