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

Re: /tmp is too small



2012/6/7 Hendrik Boom <hendrik@topoi.pooq.com>:
> I need more space for /tmp.  I though, easy, I'll just take out the /tmp
> entry in /etc/fstab so that it doesn't mount anything on /tmp and uses
> the the space on the root partition, which has more than room enough.
> But then I discover that in my newly installed wheezy system, there *is*
> no /etc/fstab entry for /tmp.  Apparently the kernel, all  by itself,
> decides to mount the tmpfs on /tmp.
>
> How can I get it not to do this?
>
Edit /etc/default/rcS and switch RAMTMP=yes to RAMTMP=no.

If you're on a workstation, it should be fine as-is.
If you're on a server, I suggest you mount a /tmp using /etc/fstab
anyway, just to make sure that no user can overflow your / by filling
/tmp with random data.


> Or alternatively, how can I enlarge the tmpfs?  I need it enlarged from
> anout 200M to about 2G for this week's project.  Yes, that's a lot bigger
> than my RAM.
>
> -- hendrik
>
>
> --
> To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org
> with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
> Archive: [🔎] jqqbf8$vfg$1@dough.gmane.org">http://lists.debian.org/[🔎] jqqbf8$vfg$1@dough.gmane.org
>


Reply to: