[Pkg-sysvinit-devel] Bug#665995: installer: RAMTMP=no doesn't work still get /tmp as ramfs

Roger Leigh rleigh at codelibre.net
Thu Mar 29 09:16:41 UTC 2012


On Wed, Mar 28, 2012 at 01:14:44PM -0600, Paul E Condon wrote:
> On 20120328_103231, Roger Leigh wrote:
> > On Tue, Mar 27, 2012 at 11:10:42AM -0600, Paul E Condon wrote:
> > > On a wheezy machine 
> > > changing /etc/default/rcS from RANTMP=yes to RAMTMP=no and rebooting 
> > > still gives /tmp as a ramfs. The wheezy host is i686 pentium. Wheezy was 
> > > installed. not upgraded. I don't have email properly installed so this 
> > > report is from one of my squeeze hosts.
> > 
> > Is there an entry for /tmp in /etc/fstab?  Setting RAMTMP=no won't
> > affect mounts in /etc/fstab?
> 
> I gather from your first question that having /tmp be a mountpoint
> with a physical storage device mounted on it is required. This has
> not been the case before wheezy, I think.

This is not the case.  I'm simply saying that if there is an entry
in /etc/fstab, then remove it to prevent anything being mounted.
The RAMTMP setting only has an effect when there are no fstab
entries--the fstab entry (if any) will override the RAMTMP setting.

If you have set RAMTMP=no and you don't have an entry in
/etc/fstab, and tmpfs is still being mounted on /tmp, then
something is quite wrong!

> I notice that the root file system on wheezy is making use of a kernel
> feature called rootfs. I do not understand rootfs, but I wonder if
> this use of rootfs may contribute to my problem. 

No, it's also present in squeeze and perhaps even lenny.  The only
change is that it's now shown in the mount output.  Look at
/proc/mounts.  The only change here is that /etc/mtab is now a
symlink to /proc/mounts, and it used to be missing from /etc/mtab.
It's just showing something that has always been there if you
use an initramfs for booting--the change is purely cosmetic.


Regards,
Roger

-- 
  .''`.  Roger Leigh
 : :' :  Debian GNU/Linux    http://people.debian.org/~rleigh/
 `. `'   schroot and sbuild  http://alioth.debian.org/projects/buildd-tools
   `-    GPG Public Key      F33D 281D 470A B443 6756 147C 07B3 C8BC 4083 E800





More information about the Pkg-sysvinit-devel mailing list