Results 1 to 3 of 3
Hi,
I thought to keep my Lenny nice and clean, I'll create a separate partition for /tmp
In which I created a folder for my downloads and temporary files.
Files ...
- 08-23-2010 #1Just Joined!
- Join Date
- Oct 2008
- Posts
- 32
[SOLVED] my folder in /tmp keeps dissappearing
Hi,
I thought to keep my Lenny nice and clean, I'll create a separate partition for /tmp
In which I created a folder for my downloads and temporary files.
Files that usually I keep for a short period of time, then delete them.
Only I got this problem:
Every time I restart the pc, that folder is gone.
How do I make it stay there after rebooting?
Thanks.
- 08-24-2010 #2
The /tmp folder is kind of a reserved directory for the system. Anybody may write to it, but it is cleared by the system on reboot, as intended by the inventor. So you should create the folder somewhere else if you wish to save it over reboots.
That said, you can probably locate the command emptying the directory somewhere in the startup-scripts in /etc/rc.S.Debian GNU/Linux -- You know you want it.
- 08-25-2010 #3
Most modern distros implement /tmp as a ramdisk (tmpfs), which is why it disappears. If you feel brave, you could edit the relevant line in /etc/fstab so that an actual disk partition gets mounted there.
"I'm just a little old lady; don't try to dazzle me with jargon!"



