Can I delete all files/directories under /tmp

Robert Brockway robert-5LEc/6Zm6xCUd8a0hrldnti2O/JbrIOy at public.gmane.org
Fri May 14 04:57:22 UTC 2004


On Thu, 13 May 2004, Mel Seder wrote:

> I want to flash everything from /tmp and put mp3's there to burn to a CD.

Flush? :)  Typos, I can talk ;)

> Can that cause any problems?

It can really screw with the sanity of running apps.  Generally not
recommended.

You could use lsof or fuser to see what processes (if any) have particular
files locked and remove them if it is safe to do so.  Don't fill /tmp to
the point where nothing else can write to it.  This will also give you a
bad day.

Preferrable is /var/tmp or another part of the filesystem.

Cheers,
	Rob

-- 
Robert Brockway B.Sc. email: robert-5LEc/6Zm6xCUd8a0hrldnti2O/JbrIOy at public.gmane.org, rbrockway-cFo9iiqjkw8eIZ0/mPfg9Q at public.gmane.org
Linux counter project ID #16440 (http://counter.li.org)
"The earth is but one country and mankind its citizens" -Baha'u'llah
--
The Toronto Linux Users Group.      Meetings: http://tlug.ss.org
TLUG requests: Linux topics, No HTML, wrap text below 80 columns
How to UNSUBSCRIBE: http://tlug.ss.org/subscribe.shtml





More information about the Legacy mailing list