LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices

Reply
 
Search this Thread
Old 01-15-2007, 11:59 AM   #16
pbhj
Member
 
Registered: Dec 2002
Location: UK
Distribution: Slackware 12; Ubuntu 7.10
Posts: 358

Rep: Reputation: 31
rc.local


Quote:
Originally Posted by jong357
Well, who says /tmp should be cleared on shutdown?
Well, rc.local then?!
 
Old 01-15-2007, 12:35 PM   #17
jong357
Senior Member
 
Registered: May 2003
Location: Columbus, OH
Distribution: DIYSlackware
Posts: 1,914

Rep: Reputation: 52
rc.local gets called from rc.S....

rc.S is the place for it!!!!! Hell, you could put it in rc.alsa, and it'll still work.

It does take awhile on bootup tho if you have lots of stuff in there and your using an old computer. That's why I echo "cleaning /tmp" so your not sitting there wondering what's going on.

Would you rather wait to bootup or wait to shutdown/reboot. Either way your waiting...

Last edited by jong357; 01-15-2007 at 12:36 PM.
 
Old 01-15-2007, 12:39 PM   #18
Crobat
Member
 
Registered: Dec 2005
Distribution: Slackware 10.2, Slackware 11.0
Posts: 135

Rep: Reputation: 15
Quote:
Originally Posted by jong357
Would you rather wait to bootup or wait to shutdown/reboot. Either way your waiting...
Shutdown. Normally if I shutdown, I'm turning off my laptop for some reason. However, on a PC, it really doesn't matter.

Sorry, sugar rush makes me answer rhetorical questions as logically as possible, or something.
 
Old 01-15-2007, 01:55 PM   #19
Chikne
Member
 
Registered: Jul 2006
Distribution: Slackware 11
Posts: 140

Rep: Reputation: 15
My /tmp was kind of filling up the other day, I didn't know it could be unsafe to do it while running the OS but no harm was done....
 
Old 01-15-2007, 02:39 PM   #20
jong357
Senior Member
 
Registered: May 2003
Location: Columbus, OH
Distribution: DIYSlackware
Posts: 1,914

Rep: Reputation: 52
The only deal is that you'll remove some sockets related to X. So things will stop working until you restart the X server. Not sure if .{ICE,X11}-unix will be recreated upon startx or not. I believe they are. If that's the case then you don't have to reboot at all. Just log out and then log back in.

It's completely harmless to remove the contents of /tmp in a 'standard' situation, atleast that I'm aware of anyway. A little too much FUD here concerning this.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Is it OK to delete everything in /tmp? forrest44 Slackware 12 11-15-2005 10:47 PM
2 gigabyte /tmp directory..ok to delete contents pAn1k Linux - Newbie 3 09-02-2004 09:56 AM
How do I delete /tmp partition? akihandyman Mandriva 4 08-08-2004 02:38 PM
file:/tmp - mysterious contents. Rm, or not rm? linuxfond Linux - Newbie 5 06-12-2004 02:00 PM
Delete all in /tmp ??? shreev Slackware 5 08-07-2003 04:12 PM


All times are GMT -5. The time now is 02:12 AM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration