The UNIX and Linux Forums  

Go Back   The UNIX and Linux Forums > OS Specific Forums > SUN Solaris
Google UNIX.COM


SUN Solaris The Solaris Operating System, usually known simply as Solaris, is a free Unix-based operating system introduced by Sun Microsystems .

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
How to read a particular line in a file with 500000 records init mhssatya Shell Programming and Scripting 6 09-09-2006 05:37 PM
Please Help. Strings in file 1 need to be searched and removed from file 2 mjs3221 Shell Programming and Scripting 4 08-18-2006 12:13 PM
init file for emacs editor annemar UNIX for Dummies Questions & Answers 0 10-18-2005 12:39 AM
Init 6 & Init 0 problem sc2005 UNIX for Advanced & Expert Users 6 09-06-2005 07:36 AM
What file contains boot up init details? emplate HP-UX 4 05-04-2005 06:09 AM

Reply
 
Submit Tools LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 12-05-2005
Registered User
 

Join Date: Dec 2005
Posts: 3
Stumble this Post!
after init all /tmp file has been removed

I'm new in Solaris server
After the system support reboot the Solaris server, all the files in /tmp has been removed, is that normal under Solaris or under different init level will get different result?
which init level will do that?
Reply With Quote
Forum Sponsor
  #2 (permalink)  
Old 12-05-2005
pressy's Avatar
solaris cultist
 

Join Date: Aug 2003
Location: Vienna / Austria (Europe) [EARTH]
Posts: 712
Stumble this Post!
when you have a look at you /tmp in your /etc/vfstab you will see that /tmp is mounted from swap as a tmpfs filesystem, a memory based file system:
see "man tmpfs"


gP
Reply With Quote
  #3 (permalink)  
Old 12-05-2005
Registered User
 

Join Date: Oct 2002
Posts: 670
Stumble this Post!
You can dedicate a real filesystem slice to /tmp and that won't occur.
Reply With Quote
  #4 (permalink)  
Old 12-05-2005
Registered User
 

Join Date: Dec 2005
Posts: 3
Stumble this Post!
/tmp ont cleanup in hp

Quote:
Originally Posted by dangral
You can dedicate a real filesystem slice to /tmp and that won't occur.
Thanks, fyi, I get another hp unix, the /tmp is not being cleanup after reboot the server

Is that the ideas is how the /tmp mapping into the harddisk or memory ?
not related to OS right?

TT
Reply With Quote
  #5 (permalink)  
Old 12-05-2005
andryk's Avatar
Registered User
 

Join Date: Sep 2003
Posts: 448
Stumble this Post!
You might have a look at /etc/rc.config.d/clean_tmps which defines such a behavior on a hp system ...
Reply With Quote
  #6 (permalink)  
Old 12-06-2005
Registered User
 

Join Date: Dec 2005
Posts: 3
Stumble this Post!
Quote:
Originally Posted by andryk
You might have a look at /etc/rc.config.d/clean_tmps which defines such a behavior on a hp system ...
I check it, that is correct, is that mean not depened on setup not the file system right? or both?
Reply With Quote
Google The UNIX and Linux Forums
Reply

Thread Tools
Display Modes




All times are GMT -7. The time now is 04:51 PM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited.
The UNIX and Linux Forums Content Copyright ©1993-2008 The CEP Blog All Rights Reserved -Ad Management by RedTyger Visit The Global Fact Book

Content Relevant URLs by vBSEO 3.2.0