Solaris File System Layout & Commands

/

$HOME

 

savecore-directory

 

bin

Commands needed for minimal system operability.

cdrom-mount-pt

 

dev

Device entries for terminals, disks, modems, etc.
Logical symbolic links to /devices

devices

Device nodes directory

etc

Crtitical startup and configuration files.

kernel

Files needed to load the kernel (Solaris).

lib

Libraries for the C compiler.

platform

 

proc

Images of all running processes (some newer systems).

quotas

Quota file at the file system root used by edquota.

sbin

Commands needed for minimal system operability.

stand

Stand-alone utilities, disk formatters, diagnostics, etc.

sys

Kernel-building work area, configuration files (BSD).

tmp

Temporary files that disappear between reboots.

usr

 

var

 


/  $HOME

.Plan

User's plans.

.project

User's projects.


/  savecore-directory

minfree

File specifying the minimum free space to leave in the file sytem where the savecore directory is located.


/  bin

busstat

Report Bus-Related Performance Statistics

captoinfo

Convert a termcap Description into a terminfo Description

coreadm

Core File Administration

dd

Convert and Copy a file.

df

Display Number of Free Disk Blocks and Files

devattr

Display Device Attributes

devfree

Release Devices from Exclusive Use

devreserv

Reserve Devices for Exclusive Use

dmesg

Collect System Diagnostic Messages to Form Error Log

domainname

Display or Set Name of the Current Domain

fdetach

Detach a Name from a STREAMS-Based File Descriptor

getdev

List Devices Based on Criteria

getent

Get Entries from Administrative Database


/  cdrom-mount-pt/

 


/  dev/

.devfsadm_dev.lock

Update lock file.

.devfsadm_daemon.lock

Daemon lock file.

.devfseventd_daemon.lock

Update lock file.

dsk

Disk devices.

dump

Special device dump file.

fbs

 

ksyms

System namelist.

mem

System image of currently running system.

openprom

Device file.

rdsk

 

/  dev/  fbs

ffb0

Device special file used with ffbconfig.

/  dev/  rdsk

c?[t?]d?p0

The raw device

c?[t?]dv[ps]?

The raw device for diskscan

c0t0d0p0

Raw device associated with the fixed disk.


/  devices

central@1f,0

 

fhc@*,f8800000

 

/  devices/  central@1f,0

fhc@*,f8800000

 

/  devices/  central@1f,0/  fhc@*,f8800000

clockboard@0,900000:slot*

Attachment points

/  devices/  fhc@*,f8800000

ac@0,10000000:bank?

Attachment points


/  etc

aliases

Mail aliases for the local host in ASCII format.

asppp.cf

Configuration file for aspppd

auto_home

Map to support automounted home directories.

auto_master

Master automount map.

coreadm.conf

Stores the parameters for system core file configuration.

cron.d

Main cron directory.

default

 

defaultdomain

Stores the system's NIS domain name.

device.tab

Device table. Used by devattr, devfree.

devlkfile

Device lock file.

dfs

 

dgroup.tab

Device group table.

dhcp

 

dmi

 

driver_aliases

Driver aliases file

driver_classes

Driver classes file

dumpadm.conf

ASCII file containing configuration parameters for a system crash dump.

ethers

Ethernet address to host-name datbase or domain.

format.dat

Default data file for format.

ftpusers

File listing users for whom FTP login privileges are disallowed.

group

Group file.

hosts

Host-name database

inet

 

init.d

 

inittab

Table in which the init default state is specified.

iu.ap

Contains a prespecified list of modules that can be pushed onto streams device if the STREAM is not already opened.

log

 

mail

 

minor_perm

Minor node permissions

mnttab

Mount table. List of file systems currently mounted. Used by devnm.

name_to_major

Major number binding

netmasks

Network-mask database.

networks

Network-name database.

nsswitch.conf

The nameservice switch configuration file.

openwin

 

passwd

System password file.
Used for login name to user ID conversions

printcap

SunOS 4.x printer capability database.

printers.conf

System printer configuration database.

protocols

Protocol-name database.

