Logo 
Search:

Unix / Linux / Ubuntu Forum

Ask Question   UnAnswered
Home » Forum » Unix / Linux / Ubuntu       RSS Feeds

Missing /tmp files

  Date: Jan 08    Category: Unix / Linux / Ubuntu    Views: 501
  

I copied a bunch of files in the /tmp folder (Ubuntu 9.10) and
after I rebooted, they were gone. There are 5 folders there though
that are persistent.

Does the /tmp directory get flushed after a logout/reboot? I put
the files there thinking it was a "temporary" place I could write to
but perhaps that was an ignorant assumption on my part?

Share: 

 

4 Answers Found

 
Answer #1    Answered On: Jan 08    

You were correct that /tmp is a place where you can temporarily store
files. The mistake was in rebooting, and assuming they would still be
there. I think there is a configuration option that controls whether
/tmp is cleaned on bootup, but I don't recall the details ATM. I'm sure
google knows though.

 
Answer #2    Answered On: Jan 08    

I really don't know the structure of Linux and
it didn't even occur to me that a openable/writeable directory
would do that to data. No important work lost, just time so I'll
chock it up to a lesson learned and next time put it in a home
folder.

 
Answer #3    Answered On: Jan 08    

though they may be a preference setting to tic that disables the

empty of /tmp on reboot. If I had my Ubuntu PC here I could check it for a
more positive answer. Or put a tmp directory in your /home directory for
saving
temporary files.

Marty

 
Answer #4    Answered On: Jan 08    

Sorry, I don't use windoze, so I'm no help there. Is windoze already
installed?

As for ubuntu, why do you want to install an outdated version? Support
for 8.10 ends in a few weeks, and almost nobody is still running it, so
it will be hard to get help. I recommend you go with the current version
of ubuntu, 10.04, which will be supported for 3 years. (the server
version will be supported for 5 years).

 
Didn't find what you were looking for? Find more on Missing /tmp files Or get search suggestion and latest updates.




Tagged: