[5843] in RedHat Linux List

home help back first fref pref prev next nref lref last post

Re: Is it safe to rm /tmp?

daemon@ATHENA.MIT.EDU (Borg)
Sun Nov 24 14:02:34 1996

Date: Sun, 24 Nov 1996 11:00:04 -0800
From: Borg <vladimip@iceonline.com>
To: Red Hat Mailing List <redhat-list@redhat.com>
Resent-From: redhat-list@redhat.com
Reply-To: redhat-list@redhat.com

Johnie Stafford wrote:
........
> Only if you put something in the bootup process to recreate it. I
> delete /tmp and recreate it early in the boot process. Under the
> RedHat init scheme I'd say right after /etc/mtab get cleared. Its
> probably in rc.sysinit.
> 
> # Clear /tmp
> rm -fr /tmp
> mkdir /tmp
> chmod 1777 /tmp
> 
>  b> What's a recommended partition size for /tmp? Is 4
>  b> MB enough for everything that I can possibly do?
> 
> I just leave /tmp as part of my root file system.

Yes, and I want /tmp mounted in memory using ramdisk. When
I shutdown, memory gets emptied and I was just wondering if
all those directories and files:

[root@borg /]# ls -a /tmp
.                 doex1095          doex4910          smt.tmp
..                doex13739         doex776          
nsform328E8DF130F06C3
.X0-lock          doex17990         doex9253         
nsform328E8DFC31006C3
.X11-unix         doex2155          doex9327          psdevtab
.axsc13           doex22552         glint.gif         screens
.cdaudio          doex28088         html.ag           tksysv

will be re-created automatically on the next system bootup,
or do I need to run a script in order to re-create them
with "mkdir" and "touch" and if yes, which ones and in what
consequence. That's why I also asked about a recommended
size for /tmp.

-- 
#include <disclaimer.h>  |   *Good pings come in small packets*
     Vlad Petersen       |     Linux: multiuser, multitasking,
     Vancouver, B.C      |     multiplatform, 64-bit and free.
vladimip @ iceonline.com | Ceterum censeo Microsoftam delendam esse


--
  PLEASE read the Red Hat FAQ, Tips, Errata and the MAILING LIST ARCHIVES!
  ________________________________________________________________________
  http://www.redhat.com/RedHat-FAQ   http://www.redhat.com/RedHat-Errata
  http://www.redhat.com/RedHat-Tips  http://www.redhat.com/mailing-lists
  ------------------------------------------------------------------------
To unsubscribe: mail -s unsubscribe redhat-list-request@redhat.com < /dev/null


home help back first fref pref prev next nref lref last post