Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Deleting files in /tmp
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Other Things Gentoo
View previous topic :: View next topic  
Author Message
chichibabin
Tux's lil' helper
Tux's lil' helper


Joined: 24 Jul 2004
Posts: 133

PostPosted: Sun Dec 12, 2004 2:52 pm    Post subject: Deleting files in /tmp Reply with quote

HI all,
I could do with freeing up some disk space and was wondering if it was safe to delete all files and subdirectories within the /tmp directory?
Cheers,
Sat
Back to top
View user's profile Send private message
perseguidor
Apprentice
Apprentice


Joined: 01 Aug 2004
Posts: 278
Location: West Kingdom of Buenos Aires

PostPosted: Sun Dec 12, 2004 3:39 pm    Post subject: Reply with quote

In my experience, I'd say that is a big no-no. I'm talking about a past experience with rh9, so take this with a grain of salt, but I think some unix sockets reside there. You could end up with X not finding the font server (if you use one) or something like that.

How much space does it take as a whole? You probably can remove most files in it, and perhaps a few directories too, but I'd say not all.

Anything you recognize as a user file should be deletable.
_________________
O make me a mask!
Back to top
View user's profile Send private message
mhodak
Veteran
Veteran


Joined: 15 Nov 2003
Posts: 1218

PostPosted: Sun Dec 12, 2004 6:26 pm    Post subject: Reply with quote

Cleaning /tmp while your system is running will cause problems becasue of sockets (like perseguidor said). It should be safe to clean /tmp at the shutdown. Alternatively, you can use tools like sys-apps/tmpreaper (run it as a cron job), which will clean files in that have not been accessed for certain amount of time.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Other Things Gentoo All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum