Slackware This Forum is for the discussion of Slackware Linux.
|
| Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
 |
GNU/Linux Basic Guide
This 255-page guide will provide you with the keys to understand the philosophy of free software, teach you how to use and handle it, and give you the tools required to move easily in the world of GNU/Linux. Many users and administrators will be taking their first steps with this GNU/Linux Basic guide and it will show you how to approach and solve the problems you encounter.
Click Here to receive this Complete Guide absolutely free. |
Due to network maintenance being performed by our provider, LQ will be down starting at 05:01 AM UTC. The exact duration of the downtime isn't currently known. We apologize for the inconvenience.
|
 |
11-10-2012, 03:49 PM
|
#1
|
|
Member
Registered: Oct 2012
Location: Holden, ME, USA
Distribution: SlackWare64 14.00
Posts: 185
Rep:
|
/tmp contents gone
So being the idiot I can be sometimes here is what happened:
I just finally got my slackware64 installation multilib setup completed and was deciding lets now reinstall my graphics driver to get those 32bit libraries installed. So I install them and then I switch back to my normal user and find that my /tmp directory is pretty crowded and I can't stand this I examine it slightly and decide lets delete all this junk. I attempt this and fail to delete certain or any items so I switch back to root and do rm -r * the idiot I am for this I can't begin to describe. I have restarted my computer and now everything seems to work fine but is there anything I should worry about?
Last edited by fatalerror0x00; 11-10-2012 at 03:59 PM.
Reason: Fixed previous issue
|
|
|
|
11-10-2012, 04:27 PM
|
#2
|
|
Senior Member
Registered: Apr 2007
Location: Germany
Distribution: Slackware
Posts: 3,856
|
The /tmp directory is empty by default. There are several distribution which wipe /tmp anytime the system boots.
If you don't know about important data which you've stored on /tmp by yourself, there should be no problem.
There are although several applications which use /tmp for their temporary data (hence the name). Also the Slackpackages built from slackbuilds.org are stored in /tmp, so be careful if you use slackbuilds.org.
Markus
|
|
|
|
11-10-2012, 05:34 PM
|
#3
|
|
Member
Registered: Oct 2012
Location: Holden, ME, USA
Distribution: SlackWare64 14.00
Posts: 185
Original Poster
Rep:
|
I'm glad to hear what you said until possibly up til slackbuilds...Isn't anything in /tmp safe for deleting (at least without issue) even if it's slackbuilds? if so then how could this get any worse :P I dont have much I have put on this system but it's how I installed alot of important stuff (like all but one thing that i've installed) :P but i do see no issues with anything installed from a slackbuild as far as i can tell but maybe I'm wrong and didn't install Java through a slackbuild cause I know java works fine I been using I do almost constantly but thanks for your reply 
|
|
|
|
11-10-2012, 05:37 PM
|
#4
|
|
Senior Member
Registered: Apr 2007
Location: Germany
Distribution: Slackware
Posts: 3,856
|
Don't get me wrong, the slackbuilds are built in this directory, once you have installed them you can delete the package. But I have a directory on my systems /usr/local/packages where I store the slackbuild-packages (I've several computers and use only one for package-building).
Markus
|
|
|
|
11-10-2012, 05:45 PM
|
#5
|
|
Member
Registered: Oct 2012
Location: Holden, ME, USA
Distribution: SlackWare64 14.00
Posts: 185
Original Poster
Rep:
|
I see so long as I've installed the slackbuild I'm set then? That sounds better :P cause I checked if I installed Java through slackbuilds and turns out I did so and so I was like well there must be something i just don't understand thank you! 
|
|
|
|
11-13-2012, 06:04 AM
|
#6
|
|
Member
Registered: Jan 2010
Location: Lancashire
Distribution: Slackware Stable
Posts: 527
Rep: 
|
I wouldn't worry about it! I have modified the startup scripts on my home system to clear down anything in /tmp which is older than X days old.
|
|
|
|
11-13-2012, 06:37 AM
|
#7
|
|
Senior Member
Registered: Apr 2007
Location: Germany
Distribution: Slackware
Posts: 3,856
|
Quote:
Originally Posted by devnull10
I wouldn't worry about it! I have modified the startup scripts on my home system to clear down anything in /tmp which is older than X days old.
|
Hello devnull10,
this is a good idea, you should provide the code and tell us how many days X is
Markus
|
|
|
|
11-13-2012, 07:02 AM
|
#8
|
|
LQ 5k Club
Registered: Jan 2006
Location: Oldham, Lancs, England
Distribution: Laptop: Slackware 14.0 // Desktop: Slackware64 14.0 // Netbook: Slackware 14.0
Posts: 6,183
|
Quote:
Originally Posted by markush
Hello devnull10,
this is a good idea, you should provide the code and tell us how many days X is
Markus
|
Ten, if he's using Roman numerals. 
|
|
|
1 members found this post helpful.
|
11-13-2012, 07:04 AM
|
#9
|
|
Member
Registered: Oct 2012
Location: Holden, ME, USA
Distribution: SlackWare64 14.00
Posts: 185
Original Poster
Rep:
|
Yeah I'm not worried about it anymore I reinstalled the OS for other reasons but I also did find out prior to that, that everything works fine after I restarted the OS. Using slackware appartently at restart deletes and recreates files so that makes things simple  . but if you would like please do post your code there for people to see incase there OS doesn't do this so they can clear out there tmp directory. or at least it can clear user files which don't get cleared. So we should say system temp files get deleted at restart. 
|
|
|
|
11-13-2012, 07:25 AM
|
#11
|
|
LQ 5k Club
Registered: Jan 2006
Location: Oldham, Lancs, England
Distribution: Laptop: Slackware 14.0 // Desktop: Slackware64 14.0 // Netbook: Slackware 14.0
Posts: 6,183
|
Quote:
Originally Posted by markush
|
Yeah, mentioned here, too.
|
|
|
1 members found this post helpful.
|
11-13-2012, 07:27 AM
|
#12
|
|
Senior Member
Registered: Apr 2007
Location: Germany
Distribution: Slackware
Posts: 3,856
|
Quote:
Originally Posted by brianL
|
Thanks for the link, I didn't know this thread, but sounds good
Markus
|
|
|
|
11-13-2012, 07:38 AM
|
#13
|
|
LQ 5k Club
Registered: Jan 2006
Location: Oldham, Lancs, England
Distribution: Laptop: Slackware 14.0 // Desktop: Slackware64 14.0 // Netbook: Slackware 14.0
Posts: 6,183
|
If anybody has any useful scripts, such as that mentioned by devnull10, please consider writing an article/HOWTO for the Slackware Documentation Project. Thanks.
http://docs.slackware.com/slackdocs:contributing
|
|
|
|
| Thread Tools |
Search this Thread |
|
|
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
All times are GMT -5. The time now is 09:40 PM.
|
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|