LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices

Reply
 
Search this Thread
Old 12-12-2003, 08:12 AM   #1
alfredh
Member
 
Registered: Nov 2003
Distribution: Mandriva PWP 2009i586
Posts: 111

Rep: Reputation: 15
Anything in the SuSE 8.2 tmp directory that can't be deleted?


Is there anything in the SuSE 8.2 or Linux in general "tmp" directory that can not be deleted?
The reason being that for the 3rd time the system has managed to built up to the point through patch downloads that it will not boot into the GUI anymore.

Why would a full directory cause the stop of booting into the gui?

Don't the directories just simply dynamically expand? Or is there the default maximum size?

I had to reinstall Linux 3 times now over the last 2 months for the same issue and it takes a fair while to then get it back where I had it before.

Any suggestions would be helpful
 
Old 12-13-2003, 06:21 AM   #2
pablob
Member
 
Registered: Apr 2003
Location: Madrid
Distribution: RHAS, Kubuntu, Solaris, TRU64
Posts: 381

Rep: Reputation: 31
"Don't the directories just simply dynamically expand? Or is there the default maximum size?"

Well, a directory does not expand. It holds things inside till the limits of the partition.

Maybe your problem is that you have a separate file system for /tmp (which is a good and normal thing), and it is filled up.

You can get to know it by:
# df -k
# mount

As a general rule, you can safely delete FILES (not directories) from /tmp when them dates are older than the actual date.
And for directories ... well, should use common sense: something like:

/tmp/install104.dir seems pretty "erasable", but there are other things that "live" there as a result of common use of Xwindows environment:

Look my tmp:

1872218249/
kde-root/
mcop-pablob/
synaptics/
jpsock.141.1759=
ksocket-pablob/
orbit-pablob/
xmms_pablob.0=
kde-pablob/
ksocket-root/
scrollkeeper-tempfile.0*

the only directory I'd erase would be 1872218249

You can also see their occupation. Directories under tmp with large MB's use to be install temp dirs safely erasable.

# cd /tmp
# du -sh *

Last edited by pablob; 12-13-2003 at 06:23 AM.
 
Old 12-14-2003, 03:24 AM   #3
alfredh
Member
 
Registered: Nov 2003
Distribution: Mandriva PWP 2009i586
Posts: 111

Original Poster
Rep: Reputation: 15
pablob

Thanks for your reply....
These commands are being added to the daily expanding list :-)
The explanation gives me an idea now how to treat this directory which is not the same as a "temp" directory in Windows.....
Will be using those commands tonight and see :-)
 
Old 12-14-2003, 03:41 AM   #4
alfredh
Member
 
Registered: Nov 2003
Distribution: Mandriva PWP 2009i586
Posts: 111

Original Poster
Rep: Reputation: 15
Quick update

Just had another look and all the files just show small 4k size files whose dates are the dates of the OS installation.
You were spot on and it was the partition that was full. It's just that tmp is used in the intial boot up that Linux reported it as the reason of the GUI start-up failure.

Thanks again for your help :-)
 
  


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
getting files deleted on /tmp ines Linux - General 13 01-28-2005 03:35 AM
/tmp files being deleted new@linux Linux - Newbie 2 12-30-2004 01:51 PM
tmp directory being deleted jpokrzyk Linux - General 3 10-30-2004 06:42 PM
write permissions for directory - not accidently move/deleted the directory linuxgamer Linux - Newbie 10 12-02-2003 03:04 AM
/tmp directory Bobmeister Linux - General 3 06-01-2003 04:32 PM


All times are GMT -5. The time now is 08:06 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