ON (OS/Net) Sources
All ON sources are found under
onnv/onnv-gate/usr/src/. This includes both the sources used to build the ON(OS/Net) consolidation and sources for tools and other peripheral utilities needed to build but not shipped as part of Solaris. The entire source can be downloaded from OpenSolaris
downloads section. The
onnv/onnv-gate/usr/src directory has several subdirectories which are described here.
- cmd: This directory contains sources for the executable programs and scripts that are part of ON. It includes all the basic commands, daemons, startup scripts, and related data. Most subdirectories are named for the command or commands they provide; however, there are some exceptions listed here.
- common: Files which are common among cmd, lib, stand, and uts. These typically include headers and sources to basic libraries used by both the kernel and user programs.
- head: Userland header files (kernel headers are in uts/). Note that only libc headers should be stored here; other libraries should have their headers in their own subdirectories under lib/.
- lib: Libraries. Most subdirectories are named for the library whose sources they contain or are otherwise self-explanatory.
- pkgdefs: Contains one subdirectory for each package generated from the ON sources. Each subdirectory contains packaging information files; see pkginfo(4), depend(4), prototype(4), pkgmap(1), and pkgproto(1) for more information about the contents of these files.
- prototypes: Sample files showing format and copyright notices.
- psm: Platform-specific modules. Currently this contains only OBP and most of the boot code.
- stand: Standalone environment code. This is used for booting; for example, code for reading from UFS and the network is here.
- tools: Development tools and sources. See README.tools for more information about each tool; the file should be updated as tools are added or removed.
- ucbcmd: Commands and daemons installed into /usr/ucb (for SunOS 4.x compatibility).
- ucbhead: Header files installed into /usr/ucb (for SunOS 4.x compatibility).
- ucblib: Libraries installed into /usr/ucb (for SunOS 4.x compatibility).
- uts: Kernel sources are here (UTS == UNIX Time Sharing). There are numerous subdirectories of uts which are of interest:
JDS (Java Desktop System)
- *.spec: The spec files, one per GNOME module, are the building blocks for package generation.
- docs: This directory contains some documentation on how to build and develop JDS for your convenience.
- ext-sources: Anything that is used as a SOURCE in the spec file that isn't a patch or the base tarball source.
- scripts: This directory contains a few useful scripts that are useful during development or packaging.
- manpages: All man pages for the various GNOME components.
- patches: All the patches that are used in the spec files are stored here. They are usually labelled [module]-[n]-[description].diff eg. gnome-panel-01-menu-stripe.diff.
- Solaris: All the patches, 'spec' files and build scripts are stored here for the Solaris builds. It has a similar directory structure to the top level of 'spec-files'.
Network Storage
- nwsc contains the sources for Storage Management API's, Fibre Channel Transport, iSCSI Transport, Interfaces for Fibre Channel HBA Drivers and hardware, Device-specific needs for storage products.
Globalisation
- g11n contains the localisation sources of available consolidations.
SFW
- sfw contains the sources for the SFW (Sun Freeware) consolidation which delivers its content (third party and open source software) into /usr/sfw as an integral part of the Solaris OS, and should not be confused with the Freeware Companion CD/DVD.
Companion
- companion/core contains the sources for the Solaris Freeware Companion CD/DVD.
Test
- test/ontest-stc1 contains the sources for the ON Solaris Test Collection 1.0
- test/ontest-src contains the sources for the ON Solaris Test Collection 2.0
- test/scate contains the sources for the Open HA Cluster Automated Test Suites
HA Cluster
- agents contains the source of the Open HA Cluster agents
- g11n contains the globalization source of the Open HA Cluster agents
- geo contains the source of Open HA Cluster Geographic Edition
- g11n contains the globalization source of Open HA Cluster Geographic Edition G11N
- core contains the source of the Open HA Cluster core
- g11n contains the globalization source of the Open HA Cluster core
- man contains the source of the Open HA Cluster man pages