The UNIX and Linux Forums  


Go Back   The UNIX and Linux Forums > Operating Systems > 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 09: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 04:13 PM
init file for emacs editor annemar UNIX for Dummies Questions & Answers 0 10-18-2005 04:39 AM
Init 6 & Init 0 problem sc2005 UNIX for Advanced & Expert Users 6 09-06-2005 11:36 AM
What file contains boot up init details? emplate HP-UX 4 05-04-2005 10:09 AM

Closed Thread
English Japanese Spanish French German Portuguese Italian Dutch Swedish Russian Norwegian Hungarian Hebrew Danish Bulgarian Greek Powered by Powered by Google
 
LinkBack Thread Tools Search this Thread Rate Thread Display Modes
  #1 (permalink)  
Old 12-05-2005
yesthomas yesthomas is offline
Registered User
  
 

Join Date: Dec 2005
Posts: 3
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?
  #2 (permalink)  
Old 12-05-2005
pressy's Avatar
pressy pressy is offline Forum Staff  
solaris cultist
  
 

Join Date: Aug 2003
Location: Vienna / Austria (Europe) [EARTH]
Posts: 726
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
  #3 (permalink)  
Old 12-05-2005
dangral dangral is offline Forum Advisor  
Registered User
  
 

Join Date: Oct 2002
Posts: 699
You can dedicate a real filesystem slice to /tmp and that won't occur.
  #4 (permalink)  
Old 12-06-2005
yesthomas yesthomas is offline
Registered User
  
 

Join Date: Dec 2005
Posts: 3
/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
  #5 (permalink)  
Old 12-06-2005
andryk's Avatar
andryk andryk is offline Forum Advisor  
Registered User
  
 

Join Date: Sep 2003
Posts: 448
You might have a look at /etc/rc.config.d/clean_tmps which defines such a behavior on a hp system ...
  #6 (permalink)  
Old 12-06-2005
yesthomas yesthomas is offline
Registered User
  
 

Join Date: Dec 2005
Posts: 3
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?
Closed Thread

Bookmarks

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes Rate This Thread
Rate This Thread:

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 On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On




All times are GMT -4. The time now is 02:28 AM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited. Language Translations Powered by .
vBCredits v1.4 Copyright ©2007 - 2008, PixelFX Studios
The UNIX and Linux Forums Content Copyright ©1993-2009. All Rights Reserved.Ad Management by RedTyger

Content Relevant URLs by vBSEO 3.2.0