[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Ext2 bit rot



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


Reply to: