LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
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 06-19-2008, 01:54 AM   #1
wrapster
Member
 
Registered: May 2008
Posts: 155

Rep: Reputation: 30
Why are so many dirs used in solaris hierarchy?


Hi all,

I would like to know the difference between the different dir structures present in solaris!!!

Meaning what does /usr contain, /etc ,/opt/ ,so on...
I know what /usr and /etc are used for.
But why are /opt /bin /sbin /var and many more that i have missed

I would appreciate if anyone can direct me to a link where i can have extensive study of all these dirs.

thanks
 
Old 06-19-2008, 02:10 AM   #2
grizly
Member
 
Registered: Nov 2006
Location: Melbourne Australia
Distribution: Centos, RHEL, Debian, Ubuntu, Mint
Posts: 128

Rep: Reputation: 16
A few seconds with good old google gave me this:

Quote:
/ (root)

The directory located at the top of the Unix file system. It is represented by the "/" (forward slash) character.

/usr Contains commands and programs for system-level usage and administration.

/var Contains system log files and spooling files, which grow in size with system usage.

/home Contains user home directories.

/opt Contains optional third-party software and applications.

/tmp Contains temporary files, which are cleared each time the system is booted.

/proc Contains information about all active processes.
On linux, /sbin contains special binary files, used for system administration tasks etc.
/bin, is normal binary files.
/lost+found is a good one.. you find that with ext2 filesystems after a fsck has found errors.
http://www.softpanorama.org/Solaris/...tructure.shtml
I'm sure there is more out there.. Try reading "Solaris Administration" guides..
 
Old 06-19-2008, 02:11 AM   #3
syg00
LQ Veteran
 
Registered: Aug 2003
Location: Australia
Distribution: Lots ...
Posts: 21,119

Rep: Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120
I'm starting on OpenSolaris and found this handy.
The "Intro part 1" should help for this particular query.
 
Old 06-19-2008, 02:55 AM   #4
wrapster
Member
 
Registered: May 2008
Posts: 155

Original Poster
Rep: Reputation: 30
Hi,

Thank you syg00 ,this is really a nice piece of searching that youve done.
It have everything i want.

Thanks once again!!!
 
Old 06-19-2008, 03:13 AM   #5
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
The filesystem hierarchy is also well documented in the manual pages.

Just run: "man filesystem"
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
[SOLVED] Distribution Hierarchy Mustafa^Qasim Linux - Newbie 2 02-24-2007 09:16 PM
typical hierarchy of files sycamorex Linux - General 1 08-09-2006 09:59 AM
Function Level Hierarchy Mistro116@yahoo.com Programming 4 11-27-2005 04:30 PM
#include hierarchy Mistro116@yahoo.com Programming 2 11-27-2005 11:50 AM
Creating a group hierarchy? statuszero Linux - Security 5 07-16-2004 03:18 PM

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

All times are GMT -5. The time now is 10:43 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