Managing Slackware - /tmp directory
My /tmp direcotry contains a lot of directory with strange name like lu6qsnb[a-z]... and files like virtuoso-*.ini
Can you tell me what are those files doing, why are they created, and is it safe to remove them? Thanks in advance. |
The virtuoso-*.ini are created by virtuoso when running KDE, of which one will be relevant while the KDE session is running. Not sure about the lu* files.
They can all be safely deleted. Anything in /tmp is a temporary file that can be regenerated if required. |
Thanks. I just delete all those and everything seems fine.
|
I use tmpwatch myself. ;)
|
A lot of Slackers put the following line in /etc/fstab:
Code:
tmpfs /tmp tmpfs defaults 0 0 |
what is the diferences between
Code:
tmpfs /tmp tmpfs defaults 0 0 Code:
tmpfs /dev/shm tmpfs defaults 0 0 |
First first mounts /tmp on a RAM drive. The second mounts /dev/shm on a RAM drive. I have both lines in my fstab.
|
Quote:
Maybe Pat really does know what's best for me. :) |
Quote:
|
Quote:
You are correct, of course: Code:
tmpfs /dev/shm tmpfs defaults 0 0 |
@trainee: You might find this useful http://docs.slackware.com/howtos:gen...ree_your_space
|
Quote:
And then you can make your web browser store its cache there... ;) |
Quote:
Code:
tmpfs /tmp tmpfs size=4G,mode=777 0 0 |
Quote:
Otherwise after a couple of months of uptime you start having issues with things that need to write in /tmp, and then you end up having to use tmpwatch in any case. |
Quote:
|
All times are GMT -5. The time now is 10:47 PM. |