rc0.d

 

rcS.d

 

resolv.conf

Configuration file for name server routines. List of nameservers for BIND lcients to query.

security

 

services

Internet services and aliases.

ttydefs

Terminal line setting information for ttymon.

uucp

 

vfstab

List of default parameters for each file system.

/  etc/  audit

server

 

/  etc/  audit/server

files

Location where audit trails are stored

/  etc/  cron.d

FIFO

Used as a lock file.

logchecker

Moves log file to /var/cron/olog if log file exceeds system ulimit.

queuedefs

Queue description file for at, batch and cron.

/  etc/  default

cron

Contains cron default settings.

dhcp

DHCP service configuration file.

dhcpagent

Contains default values for tunable parameters for dhcpagent.

fs

Default local file system type.

ftpd

File that is used to configure the FTP banner.

/  etc/  dfs

fstypes

List of the default file-system types for remote file systems.

/  etc/  dhcp

if.dhc

Contains the configuration for the dhcp interface.

/  etc/  dmi

conf

 

/  etc/  dmi/  conf

dmispd.conf

DMI Service Provider Configuration file.

/  etc/  inet

hosts

File or NIS+ table.

/  etc/  init.d

coreadm

Startup script that restores the core file configuration that was in effect before reboot.

devfsadm

Daemon start/stop script.

dhcp

DHCP startup file.

inetinit

Startup script that initiates the second phase of TCP/IP configuration.

savecore

Startup script that configures a savecore file.

/  etc/  log

asppp.log

Message log file for aspppd

/  etc/  mail

aliases

ASCII mail aliases file

sendmail.cf

Environmental definitions and Configuration file for sendmail

/  etc/  openwin

server

 

/  etc/  openwin/  server

etc

 

/  etc/  openwin/  server/  etc

OWconfig

Local Open Windows configuration file.

/  etc/  rc0.d

K83devfsadm

Link to init.d script..

/  etc/  rcS.d

S50devfsadm

Link to init.d script..

/  etc/  security

audit_class

System file that stores class definitions.

audit_control

Contains audit control information used by auditd.

audit_event

Stores event definitions and specifies the event to class mappings.

audit_startup

Audit Subsystem Initializat Script

audit_user

An access-restricted database that stores per-user auditing preselection data

audit_warn

Audit Daemon Warning Script

bsmconv

Enable the Basic Security Module (BSM

bsmunconv

Disable the Basic Security Module (BSM

device_allocate

Mandatory access control information about each physical device.

device_maps

Access control information about each physical device.

dev

Directory that contains security device files.

lib

Directory that contains security executables.

/  etc/  uucp

Devices

Contains information for all the devices that can be used to establish a link to a remote computer.

Dialers

Contains dialing instructions for many commonly used modems.

Sysfiles

Enables you to assign different files to be used by uucp and cu as Systems, Devices and Dialers files.

Systems

Contains the information needed by the uucico daemon to establish a communication link to a remote computer.


/  kernel

drv

Boot device drivers

/  kernel/  drv

*.conf

Hardware configuration files.


/  platform

`uname -i`

 

hardware-class-name

 

platform-name

 

/platform/`uname -i`/kernel

drv

Platform-dependent drivers.

/platform/hardware-class-name

boot.conf

Alternate path name for the boot policy file.

/platform/platform-name

boot.conf

Primary path name for the boot policy file.

kernel

 

ufsboot

Second-level program to boot from a disk or CD.

/platform/platform-name/kernel

drv

 

/platform/platform-name/kernel/drv

cgfourteen

cgfourteen device driver


/  sbin

ifconfig

Configure Network Interface Parameters

init

Program that bringsthe system to the initdefault state.


/  tmp

.ab2

Configuration files and other necessary data for ab2cd

.asppp.fifo

Communication path between aspppd and aspppls.


/  usr

5bin

System V compatability commands on BSD systems.

aset

Automated Security Enhancement Tool Directory

bin

Executable files.

dt

 

games

Games and other essentials especially fortune.

include

Header files for C programs.

kernel

 

man

Manual pages.

lib

Support files for standard Unix programs.

local

Local software.

openwin

 

platform

 

sadm

 

sbin

System maintenance commands.

share

Items common to multiple systems.

ucb

Berkeley utilities and programs.

xpg4

 

/  usr/  aset

archives

Archive of system files before aset is executed.

aset

Monitor or Restrict Access to System Files and Directories

aset.restore

Restore System Files Affected by ASET

reports

Directory of ASET reports.

/  usr/  bin

admintool

System Administration with a Graphical User Interface

aliasadm

Manipulate the NIS+ Aliases Map

du

Summarize Disk Usage

getvol

Verify Device Accessibility

hostconfig

Configure a System's Host Parameters

id

Return User Identity

/  usr/  dt

bin

 

/  usr/  dt/  bin

answerbooks2_admin

AnswerBook2 GUI Administration Tool

/  usr/  include

userdefs.h

User definitions file.

/  usr/  kernel

drv

Other drivers that could potentially be shared among platforms.

/  usr/  lib

ab2

 

acct

Holds all accounting comands listed in subclass 1M of this manual

adb

adb scripts for debugging the 32-bit kernel

cachefs

 

cfgadm

 

devconfig

 

devfsadm

 

dmi

 

fs

 

gss

 

inet

 

mail

 

print

 

saf

 

security

 

/  usr/  lib/  ab2

bin

 

dweb

 

/usr/lib/ab2/bin

ab2admin

Command-line interface for AnswerBook2 Adminstration

ab2regsvr

Register an AnswerBook2 Document Server with the Federated Naming Service

/usr/lib/ab2/dweb

config

 

/usr/lib/ab2/dweb/config

admin_passwd

File containing username:Password for answerbook2_admin

/  usr/  lib/  acct

acctcms

Command Summary from Process Accounting Records

acctcon

Append Process Accounting Records to an Existing File

acctcon1

Connect-Time Accounting

acctcon2

Connect-Time Accounting

acctdisk

Convert Accounting Data to Total Accounting

acctdusg

Compute Disk Resource Consumption by Login

acctmerg

Merge or Add Total Accounting Files

acctwtmp

Write a utmpx Record to a File

chargefee

Shell Procedures for Accounting

ckpacct

Accounting Command to Periodically Check the Size of /var/adm/pacct

dodisk

Shell Procedure Invoked by cron to Perform Disk Account Functions.

closwetmp

Put a False Dead Process Record in the /var/adm/wtmpx File

fwtmp

Manipulate Connect Accounting Records

ptecms.awk

Contains, by command name, the limits for exceptional usage

ptelus.awk

Contains, by login ID, the limits for exceptional usage

wtmpfix

Manipulate Connect Accounting Records

/  usr/  lib/  adb

adbgen

Generate adb Script

sparcv9

adb scripts for debugging the 32-bit kernel

/usr/lib/adb/sparcv9

*

adb scripts for debugging the 32-bit kernel

/  usr/  lib/  cachefs

cachefsstat

Cache File System Statistics

/  usr/  lib/  cfgadm

libpci.so.1

Hardware-specific library for PCI hot-plugging

scsi.so.1

Hardware-specific library for generic SCSI hot-plugging

/  usr/  lib/  devconfig

*.cfinfo

Configuration information files.

/  usr/  lib/  devfsadm

devfsadmd

devfsadm daemon - Administration Command Daemon

devfseventd

Kernel Event Notification Daemon for devfsadmd.

/  usr/  lib/  dmi

dmispd

Sun Solstice Enterprise DMI Service Provider

/  usr/  lib/  fs

autofs

 

cachefs

 

ufs

 

/  usr/  lib/  fs  autofs

automountd

Mount/unmount Daemon for autofs

/  usr/  lib/  fs  cachefs

cfsadmin

Adminster Disk Space for Cache File System

cachefspack

Pack Files and File Systems in the Cache

cachefswssize

Determine Working size for Cache File System

/  usr/  lib/  fs  ufs

fsirand

Install Random Inode Generation Numbers

/  usr/  lib/  gss

gssd

Generate and Validate GSS-API Tokens for Kernel RPC.

/  usr/  lib/  inet

in.dhcpd

Dynamic Host Configuration Protocol Server

/  usr/  lib/  mail

sh

 

/  usr/  lib/  mail  sh

check-hostname

Check if sendmail Can determine the Fully Qualified Host Name

check-permissions

Check Permissions on Mail Rerouting Files

/  usr/  lib/  print

conv_lp

Convert LP Configuration

conv_lpd

Convert LPD Configuration

/  usr/  lib/  print

ttymon

Set Terminal Type, Modes, Speed and Line Discipline

/  usr/  lib/  security

amiserv

AMI Keyserver

/  usr/  local

adm

Local accounting and log files.

bin

Local executables.

etc

Local system configuration files and commands.

lib

Local support files.

sbin

Local system maintenance commands.

src

Source code for /usr/local.

/  usr/  openwin

server

 

/  usr/  openwin/  server

etc

 

/  usr/  openwin/  server/  etc

OWconfig

Network Open Windows configuration file.

/  usr/  platform/

platform-name

 

sun4u

 

/  usr/  platform/  platform-name

lib

 

sbin

 

/usr/platform/platform-name/lib

adb

 

/usr/platform/platform-name/lib/adb

*

Platform-specific adb scripts for debugging the 32-bit kernel

/usr/platform/platform-name/lib/adb/sparcv9

*

Platform-specific adb scripts for debugging the 64-bit SPARC V9 kernel

/usr/platform/platform-name/sbin

cg14config

Configure the Sx/CG14 Graphics Accelerator

eeprom

Platform-specific version of eeprom. EEPROM Display and Load command

/usr/platform/sun4u/lib

cfgadm

 

/usr/platform/sun4u/lib/cfgadm

cfgadm_ac.so.1

Hardware-specific library file

sysctrl.so.1

Hardware-specific library file

/  usr/  sadm

admin

 

/  usr/  sadm/  admin

bin

 

/  usr/  sadm/  admin/  bin

dhcpmgr

graphical Interface for Managing DHCP Services

/  usr/  sbin

accept

Accept Print Requests

add_drv

Add a New Device Driver to the System

afbconfig

Configure the AFB Graphics Accelerator

allocate

Device Allocation

arp

Address Resolution Display and Control

aspppd

Asynchronous PPP Link Manager

aspppls

Asynchronous PPP login shell

audit

Control the Behavior of the Audit Daemon

auditcfg

Configuring Auditing

auditd

Control the Generation and Location of Audit Trail

auditreduce

Merge and Select Audit Records from Audit Trail Files

auditstat

Display Kernel Audit Statistics

automount

Install Automatic Mount Points

autopush

Configuration Lists of Automaticaly Pushed STREAMS

bdconfig

Configure the Buttons and Dials Stream

cachefslog

Cacje File-System Logging

cfgadm

Configuration Administration

chroot

Change Root Directory for a Command

clear_locks

Clear Locks Held on Behalf of an NFS Client

clinfo

Display Cluster Information

clri

Clear inode

consadm

Specify or Display Devices Used as Auxiliary Console Devices

crash

Examine System Images

cron

Clock Daemon

dcopy

Clear inode

deallocate

Device Deallocation

devconfig

Configure Device Attributes

devfsadm

Administration Command for /dev and /devices.

devinfo

Print Device-Specific Information

devlinks

Add /dev Entries for Miscellaneous Devices and Pseudodevices

devnm

Device Name

dfmounts

Display Mounted Resource Information

dfshares

List Available Resources from Remote or Local Systems

dhcpagent

Daemon for Client DHCP

dhcpconfig

DHCP Service Configuration Command

dhtadm

DHCP Configuration Table Management Command

disks

Create /dev Entries for Hard Disks Attached to the System

dispadmin

Process Scheduler Administration

dmesg

Collect System Diagnostic Messages to Form Error Log

dmi_cmd

DMI Command-Line Interface Command

dmiget

DMI Command-Line Retrieval Command

dminfo

Report Information Abouty a Device Entry in a Device Maps File

drvconfig

Configure the /devices Directory

dumpadm

Configure Operating System Crash Dump

edquota

Edit User Quotas for UFS File System

dbconfig

Frame Buffer Configuration Command

fdisk

Create or Modify Fixed-Disk Partition Table

ff

List file Names and Statistics for a File System

ffbconfig

Configure the FFB Graphics Accelerator

fmthard

Populate VTOC on Hard Disks

fncheck

Check for Consistency Between FNS Data and NIS+ Data

fncopy

Copy FNS Contexts, Possibly from One Naming Service to another

fncreate

Create an FNS Context

fncreate_fs

Create FMS File-System Contexts

fncreate_printer

Create New Printers in the FNS Namespace

fndestory

Destroy an FNS context

fnselect

Select a Specific Naming Service to Use for the FNS Initial Context

fnsypd

Update FNS Context on an NIS Master Server

format

Partition and Maintain Disks

fsck

Check and Repair File Systems

fsdb

File-System Debugger

fstyp

Determine File-System Type

fuser

Identify Processes Using a File or File Structure

getdgrp

List Device Groups That Contain Devices That Match Criteria

gettable

Get DoD Internet Format Host Table from a Host

groupadd

Add (Create) a New Group Definition on a System

groupdel

Delete a Group Definition from the System

groupmod

Modify a Group Definition on the System

grpck

Password and Group File Checkers

gsscred

Add, Remove and List gsscred Table Entries

halt

Stop the Processor

htable

Convert DoD Internet Format Host Table

in.comsat

Biff Server

in.fingerd

Remote User Information Server

in.ftpd

File Transfer Protocol Server

pgxconfig

configure the PGX32 (Raptor GFX) Graphics Accelerator

poweroff

Stop the Processor

reject

Reject Print Requests

rpc.bootparamd

Boot parameter Server

/  usr/  share

lib

 

/usr/share/lib

termcap

BSD compiled terminal description database.

terminfo

 

/usr/share/lib/terminfo

?

Compiled terminal description database.

/  usr/  ucb

chown

Change Owner

/  usr/  x4g4

bin

 

/  usr/  x4g4/  bin

du

Summarize Disk Usage

id

Return User Identity


/  var

adm

Accounting files and records of resource usage.

cron

 

dhcp

 

lastlog

Last login times.

log

Various system log files (on some systems).

spool

Spooling directories for printers, UUCP, mail, ...

tmp

Temporary space (files don't get deleted after reboots).

utmpx

User and accounting information.

/  var/  adm

acct

 

fee

Accumulator for fees

msgbuf

Scratch file for memory of - option for dmesg.

pacct

Current file for per-process accounting

pacctincr

Used if pacct gets large and during execution of daily accounting procedure

utmpx

An extended database file to find out who is logged in and on what terminal. Replaces utmp.

wtmpx

History of user access and administration information.
Supersedes the obsolete wtmp database file.

/  var/  adm/  acct

fiscal

Fiscal reports directory

nite

Working directory

sum

Summary directory contains information for monacct

/  var/  adm/  acct/  sum

loginlog

File updated by last login

/  var/  dhcp

NNNN_NNNN_NNNN_NNNN

Database file or NIS+ table named for the network they support.

dhcptab

File or NIS+ table.

/  var/  log

ab2

 

/  var/  log  ab2

catalog

 

dweb

 

logs

 

/var/log/ab2/catalog

local.socat

Local catalog file for ab2admin

remote.socat

Remote catalog file for ab2admin

delegate.socat

Delegate catalog file for ab2admin

libcat.socat

Libcat catalog file for ab2admin

/var/log/ab2/dweb/data/config

ab2_collections.template

AnswerBook2 collection database

admin_passwd

File containing username:password for ab2admin

/var/log/ab2/logs

access_8888.log

Default access log file for ab2admin

errors_8888.log

Default error log file for ab2admin

ab1_cardcatalog

AnswerBook1 collection database

/  var/  spool

cron

Spool area for cron.

lp

 

/  var/  spool/  lp

*

LP print queue

 

BACK