The UNIX and Linux Forums  

Go Back   The UNIX and Linux Forums > Top Forums > UNIX for Dummies Questions & Answers
.
google unix.com



UNIX for Dummies Questions & Answers If you're not sure where to post a UNIX or Linux question, post it here. All UNIX and Linux newbies welcome !!

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
I need help in creating my first web site? kprescod4158 Shell Programming and Scripting 0 10-18-2007 09:09 PM
creating so's ramesh.jella High Level Programming 6 01-24-2007 10:47 AM
creating directories carlvernon UNIX for Dummies Questions & Answers 3 06-01-2006 02:45 PM
creating domains rmuhammad UNIX for Dummies Questions & Answers 4 11-03-2003 05:47 PM
creating jfs kburrows UNIX for Dummies Questions & Answers 6 10-17-2002 05:16 PM

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 04-24-2007
csgonan csgonan is offline
Registered User
  
 

Join Date: Apr 2007
Posts: 43
creating /var/run

I havn't installed solaris 10 (nor any solaris in a long time). I noticed that during the install the file system layout allowed me to create a swap partition, but there wern't enough partitions to create a /var/run (I am mirroring the disk config of another system). Is /var/run created manually (I didn't set up the other system)?

Thank you very much.
  #2 (permalink)  
Old 04-24-2007
csgonan csgonan is offline
Registered User
  
 

Join Date: Apr 2007
Posts: 43
I read in another post that it is a memory based file system that is created at boot and not something that I have to create. Any further explanations are helpful.

thanks
  #3 (permalink)  
Old 04-25-2007
sysgate's Avatar
sysgate sysgate is offline Forum Advisor  
Unix based
  
 

Join Date: Nov 2006
Location: Bulgaria
Posts: 1,323
No need of manual creation, here's why :
Quote:
/var/run contains system information data describing the system since it was booted. Files under this directory must be cleared (removed or truncated as appropriate) at the beginning of the boot process. Programs may have a subdirectory of /var/run; this is encouraged for programs that use more than one run-time file.
/var/run should be unwritable for unprivileged users (root or users running daemons); it is a major security problem if any user can write in this directory. Process identifier (PID) files, which were originally placed in /etc, must be placed in /var/run. The naming convention for PID files is <program-name>.pid. For example, the crond PID file is named /var/run/crond.pid.
Hope this helps.
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 07:38 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