LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Other *NIX Forums > Solaris / OpenSolaris
User Name
Password
Solaris / OpenSolaris This forum is for the discussion of Solaris, OpenSolaris, OpenIndiana, and illumos.
General Sun, SunOS and Sparc related questions also go here. Any Solaris fork or distribution is welcome.

Notices


Reply
  Search this Thread
Old 09-28-2006, 05:43 AM   #1
linuxtesting2
Member
 
Registered: Mar 2004
Location: Norway
Distribution: Freebsd, Fedora, Redhat, Solaris 10
Posts: 169

Rep: Reputation: 30
SMF log directories


Hi.


x86
Solaris 10


SMF logging...


What is the difference between the following to log directories, and how and why are there log`s in both ?

/var/svc/log/
/etc/svc/volatile/

I have the same files in both, but the log information is not the same.



Ole
 
Old 09-28-2006, 11:00 AM   #2
jlliagre
Moderator
 
Registered: Feb 2004
Location: Outside Paris
Distribution: Solaris 11.4, Oracle Linux, Mint, Debian/WSL
Posts: 9,789

Rep: Reputation: 492Reputation: 492Reputation: 492Reputation: 492Reputation: 492
/etc/svc/volatile is for "volatile logs", i.e. logs that need not persist across reboots.

This directory is actually mounted on swap like /tmp.

The other directory is for regular persisting logs.
 
Old 09-28-2006, 11:16 AM   #3
linuxtesting2
Member
 
Registered: Mar 2004
Location: Norway
Distribution: Freebsd, Fedora, Redhat, Solaris 10
Posts: 169

Original Poster
Rep: Reputation: 30
Thanks for clearing that.

Ole
 
  


Reply



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 Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
svc / smf questions linuxtesting2 Solaris / OpenSolaris 11 08-29-2008 10:03 AM
Smf linuxtesting2 Solaris / OpenSolaris 1 08-23-2006 09:39 AM
questions about installation, and smf linuxtesting2 Solaris / OpenSolaris 1 06-13-2006 03:57 PM
Changing ownership of directories; /var/log/messages questions Micro420 Linux - General 6 04-21-2006 08:39 PM
Do we need to create the log and db directories by ourselves Niceman2005 Linux - Software 0 11-17-2004 09:08 PM

LinuxQuestions.org > Forums > Other *NIX Forums > Solaris / OpenSolaris

All times are GMT -5. The time now is 05:04 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration