[5824] 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 (Johnie Stafford)
Sun Nov 24 09:48:55 1996

Date: Sun, 24 Nov 1996 08:28:02 -0600 (CST)
To: redhat-list@redhat.com
CC: redhat-list@redhat.com
In-reply-to: <3298026D.755BEFA@iceonline.com> (message from Borg on Sun, 24
	Nov 1996 00:08:13 -0800)
From: jms@pobox.com (Johnie Stafford)
Reply-To: jms@pobox.com
Resent-From: redhat-list@redhat.com

>>> On Sun, 24 Nov 1996 00:08:13 -0800, Borg <vladimip@iceonline.com> said:

 b> Is it safe to delete /tmp when I am about to shutdown
 b> the system? Will the file structure under /tmp be automatically
 b> recreated on bootup and when I run new programs that
 b> use /tmp for putting there temporary files?

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. 

	Johnie

-- 
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
 Johnie Stafford           |  Internet E-mail: jms@pobox.com
 KB5YVF - Lafayette, LA    | Ham Radio Packet: kb5yvf@k5arh.#lftla.la.us.noam
                           |          WWW URL: http://www.pobox.com/~jms
           pobox.com for lifetime email -- mail info@pobox.com
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-


--
  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