Re: Ext2 bit rot



On 20120327_065717, Dom wrote:
On 27/03/12 03:15, Paul E Condon wrote:
On 20120326_135131, Stan Hoeppner wrote:
On 3/26/2012 12:29 PM, Paul E Condon wrote:

So how do I turn off ramfs on a wheezy box where it was installed as
part of the initial net-inst install, and seems to be involved it
the proper functioning of the file system root ( / ) ???

You don't "turn off" tmpfs as it's used by other system functions. You
simply want to mount /tmp on a different (real) filesystem. As I
mentioned above, try unmounting /tmp and then creating a /tmp with the
permissions I mentioned above. Then search for the answer to disabling
the system level mount of /tmp on tmpfs.

This has been mentioned here quite recently.

Edit /etc/default/rcS.

At the end of the file you will find this entry:

# mount /tmp as a tmpfs
RAMTMP=yes

Change the "yes" to "no".

Reboot.

This will only affect /tmp. There are other entries for the other
ramfs filesystems, but they take very little memory and so can be as
they are.

--
Dom

Thanks. It works. I feel much better now.

--
Paul E Condon
pecondon@xxxxxxxxxxxxxxxx


--
To UNSUBSCRIBE, email to debian-user-REQUEST@xxxxxxxxxxxxxxxx
with a subject of "unsubscribe". Trouble? Contact listmaster@xxxxxxxxxxxxxxxx
Archive: http://lists.debian.org/20120327155610.GB31546@xxxxxxxxxxx



Relevant Pages

  • Re: /tmp is too small
    ... no /etc/fstab entry for /tmp. ... decides to mount the tmpfs on /tmp. ... was mounted like tmpfs) was filling only when extracting of the plugin was active. ... To UNSUBSCRIBE, email to debian-user-REQUEST@xxxxxxxxxxxxxxxx with a subject of "unsubscribe". ...
    (Debian-User)
  • Kubuntu 5.10 and accessing drives
    ... proc on /proc type proc ... tmpfs on /dev/shm type tmpfs ...
    (Ubuntu)
  • Re: /var/mail -vs- /var/spool/mail
    ... bit more complicated to mount /var/spool/mail than it is to mount /var/mail. ... The way I am doing this is instead of one disk filesystem being the root, ... the sysfs filesystem at /sys. ... It may be a tmpfs filesystem to facilitate this. ...
    (comp.os.linux.setup)
  • Self-destruct in 5 seconds?
    ... trying to use TmpFS for my root so I don't have a hard-coded ramdisk ... echo "Changing mount points..." ... Unmounting old root... ...
    (Linux-Kernel)
  • Re: [PATCH] driver-core: devtmpfs - driver core maintained /dev tmpfs
    ... populated tmpfs is mounted at /dev. ... want the kernel to mess with the initial namespace in such a major way. ... do you really object to moving the "mount dev -t ... sure I can boot an old initramfs with this option enabled. ...
    (Linux-Kernel)