<?xml version="1.0" encoding="utf-8"?>
<book fpi="-//Sun::SunSoft//DOCUMENT TRANSITION Version 1//EN" role="unnumbered" label="fcs" id="transition" lang="en" userlevel="all-audiences"><title lang="en">Solaris 1.x to 2.x Transition Guide</title><bookinfo><bookbiblio><title lang="en">Solaris 1.x to 2.x Transition Guide</title><authorgroup lang="en"><author lang="en"><firstname lang="en">William</firstname><othername lang="en">R.</othername><surname lang="en">Sisson</surname></author></authorgroup><isbn lang="en"/><pubsnumber lang="en"><gentext type="text">Part No: </gentext>802-5758-10</pubsnumber><pubdate lang="en">August 1997</pubdate><publisher lang="en"><publishername lang="en">Sun Microsystems, Inc.</publishername><address lang="en"><street lang="en">2550 Garcia Avenue</street><city lang="en">Mountain View<gentext type="text">, </gentext></city><state lang="en">CA<gentext type="text"></gentext></state><postcode lang="en">94043-1100</postcode><country lang="en">U.S.A.</country></address></publisher><copyright lang="en"><year lang="en">1997</year><holder lang="en">Sun Microsystems</holder></copyright><abstract lang="en"><para lang="en">The Solaris(TM) 2.6 operating environment (the distributed computing
solution from SunSoft(TM)) is comprised of SunOS(TM) release 5.6 with
the ONC(TM), OpenWindows(TM), ToolTalk(TM), DeskSet(TM), and OPEN
LOOK(TM) features as well as other utilities. This book focuses
on the differences between the SunOS release 4.x and SunOS release 5.6 operating
systems for people already familiar with the SunOS release 4.x operating system.
This book also describes other aspects of the Solaris 2.6
operating
environment that can help end users, developers, and system administrators
through the transition. </para></abstract></bookbiblio><legalnotice lang="en"><para lang="en">This product or document is protected by copyright and distributed under licenses restricting its use, copying, distribution, and decompilation. No part of this product or document may be reproduced in any form by any means without prior written authorization of Sun and its licensors, if any. Third-party software, including font technology, is copyrighted and licensed from Sun suppliers.</para><para lang="en">Parts of the product may be derived from Berkeley BSD systems, licensed from the University of California. UNIX is a registered trademark in the U.S. and other countries, exclusively licensed through X/Open Company, Ltd.</para><para lang="en">Sun, Sun Microsystems, the Sun logo, SunSoft, SunDocs, SunExpress, 
 and Solaris are trademarks, registered trademarks, or service marks of Sun Microsystems, Inc. in the U.S. and other countries. All SPARC trademarks are used under license and are trademarks or registered trademarks of SPARC International, Inc. in the U.S. and other countries. Products bearing SPARC trademarks are based upon an architecture developed by Sun Microsystems, Inc. </para><para lang="en">The OPEN LOOK and <trademark class="trade" lang="en">Sun</trademark> Graphical User Interface was developed by Sun Microsystems, Inc. for its users and licensees. Sun acknowledges the pioneering efforts of Xerox in researching and developing the concept of visual or graphical user interfaces for the computer industry. Sun holds a non-exclusive license from Xerox to the Xerox Graphical User Interface, which license also covers Sun's licensees who implement OPEN LOOK GUIs and otherwise comply with Sun's written license agreements.</para><para lang="en"><emphasis lang="en" role="strong">RESTRICTED RIGHTS:</emphasis> Use, duplication, or disclosure by the U.S. Government is subject to restrictions of FAR 52.227-14(g)(2)(6/87) and FAR 52.227-19(6/87), or DFAR 252.227-7015(b)(6/95) and DFAR 227.7202-3(a).</para><para lang="en">DOCUMENTATION IS PROVIDED "AS IS" AND ALL EXPRESS OR IMPLIED CONDITIONS, REPRESENTATIONS AND WARRANTIES, INCLUDING ANY IMPLIED WARRANTY OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE OR NON-INFRINGEMENT, ARE DISCLAIMED, EXCEPT TO THE EXTENT THAT SUCH DISCLAIMERS ARE HELD TO BE LEGALLY INVALID.</para><para lang="fr"/><para lang="en">Ce produit ou document est protégé par un copyright et distribué avec des licences qui en restreignent l'utilisation, la copie, la distribution, et la décompilation. Aucune partie de ce produit ou document ne peut être reproduite sous aucune forme, par quelque moyen que ce soit, sans l'autorisation préalable et écrite de Sun et de ses bailleurs de licence, s'il y en a. Le logiciel détenu par des tiers, et qui comprend la technologie relative aux polices de caractères, est protégé par un copyright et licencié par des fournisseurs de Sun.</para><para lang="en">Des parties de ce produit pourront être dérivées du système Berkeley BSD licenciés par l'Université de Californie. UNIX est une marque déposée aux Etats-Unis et dans d'autres pays et licenciée exclusivement par X/Open Company, Ltd. </para><para lang="en">Sun, Sun Microsystems, le logo Sun, SunSoft, SunDocs, SunExpress, 
 et Solaris sont des marques de fabrique ou des marques déposées, ou marques de service, de Sun Microsystems, Inc. aux Etats-Unis et dans d'autres pays. Toutes les marques SPARC sont utilisées sous licence et sont des marques de fabrique ou des marques déposées de SPARC International, Inc. aux Etats-Unis et dans d'autres pays. Les produits portant les marques SPARC sont basés sur une architecture développée par Sun Microsystems, Inc.</para><para lang="en">L'interface d'utilisation graphique OPEN LOOK et <trademark class="trade" lang="en">Sun</trademark> a été développée par Sun Microsystems, Inc. pour ses utilisateurs et licenciés. Sun reconnaît les efforts de pionniers de Xerox pour la recherche et le développement du concept des interfaces d'utilisation visuelle ou graphique pour l'industrie de l'informatique. Sun détient une licence non exclusive de Xerox sur l'interface d'utilisation graphique Xerox, cette licence couvrant également les licenciés de Sun qui mettent en place l'interface d'utilisation graphique OPEN LOOK et qui en outre se conforment aux licences écrites de Sun.</para><para lang="en">CETTE PUBLICATION EST FOURNIE "EN L'ETAT" ET AUCUNE GARANTIE, EXPRESSE OU IMPLICITE, N'EST ACCORDEE, Y COMPRIS DES GARANTIES CONCERNANT LA VALEUR MARCHANDE, L'APTITUDE DE LA PUBLICATION A REPONDRE A UNE UTILISATION PARTICULIERE, OU LE FAIT QU'ELLE NE SOIT PAS CONTREFAISANTE DE PRODUIT DE TIERS. CE DENI DE GARANTIE NE S'APPLIQUERAIT PAS, DANS LA MESURE OU IL SERAIT TENU JURIDIQUEMENT NUL ET NON AVENU.</para></legalnotice><subjectset lang="en"><subject lang="en"><subjectterm lang="en">Desktop &amp; Window Systems</subjectterm><subjectterm lang="en">Installation &amp; Setup</subjectterm><subjectterm lang="en">Introduction &amp; Overview</subjectterm><subjectterm lang="en">Programming &amp; Tools</subjectterm><subjectterm lang="en">Security</subjectterm><subjectterm lang="en">System Administration</subjectterm></subject></subjectset></bookinfo><preface id="preface-1" lang="en" role="preface"><gentext type="text">Preface</gentext><gentext type="toc">Preface</gentext><title lang="en">Preface</title><indexterm significance="normal" id="preface-ix1" lang="en"><primary lang="en">accounting system</primary></indexterm><indexterm significance="normal" id="preface-ix2" lang="en"><primary lang="en">user accounts</primary></indexterm><indexterm significance="normal" id="preface-ix3" lang="en"><primary lang="en">administators,</primary><see lang="en"><gentext type="text">See </gentext>system administrators\x0d</see></indexterm><indexterm significance="normal" id="preface-ix4" lang="en"><primary lang="en">Administration Tool</primary></indexterm><indexterm significance="normal" id="preface-ix5" lang="en"><primary lang="en">Host Manager</primary></indexterm><indexterm significance="normal" id="preface-ix6" lang="en"><primary lang="en">User Account Manager</primary></indexterm><indexterm significance="normal" id="preface-ix7" lang="en"><primary lang="en">admintool command</primary></indexterm><indexterm significance="normal" id="preface-ix8" lang="en"><primary lang="en">backing up</primary></indexterm><indexterm significance="normal" id="preface-ix9" lang="en"><primary lang="en">dd command</primary></indexterm><indexterm significance="normal" id="preface-ix10" lang="en"><primary lang="en">dump command</primary></indexterm><indexterm significance="normal" id="preface-ix11" lang="en"><primary lang="en">restoring</primary></indexterm><indexterm significance="normal" id="preface-ix12" lang="en"><primary lang="en">tar command</primary></indexterm><indexterm significance="normal" id="preface-ix13" lang="en"><primary lang="en">ufsdump command</primary></indexterm><indexterm significance="normal" id="preface-ix14" lang="en"><primary lang="en">/bin directory,</primary><see lang="en"><gentext type="text">See </gentext>/usr/bin directory\x0d</see></indexterm><indexterm significance="normal" id="preface-ix15" lang="en"><primary lang="en">booting</primary></indexterm><indexterm significance="normal" id="preface-ix16" lang="en"><primary lang="en">/ccs directory,</primary><see lang="en"><gentext type="text">See </gentext>/usr/ccs directory\x0d</see></indexterm><indexterm significance="normal" id="preface-ix17" lang="en"><primary lang="en">checking</primary></indexterm><indexterm significance="normal" id="preface-ix18" lang="en"><primary lang="en">clients</primary></indexterm><indexterm significance="normal" id="preface-ix19" lang="en"><primary lang="en">NIS (Network Information Services), clients</primary></indexterm><indexterm significance="normal" id="preface-ix20" lang="en"><primary lang="en">commands</primary><secondary lang="en">changes in</secondary></indexterm><indexterm significance="normal" id="preface-ix21" lang="en"><primary lang="en">commands</primary></indexterm><indexterm significance="normal" id="preface-ix22" lang="en"><primary lang="en">configuration</primary></indexterm><indexterm significance="normal" id="preface-ix23" lang="en"><primary lang="en">system configuration</primary></indexterm><indexterm significance="normal" id="preface-ix24" lang="en"><primary lang="en">configuration files,</primary><see lang="en"><gentext type="text">See </gentext>/etc directory\x0d</see></indexterm><indexterm significance="normal" id="preface-ix25" lang="en"><primary lang="en">consistency checking,</primary><see lang="en"><gentext type="text">See </gentext>checking\x0d</see></indexterm><indexterm significance="normal" id="preface-ix26" lang="en"><primary lang="en">dataless clients,</primary><see lang="en"><gentext type="text">See </gentext>diskless/dataless clients\x0d</see></indexterm><indexterm significance="normal" id="preface-ix27" lang="en"><primary lang="en">/default directory,</primary><see lang="en"><gentext type="text">See </gentext>/etc/default directory\x0d</see></indexterm><indexterm significance="normal" id="preface-ix28" lang="en"><primary lang="en">debuggers</primary></indexterm><indexterm significance="normal" id="preface-ix29" lang="en"><primary lang="en">dbxtool command</primary></indexterm><indexterm significance="normal" id="preface-ix30" lang="en"><primary lang="en">adb command</primary></indexterm><indexterm significance="normal" id="preface-ix31" lang="en"><primary lang="en">kadb command</primary></indexterm><indexterm significance="normal" id="preface-ix32" lang="en"><primary lang="en">truss command</primary></indexterm><indexterm significance="normal" id="preface-ix33" lang="en"><primary lang="en">deleting,</primary><see lang="en"><gentext type="text">See </gentext>removing\x0d</see></indexterm><indexterm significance="normal" id="preface-ix34" lang="en"><primary lang="en">device configuration</primary></indexterm><indexterm significance="normal" id="preface-ix35" lang="en"><primary lang="en">device drivers</primary></indexterm><indexterm significance="normal" id="preface-ix36" lang="en"><primary lang="en">device configuration</primary></indexterm><indexterm significance="normal" id="preface-ix37" lang="en"><primary lang="en">device naming</primary></indexterm><indexterm significance="normal" id="preface-ix38" lang="en"><primary lang="en">specific devices</primary></indexterm><indexterm significance="normal" id="preface-ix39" lang="en"><primary lang="en">/dfs directory,</primary><see lang="en"><gentext type="text">See </gentext>/etc/dfs directory\x0d</see></indexterm><indexterm significance="normal" id="preface-ix40" lang="en"><primary lang="en">directories</primary></indexterm><indexterm significance="normal" id="preface-ix41" lang="en"><primary lang="en">domain name system,</primary><see lang="en"><gentext type="text">See </gentext>DNS (domain name system)\x0d</see></indexterm><indexterm significance="normal" id="preface-ix42" lang="en"><primary lang="en">Driver Kernel Interface (DKI)</primary></indexterm><indexterm significance="normal" id="preface-ix43" lang="en"><primary lang="en">drivers,</primary><see lang="en"><gentext type="text">See </gentext>device drivers\x0d</see></indexterm><indexterm significance="normal" id="preface-ix44" lang="en"><primary lang="en">dump command</primary></indexterm><indexterm significance="normal" id="preface-ix45" lang="en"><primary lang="en">ufsdump command</primary></indexterm><indexterm significance="normal" id="preface-ix46" lang="en"><primary lang="en">dynamic kernel</primary></indexterm><indexterm significance="normal" id="preface-ix47" lang="en"><primary lang="en">e-mail,</primary><see lang="en"><gentext type="text">See </gentext>mail\x0d</see></indexterm><indexterm significance="normal" id="preface-ix48" lang="en"><primary lang="en">environments,</primary><see lang="en"><gentext type="text">See </gentext>Solaris operating environment</see></indexterm><indexterm significance="normal" id="preface-ix49" lang="en"><primary lang="en">user environment administration</primary></indexterm><indexterm significance="normal" id="preface-ix50" lang="en"><primary lang="en">/etc directory</primary></indexterm><indexterm significance="normal" id="preface-ix51" lang="en"><primary lang="en">/etc/rc scripts</primary></indexterm><indexterm significance="normal" id="preface-ix52" lang="en"><primary lang="en">executable and linking format files,</primary><see lang="en"><gentext type="text">See </gentext>ELF (executable and linking format) files\x0d</see></indexterm><indexterm significance="normal" id="preface-ix53" lang="en"><primary lang="en">exported file systems,</primary><see lang="en"><gentext type="text">See </gentext>shared file systems\x0d</see></indexterm><indexterm significance="normal" id="preface-ix54" lang="en"><primary lang="en">file system administration,</primary><see lang="en"><gentext type="text">See </gentext>file systems\x0d</see></indexterm><indexterm significance="normal" id="preface-ix55" lang="en"><primary lang="en">file systems</primary><secondary lang="en">exported,</secondary><see lang="en"><gentext type="text">See </gentext>shared file systems\x0d</see></indexterm><indexterm significance="normal" id="preface-ix56" lang="en"><primary lang="en">file systems</primary><secondary lang="en">shared,</secondary><see lang="en"><gentext type="text">See </gentext>shared file systems\x0d</see></indexterm><indexterm significance="normal" id="preface-ix57" lang="en"><primary lang="en">file systems</primary><secondary lang="en">temporary,</secondary><see lang="en"><gentext type="text">See </gentext>temporary file systems\x0d</see></indexterm><indexterm significance="normal" id="preface-ix58" lang="en"><primary lang="en">file systems</primary></indexterm><indexterm significance="normal" id="preface-ix61" lang="en"><primary lang="en">files</primary></indexterm><indexterm significance="normal" id="preface-ix63" lang="en"><primary lang="en">/fstab system file,</primary><see lang="en"><gentext type="text">See </gentext>/etc/fstab file\x0d</see></indexterm><indexterm significance="normal" id="preface-ix64" lang="en"><primary lang="en">graphical user interfaces (GUIs)</primary></indexterm><indexterm significance="normal" id="preface-ix65" lang="en"><primary lang="en">GUIs,</primary><see lang="en"><gentext type="text">See </gentext>graphical user interfaces (GUIs)\x0d</see></indexterm><indexterm significance="normal" id="preface-ix66" lang="en"><primary lang="en">halting,</primary><see lang="en"><gentext type="text">See </gentext>shutting down\x0d</see></indexterm><indexterm significance="normal" id="preface-ix67" lang="en"><primary lang="en">information reporting</primary></indexterm><indexterm significance="normal" id="preface-ix68" lang="en"><primary lang="en">initialization files,</primary><see lang="en"><gentext type="text">See </gentext>environment initialization files\x0d</see></indexterm><indexterm significance="normal" id="preface-ix69" lang="en"><primary lang="en">initialization scripts,</primary><see lang="en"><gentext type="text">See </gentext>scripts\x0d</see></indexterm><indexterm significance="normal" id="preface-ix70" lang="en"><primary lang="en">integrity checking,</primary><see lang="en"><gentext type="text">See </gentext>checking\x0d</see></indexterm><indexterm significance="normal" id="preface-ix71" lang="en"><primary lang="en">/lib directory,</primary><see lang="en"><gentext type="text">See </gentext>/etc/lib directory</see></indexterm><indexterm significance="normal" id="preface-ix72" lang="en"><primary lang="en">/usr/ccs/lib directory</primary></indexterm><indexterm significance="normal" id="preface-ix73" lang="en"><primary lang="en">/usr/lib directory</primary></indexterm><indexterm significance="normal" id="preface-ix74" lang="en"><primary lang="en">/usr/share/lib directory</primary></indexterm><indexterm significance="normal" id="preface-ix75" lang="en"><primary lang="en">limits</primary></indexterm><indexterm significance="normal" id="preface-ix76" lang="en"><primary lang="en">/lp directory,</primary><see lang="en"><gentext type="text">See </gentext>/etc/lp directory</see></indexterm><indexterm significance="normal" id="preface-ix77" lang="en"><primary lang="en">/usr/lib/lp directory</primary></indexterm><indexterm significance="normal" id="preface-ix78" lang="en"><primary lang="en">/var/lp directory</primary></indexterm><indexterm significance="normal" id="preface-ix79" lang="en"><primary lang="en">/var/spool/lp directory</primary></indexterm><indexterm significance="normal" id="preface-ix80" lang="en"><primary lang="en">magnetic tape devices,</primary><see lang="en"><gentext type="text">See </gentext>tape devices\x0d</see></indexterm><indexterm significance="normal" id="preface-ix81" lang="en"><primary lang="en">mail command</primary></indexterm><indexterm significance="normal" id="preface-ix82" lang="en"><primary lang="en">/mail directory,</primary><see lang="en"><gentext type="text">See </gentext>/etc/mail directory</see></indexterm><indexterm significance="normal" id="preface-ix83" lang="en"><primary lang="en">/usr/lib/mail directory</primary></indexterm><indexterm significance="normal" id="preface-ix84" lang="en"><primary lang="en">/var/mail directory</primary></indexterm><indexterm significance="normal" id="preface-ix85" lang="en"><primary lang="en">/var/spool/mail directory</primary></indexterm><indexterm significance="normal" id="preface-ix86" lang="en"><primary lang="en">maps (NIS+),</primary><see lang="en"><gentext type="text">See </gentext>NIS+ (Network Information Services Plus)\x0d</see></indexterm><indexterm significance="normal" id="preface-ix87" lang="en"><primary lang="en">maps (NIS),</primary><see lang="en"><gentext type="text">See </gentext>NIS (Network Information Services)\x0d</see></indexterm><indexterm significance="normal" id="preface-ix88" lang="en"><primary lang="en">master servers,</primary><see lang="en"><gentext type="text">See </gentext>NIS (Network Information Services), master servers\x0d</see></indexterm><indexterm significance="normal" id="preface-ix89" lang="en"><primary lang="en">maximums,</primary><see lang="en"><gentext type="text">See </gentext>limits\x0d</see></indexterm><indexterm significance="normal" id="preface-ix90" lang="en"><primary lang="en">modifying,</primary><see lang="en"><gentext type="text">See </gentext>changing\x0d</see></indexterm><indexterm significance="normal" id="preface-ix91" lang="en"><primary lang="en">modules,</primary><see lang="en"><gentext type="text">See </gentext>kernel</see></indexterm><indexterm significance="normal" id="preface-ix92" lang="en"><primary lang="en">STREAMS</primary></indexterm><indexterm significance="normal" id="preface-ix93" lang="en"><primary lang="en">name services,</primary><see lang="en"><gentext type="text">See </gentext>DNS (domain name system)</see></indexterm><indexterm significance="normal" id="preface-ix94" lang="en"><primary lang="en">NIS+ (Network Information Services Plus)</primary></indexterm><indexterm significance="normal" id="preface-ix95" lang="en"><primary lang="en">NIS (Network Information Services)</primary></indexterm><indexterm significance="normal" id="preface-ix96" lang="en"><primary lang="en">/net directory,</primary><see lang="en"><gentext type="text">See </gentext>/etc/net directory</see></indexterm><indexterm significance="normal" id="preface-ix97" lang="en"><primary lang="en">/usr/net/servers directory</primary></indexterm><indexterm significance="normal" id="preface-ix98" lang="en"><primary lang="en">Network Information Services,</primary><see lang="en"><gentext type="text">See </gentext>NIS (Network Information Services)\x0d</see></indexterm><indexterm significance="normal" id="preface-ix99" lang="en"><primary lang="en">Network Information Services Plus,</primary><see lang="en"><gentext type="text">See </gentext>NIS+ (Network Information Services Plus)\x0d</see></indexterm><indexterm significance="normal" id="preface-ix100" lang="en"><primary lang="en">OpenWindows</primary><secondary lang="en">Administration Tool,</secondary><see lang="en"><gentext type="text">See </gentext>Administration Tool\x0d</see></indexterm><indexterm significance="normal" id="preface-ix101" lang="en"><primary lang="en">/opt directory</primary></indexterm><indexterm significance="normal" id="preface-ix102" lang="en"><primary lang="en">path names</primary></indexterm><indexterm significance="normal" id="preface-ix103" lang="en"><primary lang="en">printcap database,</primary><see lang="en"><gentext type="text">See </gentext>/etc/printcap database\x0d</see></indexterm><indexterm significance="normal" id="preface-ix104" lang="en"><primary lang="en">printers</primary><secondary lang="en">commands</secondary></indexterm><indexterm significance="normal" id="preface-ix105" lang="en"><primary lang="en">productivity tools,</primary><see lang="en"><gentext type="text">See </gentext>DeskSet\x0d</see></indexterm><indexterm significance="normal" id="preface-ix106" lang="en"><primary lang="en">programming tools,</primary><see lang="en"><gentext type="text">See </gentext>developers</see></indexterm><indexterm significance="normal" id="preface-ix107" lang="en"><primary lang="en">tools (developer)</primary></indexterm><indexterm significance="normal" id="preface-ix108" lang="en"><primary lang="en">restoring</primary></indexterm><indexterm significance="normal" id="preface-ix109" lang="en"><primary lang="en">restore command</primary></indexterm><indexterm significance="normal" id="preface-ix110" lang="en"><primary lang="en">ufsrestore command</primary></indexterm><indexterm significance="normal" id="preface-ix111" lang="en"><primary lang="en">run levels,</primary><see lang="en"><gentext type="text">See </gentext>rc scripts\x0d</see></indexterm><indexterm significance="normal" id="preface-ix112" lang="en"><primary lang="en">/sadm directory,</primary><see lang="en"><gentext type="text">See </gentext>/usr/sadm directory</see></indexterm><indexterm significance="normal" id="preface-ix113" lang="en"><primary lang="en">/var/sadm directory</primary></indexterm><indexterm significance="normal" id="preface-ix114" lang="en"><primary lang="en">/saf directory,</primary><see lang="en"><gentext type="text">See </gentext>/etc/saf directory</see></indexterm><indexterm significance="normal" id="preface-ix115" lang="en"><primary lang="en">/usr/lib/saf directory</primary></indexterm><indexterm significance="normal" id="preface-ix116" lang="en"><primary lang="en">/var/saf directory</primary></indexterm><indexterm significance="normal" id="preface-ix117" lang="en"><primary lang="en">saving</primary></indexterm><indexterm significance="normal" id="preface-ix118" lang="en"><primary lang="en">/sbin directory</primary></indexterm><indexterm significance="normal" id="preface-ix119" lang="en"><primary lang="en">/sbin/rc scripts</primary></indexterm><indexterm significance="normal" id="preface-ix120" lang="en"><primary lang="en">scheduling,</primary><see lang="en"><gentext type="text">See </gentext>Calendar Manager</see></indexterm><indexterm significance="normal" id="preface-ix121" lang="en"><primary lang="en">process management</primary></indexterm><indexterm significance="normal" id="preface-ix122" lang="en"><primary lang="en">security</primary></indexterm><indexterm significance="normal" id="preface-ix123" lang="en"><primary lang="en">servers</primary></indexterm><indexterm significance="normal" id="preface-ix124" lang="en"><primary lang="en">Solaris 2.6 server</primary></indexterm><indexterm significance="normal" id="preface-ix125" lang="en"><primary lang="en">/share directory,</primary><see lang="en"><gentext type="text">See </gentext>/usr/share directory\x0d</see></indexterm><indexterm significance="normal" id="preface-ix126" lang="en"><primary lang="en">shells</primary></indexterm><indexterm significance="normal" id="preface-ix127" lang="en"><primary lang="en">C shell</primary></indexterm><indexterm significance="normal" id="preface-ix128" lang="en"><primary lang="en">slices,</primary><see lang="en"><gentext type="text">See </gentext>disk slices\x0d</see></indexterm><indexterm significance="normal" id="preface-ix129" lang="en"><primary lang="en">software</primary></indexterm><indexterm significance="normal" id="preface-ix130" lang="en"><primary lang="en">software clusters,</primary><see lang="en"><gentext type="text">See </gentext>clusters\x0d</see></indexterm><indexterm significance="normal" id="preface-ix131" lang="en"><primary lang="en">Software Manager,</primary><see lang="en"><gentext type="text">See </gentext>swmtool command\x0d</see></indexterm><indexterm significance="normal" id="preface-ix132" lang="en"><primary lang="en">software packages,</primary><see lang="en"><gentext type="text">See </gentext>packages</see></indexterm><indexterm significance="normal" id="preface-ix133" lang="en"><primary lang="en">software</primary></indexterm><indexterm significance="normal" id="preface-ix134" lang="en"><primary lang="en">Solaris 2.4 operating environment</primary></indexterm><indexterm significance="normal" id="preface-ix135" lang="en"><primary lang="en">OpenWindows</primary></indexterm><indexterm significance="normal" id="preface-ix136" lang="en"><primary lang="en">Solaris operating environment</primary></indexterm><indexterm significance="normal" id="preface-ix137" lang="en"><primary lang="en">Solaris operating environment</primary></indexterm><indexterm significance="normal" id="preface-ix138" lang="en"><primary lang="en">spool directory,</primary><see lang="en"><gentext type="text">See </gentext>/var/spool directory\x0d</see></indexterm><indexterm significance="normal" id="preface-ix139" lang="en"><primary lang="en">status checking,</primary><see lang="en"><gentext type="text">See </gentext>checking</see></indexterm><indexterm significance="normal" id="preface-ix140" lang="en"><primary lang="en">information reporting</primary></indexterm><indexterm significance="normal" id="preface-ix141" lang="en"><primary lang="en">stopping system,</primary><see lang="en"><gentext type="text">See </gentext>shutting down\x0d</see></indexterm><indexterm significance="normal" id="preface-ix142" lang="en"><primary lang="en">system administrators</primary></indexterm><indexterm significance="normal" id="preface-ix144" lang="en"><primary lang="en">system file,</primary><see lang="en"><gentext type="text">See </gentext>/etc/system file\x0d</see></indexterm><indexterm significance="normal" id="preface-ix145" lang="en"><primary lang="en">system initialization scripts,</primary><see lang="en"><gentext type="text">See </gentext>rc scripts\x0d</see></indexterm><indexterm significance="normal" id="preface-ix146" lang="en"><primary lang="en">system run levels,</primary><see lang="en"><gentext type="text">See </gentext>rc scripts\x0d</see></indexterm><indexterm significance="normal" id="preface-ix147" lang="en"><primary lang="en">system scheduling,</primary><see lang="en"><gentext type="text">See </gentext>process management\x0d</see></indexterm><indexterm significance="normal" id="preface-ix148" lang="en"><primary lang="en">temporary file systems</primary></indexterm><indexterm significance="normal" id="preface-ix149" lang="en"><primary lang="en">time management,</primary><see lang="en"><gentext type="text">See </gentext>Calendar Manager</see></indexterm><indexterm significance="normal" id="preface-ix150" lang="en"><primary lang="en">process management</primary></indexterm><indexterm significance="normal" id="preface-ix151" lang="en"><primary lang="en">TMPFS,</primary><see lang="en"><gentext type="text">See </gentext>/tmp file system (TMPFS)\x0d</see></indexterm><indexterm significance="normal" id="preface-ix152" lang="en"><primary lang="en">trace command</primary></indexterm><indexterm significance="normal" id="preface-ix153" lang="en"><primary lang="en">/ucb directory,</primary><see lang="en"><gentext type="text">See </gentext>/usr/ucb directory</see></indexterm><indexterm significance="normal" id="preface-ix154" lang="en"><primary lang="en">UFS,</primary><see lang="en"><gentext type="text">See </gentext>Unix file systems (UFS)\x0d</see></indexterm><indexterm significance="normal" id="preface-ix155" lang="en"><primary lang="en">Unix file systems (UFS)</primary></indexterm><indexterm significance="normal" id="preface-ix156" lang="en"><primary lang="en">unix kernel name</primary></indexterm><indexterm significance="normal" id="preface-ix157" lang="en"><primary lang="en">Unix System V Release 4,</primary><see lang="en"><gentext type="text">See </gentext>SVR4\x0d</see></indexterm><indexterm significance="normal" id="preface-ix158" lang="en"><primary lang="en">Unix-to-Unix Copy (UUCP)</primary></indexterm><indexterm significance="normal" id="preface-ix159" lang="en"><primary lang="en">/usr/etc directory</primary></indexterm><indexterm significance="normal" id="preface-ix160" lang="en"><primary lang="en">/usr/kernel directory,</primary><see lang="en"><gentext type="text">See </gentext>/kernel directory\x0d</see></indexterm><indexterm significance="normal" id="preface-ix161" lang="en"><primary lang="en">/uucp directory,</primary><see lang="en"><gentext type="text">See </gentext>/etc/uucp directory</see></indexterm><indexterm significance="normal" id="preface-ix162" lang="en"><primary lang="en">/usr/lib/uucp directory</primary></indexterm><indexterm significance="normal" id="preface-ix163" lang="en"><primary lang="en">/var/spool/uucp directory</primary></indexterm><indexterm significance="normal" id="preface-ix164" lang="en"><primary lang="en">/var/uucp directory</primary></indexterm><indexterm significance="normal" id="preface-ix165" lang="en"><primary lang="en">vfstab file,</primary><see lang="en"><gentext type="text">See </gentext>/etc/vfstab file\x0d</see></indexterm><indexterm significance="normal" id="preface-ix166" lang="en"><primary lang="en">/xpg2lib directory,</primary><see lang="en"><gentext type="text">See </gentext>/usr/xpg2lib directory\x0d</see></indexterm><indexterm significance="normal" id="preface-ix167" lang="en"><primary lang="en">dump command</primary><secondary lang="en">new 218</secondary></indexterm><highlights lang="en"><para lang="en">The Solaris(TM) 2.6 operating environment, SunSoft's(TM) distributed computing solution, comprises SunOS(TM) release 5.6 software with ONC(TM), OpenWindows(TM), ToolTalk(TM), and DeskSet(TM) utilities as well as other features. <citetitle lang="en">Solaris 1.x to Solaris 2.x Transition Guide</citetitle> focuses on the differences between the SunOS release 4.x and SunOS release 5.6 operating systems for people already familiar with the SunOS release 4.x software. This guide also handles other aspects of the Solaris 2.6 operating environment that can help you through the transition. </para><para lang="en">If you are looking for more information about features now available with the Solaris 2.6 operating environment, see <olink targetpartnumber="802-1986"><citetitle lang="en">Solaris User's Guide</citetitle></olink>.</para><para lang="en">The system administration tool covered in this book, Admintool, is part of the Solaris 2.6 product and can be used only for local system administration.  System administration tools used to manage a network of systems are provided with the Solstice family of products.</para><note lang="en" role="note"><gentext type="text">Note - </gentext><para lang="en">The term "x86" refers to the Intel 8086 family of microprocessor chips, including the Pentium and Pentium Pro processors and compatible microprocessor chips made by AMD and Cyrix. In this document the term "x86" refers to the overall platform architecture, whereas "<citetitle lang="en">Intel Platform Edition</citetitle>" appears in the product name.</para></note></highlights><sect1 id="pref-1" lang="en"><title lang="en">Who Should Use This Guide</title><para lang="en"/><para lang="en">This guide can help users, system administrators, and software developers make the transition from a SunOS release 4.x computing environment to the Solaris 2.6 operating environment. </para></sect1><sect1 id="preface-2" lang="en"><title lang="en">What to Expect From This Guide</title><para lang="en">The purpose of this guide is to give you an overview-level understanding of the differences between SunOS release 4.x and SunOS release 5.6 operating environments to make your transition to the Solaris 2.6 operating environment a smooth one. As a result, <citetitle lang="en">Solaris 1.x to Solaris 2.x Transition Guide</citetitle> covers a wide range of topics. Because it is not practical to list detailed procedures for tasks here, you will find references throughout this guide to publications in the Solaris 2.6 documentation set where detailed information is available.</para></sect1><sect1 id="preface-3" lang="en"><title lang="en">How This Guide Is Organized</title><para lang="en">This guide is divided into 2 parts with 19 chapters and 6 appendixes as outlined here.</para><sect2 id="preface-4" lang="en"><title lang="en">Part 1: Transition Information for Users and System Administrators</title><para lang="en">You can use this part of the guide to help install Solaris 2.6 software, to understand changes to the local computing environment, and to understand changes to routine tasks. </para><para lang="en">This part of the guide contains the following chapters:</para><itemizedlist lang="en" mark="bullet"><listitem lang="en"><para lang="en"><link linkend="intro-13384" lang="en">Chapter 1, Introduction</link>, discusses the benefits of migrating to the Solaris operating environment and summarizes the main differences between SVR4 and the Solaris operating environment.</para></listitem></itemizedlist><itemizedlist lang="en" mark="bullet"><listitem lang="en"><para lang="en"><link linkend="admover-12463" lang="en">Chapter 2, Overview of Major Changes</link>, is an overview of some of the principal changes between the SunOS release 4.x and SunOS release 5.6 environments. It provides background for topics in subsequent chapters, focusing on procedures, tools, and concepts that have changed between releases.</para></listitem></itemizedlist><itemizedlist lang="en" mark="bullet"><listitem lang="en"><para lang="en"><link linkend="install-50948" lang="en">Chapter 3, Converting a SunOS 4.x System to the  Solaris 2.6 Environment</link>, suggests what to consider to facilitate a smooth transition through software installation and post-installation so that SunOS release 4.x data can most easily be restored in the Solaris 2.6 operating environment. </para></listitem></itemizedlist><itemizedlist lang="en" mark="bullet"><listitem lang="en"><para lang="en"><link linkend="bcp-73695" lang="en">Chapter 4, Using the Compatibility Packages</link>, discusses the SunOS/BSD Source Compatibility Package and the Binary Compatibility Package. These packages make the transition easier by enabling you to use SunOS release 4.x commands and applications during migration to the Solaris 2.6 operating environment.</para></listitem></itemizedlist><itemizedlist lang="en" mark="bullet"><listitem lang="en"><para lang="en"><link linkend="security-66845" lang="en">Chapter 5, Security </link>, describes the major differences between SunOS release 4.x and Solaris 2.6 security, and points out how those changes might affect system administration procedures.</para></listitem></itemizedlist><itemizedlist lang="en" mark="bullet"><listitem lang="en"><para lang="en"><link linkend="usradm-47325" lang="en">Chapter 6, User Environment Administration</link>, describes differences in tasks used to set up a local user environment after installing the Solaris software. It includes discussions on setting up a default shell, customizing the user environment, the window system, and user and group administration. It also discusses changes regarding man pages.</para></listitem></itemizedlist><itemizedlist lang="en" mark="bullet"><listitem lang="en"><para lang="en"><link linkend="devadm-79489" lang="en">Chapter 7, Device Administration</link>, explains SunOS release 5.6 device naming conventions and discusses changes to device-related tasks such as getting information about disks, adding devices to a system, and using volume management.</para></listitem></itemizedlist><itemizedlist lang="en" mark="bullet"><listitem lang="en"><para lang="en"><link linkend="startup-69540" lang="en">Chapter 8, Startup and Shutdown</link>, describes changes to procedures for booting and shutting down a system.</para></listitem></itemizedlist><itemizedlist lang="en" mark="bullet"><listitem lang="en"><para lang="en"><link linkend="fsadm-43404" lang="en">Chapter 9, File System Administration</link>, familiarizes you with changes to file-system layout and the changes to file systems, virtual file systems, directories, and files. It also describes changes to file-system administration.</para></listitem></itemizedlist><itemizedlist lang="en" mark="bullet"><listitem lang="en"><para lang="en"><link linkend="servers-19853" lang="en">Chapter 10, Setting Up a Solaris 2.6 Server to Support SunOS Release 4.x Diskless/Dataless Clients</link>, discusses setting up servers for clients. It describes three programs-<command moreinfo="none" lang="en">d</command><command moreinfo="none" lang="en">iscover4x</command>, <command moreinfo="none" lang="en">install4x</command>, and <command moreinfo="none" lang="en">convert4x</command>-that work together to help prepare a Solaris 2.6 server to serve SunOS release 4.x clients. </para></listitem></itemizedlist><itemizedlist lang="en" mark="bullet"><listitem lang="en"><para lang="en"><link linkend="print-98772" lang="en">Chapter 11, Managing Printers, Terminals, and Modems</link>, describes how to set up and administer printers after you install Solaris 2.6 software and changes to printer commands. It also describes terminal and modem management using Admintool and the Service Access Facility (SAP).</para></listitem></itemizedlist><itemizedlist lang="en" mark="bullet"><listitem lang="en"><para lang="en"><link linkend="netsrvc-21270" lang="en">Chapter 12, Network Service Administration</link>, outlines changes to the network facilities, TCP/IP and UUCP.</para></listitem></itemizedlist><itemizedlist lang="en" mark="bullet"><listitem lang="en"><para lang="en"><link linkend="nis-41574" lang="en">Chapter 13, Using Name Services</link>, discusses NIS+ and the domain name system (DNS), and compares NIS+ to NIS and DNS.</para></listitem></itemizedlist><itemizedlist lang="en" mark="bullet"><listitem lang="en"><para lang="en"><link linkend="cde-41896" lang="en">Chapter 14, Solaris Common Desktop Environment</link>, describes the Common Desktop Environment (CDE) and how to make the transition from the OpenWindows environment to CDE.</para></listitem></itemizedlist></sect2><sect2 id="preface-5" lang="en"><title lang="en">Part 2: Transition Information for Developers</title><para lang="en">This part of the guide concentrates on the changes that most affect developers. It describes these differences, points out similarities, and explains the implications for your programming environment.</para><para lang="en">This part contains the following chapters:</para><itemizedlist lang="en" mark="bullet"><listitem lang="en"><para lang="en"><link linkend="devclds-32482" lang="en">Chapter 15, Compilers, Linkers, and Debuggers </link>, discusses which capabilities have been added to or removed from compilers, linkers, and debuggers.</para></listitem></itemizedlist><itemizedlist lang="en" mark="bullet"><listitem lang="en"><para lang="en"><link linkend="dvtools-32843" lang="en">Chapter 16, Tools and Resources </link>, discusses changes to tools and resources for the development environment including changes to <command moreinfo="none" lang="en">ioctl</command>() requests, <command moreinfo="none" lang="en">ptrace</command>() request values, libraries, and the make and SCCS facilities. This chapter also describes how to determine application compatibility, how to use Solaris 2.6 packaging capabilities, and how to find SunOS release 4.x tools.</para></listitem></itemizedlist><itemizedlist lang="en" mark="bullet"><listitem lang="en"><para lang="en"><link linkend="devnet-11253" lang="en">Chapter 17, Networking and Internationalization</link>, discusses Solaris 2.6 networking features as they relate to the programming environment. It also describes improved internationalization features.</para></listitem></itemizedlist><itemizedlist lang="en" mark="bullet"><listitem lang="en"><para lang="en"><link linkend="sysdev-17409" lang="en">Chapter 18, System and Device Configuration</link>, describes aspects of system and device configuration that have changed, including the dynamically loaded kernel and kernel layout, <command moreinfo="none" lang="en">config</command> and <command moreinfo="none" lang="en">boot</command> commands, and the <filename moreinfo="none" lang="en">/etc/system</filename> file.</para></listitem></itemizedlist><itemizedlist lang="en" mark="bullet"><listitem lang="en"><para lang="en"><link linkend="drivers-28555" lang="en">Chapter 19, Device Drivers and STREAMS </link>, discusses device drivers issues such as changes to device driver interfaces, the <command moreinfo="none" lang="en">devinfo</command> command, porting considerations, STREAMS, and the Solaris 2.6 driver architecture.</para></listitem></itemizedlist></sect2><sect2 id="preface-6" lang="en"><title lang="en">Reference Appendixes</title><para lang="en">The following appendixes comprises reference tables showing SunOS 4.1 interfaces and their status in several operating systems. This information is useful to users, system administrators, and developers. The appendixes are:</para><itemizedlist lang="en" mark="bullet"><listitem lang="en"><para lang="en"><link linkend="apxa-68645" lang="en">Appendix A, Commands Reference Table</link>, compares SunOS release 4.x and SunOS release 5.6 commands.</para></listitem></itemizedlist><itemizedlist lang="en" mark="bullet"><listitem lang="en"><para lang="en"><link linkend="apxb-33805" lang="en">Appendix B, System Calls Reference Table</link>, compares SunOS release 4.x and SunOS release 5.6 system calls.</para></listitem></itemizedlist><itemizedlist lang="en" mark="bullet"><listitem lang="en"><para lang="en"><link linkend="apxc-92210" lang="en">Appendix C, Library Routines Reference Table</link>, compares SunOS release 4.x and SunOS release 5.6 library routines.</para></listitem></itemizedlist><itemizedlist lang="en" mark="bullet"><listitem lang="en"><para lang="en"><link linkend="apxd-63073" lang="en">Appendix D, System Files Reference Table</link>, compares SunOS release 4.x and SunOS release 5.6 system files.</para></listitem></itemizedlist><itemizedlist lang="en" mark="bullet"><listitem lang="en"><para lang="en"><link linkend="apxe-12033" lang="en">Appendix E, <filename moreinfo="none" lang="en">/</filename> and <filename moreinfo="none" lang="en">/usr</filename> File Systems Changes</link>, compares SunOS release 4.x and SunOS release 5.6 system files.</para></listitem></itemizedlist><itemizedlist lang="en" mark="bullet"><listitem lang="en"><para lang="en"><link linkend="apxf-16813" lang="en">Appendix F, Quick Reference for Basic Changes</link>, is a quick reference for changes in common commands, files and directories, and daemons and standard processes.</para></listitem></itemizedlist></sect2></sect1><sect1 id="preface-13" lang="en"><title lang="en">Ordering Sun Documents</title><para lang="en">The SunDocs(TM) program provides more than 250 manuals from Sun Microsystems, Inc. If you live in the United States, Canada, Europe, or Japan, you can purchase documentation sets or individual manuals using this program.</para><para lang="en">For a list of documents and how to order them, see the catalog section of the SunExpress(TM) Internet site at <ulink url="http://www.sun.com/sunexpress">http://www.sun.com/sunexpress</ulink>.</para></sect1><sect1 id="preface-7" lang="en"><title lang="en">What Typographic Changes and Symbols Mean</title><para lang="en">Table P-1 describes the type changes and symbols used in this guide.</para><table frame="topbot" id="preface-tbl-8" lang="en"><gentext type="text">Table P-1 </gentext><title lang="en">Typographic Conventions <indexterm significance="normal" id="preface-ix168" lang="en"><primary lang="en">notation conventions</primary></indexterm> <indexterm significance="normal" id="preface-ix169" lang="en"><primary lang="en">conventions, notation</primary></indexterm> <indexterm significance="normal" id="preface-ix170" lang="en"><primary lang="en">man pages</primary><secondary lang="en">notation conventions</secondary></indexterm> <indexterm significance="normal" id="preface-ix171" lang="en"><primary lang="en">typographic conventions, in manual</primary></indexterm></title><tgroup cols="3" colsep="0" rowsep="0" lang="en"><colspec colnum="1" colname="column1" colwidth="2*"/><colspec colnum="2" colname="column2" colwidth="4*"/><colspec colnum="3" colname="column3" colwidth="4*"/><thead lang="en"><row rowsep="1" lang="en"><entry colname="column1" align="left" valign="bottom" lang="en"><para lang="en">Typeface or Symbol</para></entry><entry colname="column2" align="left" valign="bottom" lang="en"><para lang="en">Meaning</para></entry><entry colname="column3" align="left" valign="bottom" lang="en"><para lang="en">Example</para></entry></row></thead><tbody lang="en"><row lang="en"><entry colname="column1" align="left" valign="top" lang="en"><para lang="en"><command moreinfo="none" lang="en">AaBbCc123</command></para></entry><entry colname="column2" align="left" valign="top" lang="en"><para lang="en">The names of commands, files, and directories; on-screen computer output</para></entry><entry colname="column3" align="left" valign="top" lang="en"><para lang="en">Edit your <filename moreinfo="none" lang="en">.login</filename> file.</para><para lang="en">Use <command moreinfo="none" lang="en">ls</command> <option lang="en"><gentext type="text">-</gentext>a</option> to list all files.</para><para lang="en"><command moreinfo="none" lang="en">system% You have mail.</command></para></entry></row><row lang="en"><entry colname="column1" align="left" valign="top" lang="en"><para lang="en"><command moreinfo="none" lang="en">AaBbCc123</command></para></entry><entry colname="column2" align="left" valign="top" lang="en"><para lang="en">What you type, contrasted with on-screen computer output</para></entry><entry colname="column3" align="left" valign="top" lang="en"><para lang="en"><command moreinfo="none" lang="en">system% su</command></para><para lang="en"><command moreinfo="none" lang="en">Password:</command></para></entry></row><row lang="en"><entry colname="column1" align="left" valign="top" lang="en"><para lang="en"><replaceable lang="en">AaBbCc123</replaceable></para></entry><entry colname="column2" align="left" valign="top" lang="en"><para lang="en">Command-line
placeholder:</para><para lang="en">replace with a real name or value</para></entry><entry colname="column3" align="left" valign="top" lang="en"><para lang="en">To delete a file, type <command moreinfo="none" lang="en">rm</command> <replaceable lang="en">filename</replaceable>.</para></entry></row><row lang="en"><entry colname="column1" align="left" valign="top" lang="en"><para lang="en"><citetitle lang="en">AaBbCc123</citetitle></para></entry><entry colname="column2" align="left" valign="top" lang="en"><para lang="en">Book titles, new words or terms, or words to be emphasized</para></entry><entry colname="column3" align="left" valign="top" lang="en"><para lang="en">Read Chapter 6 in <citetitle lang="en">User's Guide</citetitle>. These are called <emphasis lang="en">class</emphasis> options. </para><para lang="en">You <emphasis lang="en">must</emphasis> be root to do this.</para></entry></row><row lang="en"><entry colname="column1" namest="column1" nameend="column3" align="left" valign="top" lang="en"><para lang="en">Code samples are included in boxes and may display the following: <indexterm significance="normal" id="preface-ix172" lang="en"><primary lang="en">prompts</primary></indexterm></para></entry></row><row lang="en"><entry colname="column1" align="left" valign="top" lang="en"><para lang="en"><command moreinfo="none" lang="en">%</command> <indexterm significance="normal" id="preface-ix173" lang="en"><primary lang="en">%</primary></indexterm> <indexterm significance="normal" id="preface-ix174" lang="en"><primary lang="en">percent sign (%)</primary></indexterm></para></entry><entry colname="column2" align="left" valign="top" lang="en"><para lang="en">UNIX C shell prompt</para></entry><entry colname="column3" align="left" valign="top" lang="en"><para lang="en"><command moreinfo="none" lang="en">system%</command></para></entry></row><row lang="en"><entry colname="column1" align="left" valign="top" lang="en"><para lang="en"><command moreinfo="none" lang="en">$</command> <indexterm significance="normal" id="preface-ix175" lang="en"><primary lang="en">$</primary></indexterm> <indexterm significance="normal" id="preface-ix176" lang="en"><primary lang="en">dollar sign (library routine)</primary></indexterm></para></entry><entry colname="column2" align="left" valign="top" lang="en"><para lang="en">UNIX Bourne and Korn shell prompt</para></entry><entry colname="column3" align="left" valign="top" lang="en"><para lang="en"><command moreinfo="none" lang="en">system$</command></para></entry></row><row lang="en"><entry colname="column1" align="left" valign="top" lang="en"><para lang="en"><command moreinfo="none" lang="en">#</command> <indexterm significance="normal" id="preface-ix177" lang="en"><primary lang="en">#</primary></indexterm> <indexterm significance="normal" id="preface-ix178" lang="en"><primary lang="en">pound sign (#)</primary></indexterm></para></entry><entry colname="column2" align="left" valign="top" lang="en"><para lang="en">Superuser prompt, all shells</para></entry><entry colname="column3" align="left" valign="top" lang="en"><para lang="en"><command moreinfo="none" lang="en">system#</command></para></entry></row></tbody></tgroup></table></sect1><sect1 id="preface-9" lang="en"><title lang="en">man Page References</title><para lang="en">When commands, system files, or library routine names are first mentioned in the text, the number of the manual page section where the term is fully described is appended; for instance: <command moreinfo="none" lang="en">mv</command>(1). The manual pages are in the <citetitle lang="en">man Pages(1): User Commands</citetitle> section. </para></sect1><sect1 id="preface-10" lang="en"><title lang="en">Related Books</title><para lang="en">For more information the Solaris 2.6 operating environment, see the following documentation: <indexterm significance="normal" id="preface-ix179" lang="en"><primary lang="en">Solaris 2.6 operating environment</primary><secondary lang="en">additional documentation on</secondary></indexterm></para><itemizedlist lang="en" mark="bullet"><listitem lang="en"><para lang="en"><olink targetpartnumber="802-1986"><citetitle lang="en">Solaris User's Guide</citetitle></olink></para></listitem><listitem lang="en"><para lang="en"><olink targetpartnumber="802-1987"><citetitle lang="en">Solaris Advanced User's Guide</citetitle></olink></para></listitem><listitem lang="en"><para lang="en"><olink targetpartnumber="802-5733"><citetitle lang="en">Installation Instructions for Solaris 2.6 (SPARC Platform Edition)</citetitle></olink></para></listitem><listitem lang="en"><para lang="en"><olink targetpartnumber="802-5750"><citetitle lang="en">System Administration Guide</citetitle></olink></para></listitem><listitem lang="en"><para lang="en"><olink targetpartnumber="802-5760"><citetitle lang="en">NIS+ Transition Guide</citetitle></olink></para></listitem><listitem lang="en"><para lang="en"><olink targetpartnumber="802-5544"><citetitle lang="en">NFS Administration Guide</citetitle></olink></para></listitem><listitem lang="en"><para lang="en"><olink targetpartnumber="802-5752"><citetitle lang="en">Solaris Naming Administration Guide</citetitle></olink></para></listitem><listitem lang="en"><para lang="en"><olink targetpartnumber="802-5755"><citetitle lang="en">Solaris Naming Setup and Configuration Guide</citetitle></olink></para></listitem><listitem lang="en"><para lang="en"><olink targetpartnumber="802-5753"><citetitle lang="en">TCP/IP and Data Communications Administration Guide</citetitle></olink></para></listitem><listitem lang="en"><para lang="en"><olink targetpartnumber="802-5747"><citetitle lang="en">SunOS Reference Manual</citetitle></olink></para></listitem><listitem lang="en"><para lang="en"><olink targetpartnumber="802-5756"><citetitle lang="en">Binary Compatibility Guide</citetitle></olink></para></listitem><listitem lang="en"><para lang="en"><olink targetpartnumber="802-6320"><citetitle lang="en">Source Compatibility Guide</citetitle></olink></para></listitem><listitem lang="en"><para lang="en"><olink targetpartnumber="802-5429"><citetitle lang="en">Developer's Guide to Internationalization</citetitle></olink></para></listitem><listitem lang="en"><para lang="en"><olink targetpartnumber="802-5938"><citetitle lang="en">Multithreaded Programming Guide</citetitle></olink></para></listitem><listitem lang="en"><para lang="en"><olink targetpartnumber="802-6319"><citetitle lang="en">Linker and Libraries Guide</citetitle></olink></para></listitem><listitem lang="en"><para lang="en"><olink targetpartnumber="802-5880"><citetitle lang="en">Programming Utilities Guide</citetitle></olink></para></listitem></itemizedlist></sect1><sect1 id="preface-11" lang="en"><title lang="en">Getting Help from Sun Microsystems' WWW Site</title><para lang="en">You can get additional Solaris transition information by accessing the following URL:</para><para lang="en"><filename moreinfo="none" lang="en">http://www.sun.com/smcc/solaris-migration/index.html</filename></para><para lang="en">The Solaris Migration Initiative home page is a central point for the distribution of tools, documentation, and information to aid you in your migration to Solaris 2.x.  You can always find the most current resources and pointers here. </para></sect1></preface><part id="part1-1" lang="en"><gentext type="text">Part I</gentext><gentext type="toc">Part I  Transition Information for Users and System Administrators</gentext><title lang="en"> Transition Information for Users and System Administrators</title><partintro lang="en" role="no-manpages"><para lang="en">You can use this part of the guide to help install Solaris 2.6 software, and to understand changes to the local computing environment and to routine tasks. </para></partintro><chapter id="intro-13384" lang="en"><gentext type="text">Chapter 1</gentext><gentext type="toc">1.  Introduction</gentext><title lang="en">Introduction</title><highlights id="intro-42047" lang="en"><para lang="en">The Solaris operating environment enhances your system's capabilities with powerful tools and features. This introduction discusses the benefits of migrating to the Solaris operating environment and summarizes the principal differences between SVR4 and the Solaris operating environment.</para><itemizedlist lang="en" mark="bullet"><listitem lang="en"><para lang="en"><link linkend="intro-23713" lang="en">"Advantages of Migrating to the Solaris Operating Environment"</link></para></listitem><listitem lang="en"><para lang="en"><link linkend="intro-23835" lang="en">"Comparison of SVR4 and the Solaris Operating Environment"</link></para></listitem></itemizedlist></highlights><sect1 id="intro-23713" lang="en"><title lang="en">Advantages of Migrating to the Solaris Operating Environment</title><para lang="en">The UNIX<superscript lang="en">\256</superscript> standard, SVR4, accommodates the leading UNIX variants (System V, BSD, SunOS, and XENIX), uniting the majority of the installed base of UNIX users. The Solaris operating environment, based on SVR4, gives software developers, system administrators, and end users the benefits of a standard operating system including broad compatibility, a growth path, and reduced time to market. It also delivers a functional and powerful product reflecting years of refinement. Among the many advantages the Solaris operating environment provides are portability, scalability, interoperability, and compatibility. <indexterm significance="normal" id="intro-ix180" lang="en"><primary lang="en">Solaris operating environment</primary><secondary lang="en">SVR4 vs.</secondary></indexterm> <indexterm significance="normal" id="intro-ix181" lang="en"><primary lang="en">Solaris operating environment</primary><secondary lang="en">advantages</secondary></indexterm> <indexterm significance="normal" id="intro-ix182" lang="en"><primary lang="en">SVR4</primary><secondary lang="en">Solaris vs.</secondary></indexterm> <indexterm significance="normal" id="intro-ix183" lang="en"><primary lang="en">standardization</primary></indexterm></para><para lang="en">Although the foundation of the Solaris operating environment is based on SVR4, SunSoft has added extensive functionality in areas such as symmetric multiprocessing with multithreads, real-time functionality, increased security, and improved system administration.</para><para lang="en">The Solaris operating environment offers the following features: <indexterm significance="normal" id="intro-ix184" lang="en"><primary lang="en">Solaris operating environment</primary><secondary lang="en">features</secondary></indexterm></para><itemizedlist lang="en" mark="bullet"><listitem lang="en"><para lang="en">SunOS release 5.6, a full 32-bit operating system based on UNIX System V Release 4 (SVR4) <indexterm significance="normal" id="intro-ix185" lang="en"><primary lang="en">Solaris operating environment</primary><secondary lang="en">SVR4 vs.</secondary></indexterm> <indexterm significance="normal" id="intro-ix186" lang="en"><primary lang="en">SVR4</primary><secondary lang="en">Solaris vs.</secondary></indexterm></para></listitem></itemizedlist><itemizedlist lang="en" mark="bullet"><listitem lang="en"><para lang="en">Cross-functional compatibility, which enables the SunOS release 5.6 software to run on SPARC(TM) as well as Intel 386, 486, Pentium and other DOS-compatible CPUs <indexterm significance="normal" id="intro-ix187" lang="en"><primary lang="en">cross-functional compatibility</primary></indexterm> <indexterm significance="normal" id="intro-ix188" lang="en"><primary lang="en">compatibility</primary><secondary lang="en">cross-functional hardware</secondary></indexterm> <indexterm significance="normal" id="intro-ix189" lang="en"><primary lang="en">SunOS release 5.6</primary><secondary lang="en">cross-functional compatibility</secondary></indexterm> <indexterm significance="normal" id="intro-ix190" lang="en"><primary lang="en">Solaris operating environment</primary><secondary lang="en">compatibility</secondary></indexterm></para></listitem></itemizedlist><itemizedlist lang="en" mark="bullet"><listitem lang="en"><para lang="en">Industry standards including SVR4 and the ONC family of networking protocols</para></listitem></itemizedlist><itemizedlist lang="en" mark="bullet"><listitem lang="en"><para lang="en">Graphical user interface (GUI) in the OPEN LOOK<superscript lang="en">\256</superscript> Window Manager <indexterm significance="normal" id="intro-ix191" lang="en"><primary lang="en">graphical user interfaces (GUIs)</primary><secondary lang="en">for installation</secondary></indexterm></para></listitem></itemizedlist><itemizedlist lang="en" mark="bullet"><listitem lang="en"><para lang="en">Common Desktop Environment, a desktop graphical interface. This window environment helps you organize and manage your work. The desktop provides windows, workspaces, controls, menus, and a Front Panel allowing simple access to Mail, File Manager, Printers, Image Tool, Calendar Manager, and others<indexterm significance="normal" id="intro-ix192" lang="en"><primary lang="en">DeskSet</primary></indexterm> <indexterm significance="normal" id="intro-ix193" lang="en"><primary lang="en">Calendar Manager</primary></indexterm> <indexterm significance="normal" id="intro-ix194" lang="en"><primary lang="en">mail</primary><secondary lang="en">multimedia</secondary></indexterm> <indexterm significance="normal" id="intro-ix195" lang="en"><primary lang="en">groupware productivity tools</primary></indexterm> <indexterm significance="normal" id="intro-ix196" lang="en"><primary lang="en">personal productivity tools</primary></indexterm> <indexterm significance="normal" id="intro-ix197" lang="en"><primary lang="en">multimedia mail</primary></indexterm> <indexterm significance="normal" id="intro-ix198" lang="en"><primary lang="en">Image Tool</primary></indexterm> <indexterm significance="normal" id="intro-ix199" lang="en"><primary lang="en">File Manager</primary></indexterm></para></listitem></itemizedlist><itemizedlist lang="en" mark="bullet"><listitem lang="en"><para lang="en">Calendar Manager, a time management application that displays appointments and ToDo items at a glance and offers a multibrowse feature that makes  scheduling among a group easy</para></listitem></itemizedlist><itemizedlist lang="en" mark="bullet"><listitem lang="en"><para lang="en">File Manager, a graphical and intuitive way to navigate to local and remote file systems <indexterm significance="normal" id="intro-ix200" lang="en"><primary lang="en">File Manager</primary></indexterm></para></listitem></itemizedlist><itemizedlist lang="en" mark="bullet"><listitem lang="en"><para lang="en">Image Tool, which enables you to load, view and save images of over 40 different formats <indexterm significance="normal" id="intro-ix201" lang="en"><primary lang="en">Image Tool</primary></indexterm></para></listitem></itemizedlist><itemizedlist lang="en" mark="bullet"><listitem lang="en"><para lang="en">Audio, a new, Motif-based audio application for playing and recording AU, WAV, and AIFF files.</para></listitem></itemizedlist><itemizedlist lang="en" mark="bullet"><listitem lang="en"><para lang="en">OPEN LOOK Admintool, the base for local system administration <indexterm significance="normal" id="intro-ix202" lang="en"><primary lang="en">OPEN LOOK admintool</primary></indexterm></para></listitem></itemizedlist><itemizedlist lang="en" mark="bullet"><listitem lang="en"><para lang="en">Installation GUI for easing install and update</para></listitem></itemizedlist><itemizedlist lang="en" mark="bullet"><listitem lang="en"><para lang="en">Log-based file systems on servers</para></listitem></itemizedlist><itemizedlist lang="en" mark="bullet"><listitem lang="en"><para lang="en">Advanced architecture that includes fully symmetric multiprocessing and sophisticated multithreading</para></listitem></itemizedlist><itemizedlist lang="en" mark="bullet"><listitem lang="en"><para lang="en">Real-time priority scheduling and a fully pre-emptible kernel, providing the benefits of open systems while meeting the requirements of control applications <indexterm significance="normal" id="intro-ix203" lang="en"><primary lang="en">real-time priority scheduling</primary></indexterm></para></listitem></itemizedlist><itemizedlist lang="en" mark="bullet"><listitem lang="en"><para lang="en">Network Information Services Plus (NIS+), an upward-compatible version of the NIS name service with simpler hierarchical administration, improved security, and faster updates. <indexterm significance="normal" id="intro-ix204" lang="en"><primary lang="en">NIS+ (Network Information Services Plus)</primary><secondary lang="en">described</secondary></indexterm></para></listitem></itemizedlist><itemizedlist lang="en" mark="bullet"><listitem lang="en"><para lang="en">Standards conformance for application developers interested in the benefits of application portability <indexterm significance="normal" id="intro-ix205" lang="en"><primary lang="en">standardization</primary></indexterm></para></listitem></itemizedlist><itemizedlist lang="en" mark="bullet"><listitem lang="en"><para lang="en">Multimedia Mail, for sending messages that incorporate audio, graphics, and embedded files <indexterm significance="normal" id="intro-ix206" lang="en"><primary lang="en">multimedia mail</primary></indexterm> <indexterm significance="normal" id="intro-ix207" lang="en"><primary lang="en">mail</primary><secondary lang="en">multimedia</secondary></indexterm></para></listitem></itemizedlist><itemizedlist lang="en" mark="bullet"><listitem lang="en"><para lang="en">Java Virtual Machine(TM), provides access to the Java platform for the Solaris operating environment<indexterm significance="normal" id="intro-ix209" lang="en"><primary lang="en">spoken messages</primary></indexterm> <indexterm significance="normal" id="intro-ix210" lang="en"><primary lang="en">messages, spoken</primary></indexterm></para></listitem></itemizedlist><itemizedlist lang="en" mark="bullet"><listitem lang="en"><para lang="en">WebNFS, makes it possible to make a file system accessible through a Web browser.</para></listitem></itemizedlist><itemizedlist lang="en" mark="bullet"><listitem lang="en"><para lang="en">AnswerBook2(TM) Viewer, Sun's premier online documentation system that uses a web-browser-based interface</para></listitem></itemizedlist><sect2 id="intro-1" lang="en"><title lang="en">Portability, Scalability, Interoperability, and Compatibility</title><para lang="en">The Solaris operating environment is portable, scalable, interoperable, and compatible.</para><sect3 id="intro-2" lang="en"><title lang="en">Portability</title><para lang="en">The SunSoft SunOS product is portable across multiple vendor platforms. Software conforming to an application binary interface (ABI) runs as shrink-wrapped software on all vendor systems with the same microprocessor architecture. This enables application developers to reduce software development costs and bring products to market quickly, and enables users to upgrade hardware while retaining their software applications and minimizing conversion costs. <indexterm significance="normal" id="intro-ix211" lang="en"><primary lang="en">Solaris operating environment</primary><secondary lang="en">portability</secondary></indexterm> <indexterm significance="normal" id="intro-ix212" lang="en"><primary lang="en">portability</primary></indexterm></para></sect3><sect3 id="intro-3" lang="en"><title lang="en">Scalability</title><para lang="en">Over time, applications become more widely used, and require more powerful systems to support them. To operate in a growing environment, software must be able to run in a wide power range and must be able to take advantage of the additional processing power. SunSoft's operating system runs on machines of all sizes, from laptops to supercomputers. <indexterm significance="normal" id="intro-ix213" lang="en"><primary lang="en">Solaris operating environment</primary><secondary lang="en">scalability</secondary></indexterm> <indexterm significance="normal" id="intro-ix214" lang="en"><primary lang="en">scalability</primary></indexterm></para></sect3><sect3 id="intro-4" lang="en"><title lang="en">Interoperability</title><para lang="en">Heterogenous computing environments are a reality today. Users purchase systems from many vendors to implement the solutions they need. Standardization and clear interfaces are critical to a heterogeneous environment, enabling users to develop strategies for communicating throughout their network. Solaris systems can interoperate with every popular system on the market today, and applications running on UNIX can communicate easily. <indexterm significance="normal" id="intro-ix215" lang="en"><primary lang="en">Solaris operating environment</primary><secondary lang="en">interoperability</secondary></indexterm> <indexterm significance="normal" id="intro-ix216" lang="en"><primary lang="en">interoperability</primary></indexterm> <indexterm significance="normal" id="intro-ix217" lang="en"><primary lang="en">standardization</primary></indexterm></para></sect3><sect3 id="intro-5" lang="en"><title lang="en">Compatibility</title><para lang="en">Computing technology continues to advance rapidly, but the need to remain competitive requires vendors to minimize their costs and to maximize their investments. SunSoft will ensure that as new technology is introduced, the existing software investment is preserved. Users can take advantage of today's solutions and still be compatible with tomorrow's technologies. <indexterm significance="normal" id="intro-ix218" lang="en"><primary lang="en">Solaris operating environment</primary><secondary lang="en">compatibility</secondary></indexterm> <indexterm significance="normal" id="intro-ix219" lang="en"><primary lang="en">compatibility</primary><secondary lang="en">cross-functional hardware</secondary></indexterm></para></sect3></sect2><sect2 id="intro-6" lang="en"><title lang="en">Advantages for Large Organizations</title><para lang="en">The Solaris operating environment provides a number of sound business reasons for transitioning to an industry-standard-based UNIX operating system. Application development and maintenance costs are lower, and application portability is enhanced. <indexterm significance="normal" id="intro-ix220" lang="en"><primary lang="en">Solaris operating environment</primary><secondary lang="en">large organizations and</secondary></indexterm> <indexterm significance="normal" id="intro-ix221" lang="en"><primary lang="en">large organizations, advantages of Solaris for</primary></indexterm> <indexterm significance="normal" id="intro-ix222" lang="en"><primary lang="en">Solaris operating environment</primary><secondary lang="en">advantages</secondary></indexterm></para></sect2></sect1><sect1 id="intro-23835" lang="en"><title lang="en">Comparison of SVR4 and the Solaris Operating Environment</title><para lang="en">This section describes the main differences between SVR4 and the Solaris operating environment. It points out features that the Solaris operating environment includes that are not available in SVR4 and a few SVR4 features that are not available in the Solaris operating environment. <indexterm significance="normal" id="intro-ix223" lang="en"><primary lang="en">Solaris operating environment</primary><secondary lang="en">features</secondary></indexterm> <indexterm significance="normal" id="intro-ix224" lang="en"><primary lang="en">SVR4</primary><secondary lang="en">Solaris vs.</secondary></indexterm> <indexterm significance="normal" id="intro-ix225" lang="en"><primary lang="en">Solaris operating environment</primary><secondary lang="en">SVR4 vs.</secondary></indexterm></para><sect2 id="intro-7" lang="en"><title lang="en">Additional Features in the Solaris Operating Environment</title><para lang="en">The Solaris operating environment offers value-added components in addition to the SVR4-based operating system. These make computing easier and create new opportunities for users, system administrators, and developers.</para><para lang="en">In general, the merge of established UNIX variants into SVR4 and the Solaris operating environment was done by consolidating the existing functionality while maintaining compatibility for existing applications. As a result, features and commands were added to the product with few features being withdrawn.</para><sect3 id="intro-8" lang="en"><title lang="en">Features for the User</title><para lang="en">For users, the Solaris operating environment incorporates a suite of powerful DeskSet applications to enhance personal productivity. All DeskSet applications rely on the drag-and-drop metaphor, enabling users to carry out complex UNIX commands with a mouse. Specifically, some of the features are: <indexterm significance="normal" id="intro-ix226" lang="en"><primary lang="en">personal productivity tools</primary></indexterm> <indexterm significance="normal" id="intro-ix227" lang="en"><primary lang="en">DeskSet</primary></indexterm> <indexterm significance="normal" id="intro-ix228" lang="en"><primary lang="en">users, Solaris features for</primary></indexterm> <indexterm significance="normal" id="intro-ix229" lang="en"><primary lang="en">Solaris operating environment</primary><secondary lang="en">user features</secondary></indexterm></para><itemizedlist lang="en" mark="bullet"><listitem lang="en"><para lang="en"><emphasis lang="en">A workspace manager</emphasis>. Provides basic window management services (open, close, move, and so on), as well as tools that enables user to customize their workspace. <indexterm significance="normal" id="intro-ix230" lang="en"><primary lang="en">workspace manager</primary></indexterm> <indexterm significance="normal" id="intro-ix231" lang="en"><primary lang="en">window management services</primary></indexterm></para></listitem></itemizedlist><itemizedlist lang="en" mark="bullet"><listitem lang="en"><para lang="en"><emphasis lang="en">Desktop integration services</emphasis>. These include ToolTalk, drag and drop, and cut and paste, providing the foundation that enables applications to seamlessly integrate with one another. <indexterm significance="normal" id="intro-ix232" lang="en"><primary lang="en">desktop integration services</primary></indexterm> <indexterm significance="normal" id="intro-ix233" lang="en"><primary lang="en">cut and paste</primary></indexterm> <indexterm significance="normal" id="intro-ix234" lang="en"><primary lang="en">ToolTalk</primary></indexterm> <indexterm significance="normal" id="intro-ix235" lang="en"><primary lang="en">drag and drop</primary></indexterm></para></listitem></itemizedlist><itemizedlist lang="en" mark="bullet"><listitem lang="en"><para lang="en"><emphasis lang="en">Graphics libraries</emphasis>. These include XGL(TM), Xlib, PEX(TM), and XIL(TM), providing support for 2D and 3D graphics applications. <indexterm significance="normal" id="intro-ix236" lang="en"><primary lang="en">graphics libraries</primary></indexterm></para></listitem></itemizedlist><itemizedlist lang="en" mark="bullet"><listitem lang="en"><para lang="en"><emphasis lang="en">Calendar Manager</emphasis>. A time management application that displays appointments and ToDo items for a day, week, or a month at a glance. It also contains a multibrowse feature that makes scheduling meetings among a group of users easy. Multiple calendars can be overlaid simultaneously to determine convenient meeting time slots at a glance. <indexterm significance="normal" id="intro-ix237" lang="en"><primary lang="en">Calendar Manager</primary></indexterm></para></listitem></itemizedlist><itemizedlist lang="en" mark="bullet"><listitem lang="en"><para lang="en"><emphasis lang="en">Image Tool</emphasis>. Enables you to load, view and save images of over 40 different formats including PICT, PostScript(TM), TIFF, GIF, JFIF, and many more. <indexterm significance="normal" id="intro-ix238" lang="en"><primary lang="en">Image Tool</primary></indexterm></para></listitem></itemizedlist><itemizedlist lang="en" mark="bullet"><listitem lang="en"><para lang="en">Other tools include a print tool, audio tool, shell tool, clock, and text editor. <indexterm significance="normal" id="intro-ix239" lang="en"><primary lang="en">DeskSet</primary></indexterm> <indexterm significance="normal" id="intro-ix240" lang="en"><primary lang="en">personal productivity tools</primary></indexterm> <indexterm significance="normal" id="intro-ix241" lang="en"><primary lang="en">Solaris operating environment</primary><secondary lang="en">user features</secondary></indexterm> <indexterm significance="normal" id="intro-ix242" lang="en"><primary lang="en">users, Solaris features for</primary></indexterm></para></listitem></itemizedlist></sect3><sect3 id="intro-9" lang="en"><title lang="en">Features for the System Administrator</title><para lang="en">For system administrators, the Solaris operating environment offers a variety of new tools to simplify the administration of a distributed computing environment. These include: <indexterm significance="normal" id="intro-ix243" lang="en"><primary lang="en">system administrators</primary><secondary lang="en">Solaris features for</secondary></indexterm> <indexterm significance="normal" id="intro-ix244" lang="en"><primary lang="en">Solaris operating environment</primary><secondary lang="en">system administrator features</secondary></indexterm></para><itemizedlist lang="en" mark="bullet"><listitem lang="en"><para lang="en"><emphasis lang="en">Device information</emphasis>. Administrators can use these optional utilities to obtain information about installed devices including device names, attributes, and accessibility. Administration can be simplified by creating device allocation pools, a feature not previously found in UNIX systems. <indexterm significance="normal" id="intro-ix245" lang="en"><primary lang="en">information reporting</primary><secondary lang="en">device administration</secondary></indexterm> <indexterm significance="normal" id="intro-ix246" lang="en"><primary lang="en">device administration</primary><secondary lang="en">information reporting</secondary></indexterm></para></listitem></itemizedlist><itemizedlist lang="en" mark="bullet"><listitem lang="en"><para lang="en"><emphasis lang="en">File system administration</emphasis>. These utilities enable administrators to create, copy, mount, debug, repair, and unmount file systems; create and remove hard file links and named pipes; and manage volumes. <indexterm significance="normal" id="intro-ix247" lang="en"><primary lang="en">file systems</primary><secondary lang="en">utility overview</secondary></indexterm></para></listitem></itemizedlist><itemizedlist lang="en" mark="bullet"><listitem lang="en"><para lang="en"><emphasis lang="en">Interprocess communication</emphasis>. Two interprocess communication utilities create, remove, and report on the status of the system's interprocess communication facilities (message queues, semaphores, and shared memory IDs). They provide information helpful in tuning the system. <indexterm significance="normal" id="intro-ix248" lang="en"><primary lang="en">interprocess communication utilities</primary></indexterm></para></listitem></itemizedlist><itemizedlist lang="en" mark="bullet"><listitem lang="en"><para lang="en"><emphasis lang="en">Process management</emphasis>. The process management utilities help you control system scheduling. Using these utilities, administrators can generate reports on performance, logins, disk access locations, and seek distances to better tune system performance. In addition, you can change the system run level, kill active processes, time the execution of commands, and change the default scheduling priorities of kernel, timesharing, and real-time processes. <indexterm significance="normal" id="intro-ix249" lang="en"><primary lang="en">process management</primary><secondary lang="en">utilities</secondary></indexterm></para></listitem></itemizedlist><itemizedlist lang="en" mark="bullet"><listitem lang="en"><para lang="en"><emphasis lang="en">System accounting</emphasis>. The accounting utilities enable system administrators to track system usage by CPU, user, and process for better resource allocation. <indexterm significance="normal" id="intro-ix250" lang="en"><primary lang="en">system accounting</primary><secondary lang="en">utilities overview</secondary></indexterm></para></listitem></itemizedlist><itemizedlist lang="en" mark="bullet"><listitem lang="en"><para lang="en"><emphasis lang="en">System information</emphasis>. These utilities report system memory and system configuration. The system administrator can use the utilities to change the names of the systems and the network node. <indexterm significance="normal" id="intro-ix251" lang="en"><primary lang="en">system information utilities</primary></indexterm></para></listitem></itemizedlist><itemizedlist lang="en" mark="bullet"><listitem lang="en"><para lang="en"><emphasis lang="en">User and group management</emphasis>. With these utilities, a system administrator can create and delete entries in group and password databases, specify default home directories and environments, maintain user and system logins, and assign group and user IDs. The utilities support both primary and supplementary user groups. <indexterm significance="normal" id="intro-ix252" lang="en"><primary lang="en">user management utilities</primary></indexterm> <indexterm significance="normal" id="intro-ix253" lang="en"><primary lang="en">groups, administering</primary></indexterm></para></listitem></itemizedlist><itemizedlist lang="en" mark="bullet"><listitem lang="en"><para lang="en"><emphasis lang="en">Admintool</emphasis>. Admintool, which runs under the OpenWindows environment, provides system management facilities to help add hosts, manage the network, and perform many other routine tasks on local systems. <indexterm significance="normal" id="intro-ix254" lang="en"><primary lang="en">SunOS release 5.6</primary><secondary lang="en">admintool</secondary></indexterm> <indexterm significance="normal" id="intro-ix255" lang="en"><primary lang="en">admintool</primary><secondary lang="en">described</secondary></indexterm></para></listitem></itemizedlist><itemizedlist lang="en" mark="bullet"><listitem lang="en"><para lang="en"><emphasis lang="en">Auto configuration</emphasis>. The Solaris operating environment has a dynamic kernel, which means that it loads drivers and other modules into memory when the devices are accessed. You no longer need to rebuild the kernel after installation, nor must you add or remove drivers. <indexterm significance="normal" id="intro-ix256" lang="en"><primary lang="en">configuration</primary><secondary lang="en">auto</secondary></indexterm> <indexterm significance="normal" id="intro-ix257" lang="en"><primary lang="en">auto configuration</primary></indexterm> <indexterm significance="normal" id="intro-ix258" lang="en"><primary lang="en">kernel</primary><secondary lang="en">dynamic</secondary></indexterm> <indexterm significance="normal" id="intro-ix259" lang="en"><primary lang="en">dynamic kernel</primary><secondary lang="en">defined</secondary></indexterm></para></listitem></itemizedlist><itemizedlist lang="en" mark="bullet"><listitem lang="en"><para lang="en"><emphasis lang="en">Network Information Services Plus (NIS+)</emphasis>. An upward-compatible version of the NIS name service with simpler hierarchical administration, improved security, and faster updates. <indexterm significance="normal" id="intro-ix260" lang="en"><primary lang="en">NIS+ (Network Information Services Plus)</primary><secondary lang="en">described</secondary></indexterm></para></listitem></itemizedlist><itemizedlist lang="en" mark="bullet"><listitem lang="en"><para lang="en"><emphasis lang="en">Installation</emphasis>. The Solaris operating environment has an install GUI to ease installation or upgrades. Automatic installations and upgrades are also possible over the network. <indexterm significance="normal" id="intro-ix261" lang="en"><primary lang="en">installation</primary><secondary lang="en">overview</secondary></indexterm> <indexterm significance="normal" id="intro-ix262" lang="en"><primary lang="en">graphical user interfaces (GUIs)</primary><secondary lang="en">for installation</secondary></indexterm></para></listitem></itemizedlist><itemizedlist lang="en" mark="bullet"><listitem lang="en"><para lang="en"><emphasis lang="en">Security</emphasis>. The automated security enhancement tool (ASET) is a utility that improves security by allowing system administrators to check system file settings including permissions, ownership, and file contents. ASET warns users about potential security problems and, where appropriate, sets the system file permissions autonomically according to the specified security level. <indexterm significance="normal" id="intro-ix263" lang="en"><primary lang="en">automated security enhancement tool (ASET)</primary></indexterm> <indexterm significance="normal" id="intro-ix264" lang="en"><primary lang="en">ASET (automated security enhancement tool)</primary></indexterm> <indexterm significance="normal" id="intro-ix265" lang="en"><primary lang="en">security</primary><secondary lang="en">level of</secondary></indexterm> <indexterm significance="normal" id="intro-ix266" lang="en"><primary lang="en">security</primary><secondary lang="en">ASET</secondary></indexterm> <indexterm significance="normal" id="intro-ix267" lang="en"><primary lang="en">Solaris operating environment</primary><secondary lang="en">system administrator features</secondary></indexterm> <indexterm significance="normal" id="intro-ix268" lang="en"><primary lang="en">system administrators</primary><secondary lang="en">Solaris features for</secondary></indexterm></para></listitem></itemizedlist></sect3><sect3 id="intro-10" lang="en"><title lang="en">Features for the Developer</title><para lang="en">For application developers, the Solaris operating environment includes a variety of toolkits and features to simplify the development of complex applications with graphical user interfaces. <indexterm significance="normal" id="intro-ix269" lang="en"><primary lang="en">Solaris operating environment</primary><secondary lang="en">developer features</secondary></indexterm> <indexterm significance="normal" id="intro-ix270" lang="en"><primary lang="en">developers</primary><secondary lang="en">Solaris features for</secondary></indexterm></para><itemizedlist lang="en" mark="bullet"><listitem lang="en"><para lang="en"><emphasis lang="en">Multithreaded (MT) kernel</emphasis>. MT provides for a symmetric multiprocessing kernel where multiple processors can execute the kernel at the same time. Applications can be structured as several independent computations rather than as one thread of control. Independent computations execute more efficiently because the operating system handles the interleaving of the independent operations. This benefit of multithreading is known as <emphasis lang="en">application concurrency</emphasis>. <indexterm significance="normal" id="intro-ix271" lang="en"><primary lang="en">application concurrency</primary></indexterm> <indexterm significance="normal" id="intro-ix272" lang="en"><primary lang="en">kernel</primary><secondary lang="en">MT (multithreaded)</secondary></indexterm> <indexterm significance="normal" id="intro-ix273" lang="en"><primary lang="en">concurrency</primary></indexterm> <indexterm significance="normal" id="intro-ix274" lang="en"><primary lang="en">multithreaded (MT) kernel</primary></indexterm> <indexterm significance="normal" id="intro-ix275" lang="en"><primary lang="en">MT (multithreaded) kernel</primary></indexterm></para></listitem></itemizedlist><itemizedlist lang="en" mark="bullet"><listitem lang="en"><para lang="en"><emphasis lang="en">STREAMS.</emphasis> STREAMS is a flexible framework for character input and output (I/O) that has been implemented throughout SVR4. It is easily customized for applications. <indexterm significance="normal" id="intro-ix276" lang="en"><primary lang="en">STREAMS</primary><secondary lang="en">described</secondary></indexterm></para></listitem></itemizedlist><itemizedlist lang="en" mark="bullet"><listitem lang="en"><para lang="en"><emphasis lang="en">Expanded fundamental types</emphasis>. ID data types (<command moreinfo="none" lang="en">uid</command>, <command moreinfo="none" lang="en">pid</command>, device IDs, and the like) and certain other data types are expanded to 32 bits. This improves the scalability of the operating system in large systems and for use in large organizations. <indexterm significance="normal" id="intro-ix277" lang="en"><primary lang="en">ID data types, expanded</primary></indexterm> <indexterm significance="normal" id="intro-ix278" lang="en"><primary lang="en">data types, expanded</primary></indexterm> <indexterm significance="normal" id="intro-ix279" lang="en"><primary lang="en">Solaris operating environment</primary><secondary lang="en">scalability</secondary></indexterm> <indexterm significance="normal" id="intro-ix280" lang="en"><primary lang="en">scalability</primary></indexterm></para></listitem></itemizedlist><itemizedlist lang="en" mark="bullet"><listitem lang="en"><para lang="en"><emphasis lang="en">Device driver interfaces</emphasis>. There are three types of interfaces for Solaris device drivers: Device Kernel Interface (DKI) Device Driver Interface/Device Kernel Interface (DDI/DKI), and Sun Device Driver Interface (Sun DDI). The DDI/DKI conformance means that device drivers have better source and binary compatibility across SPARC platforms so developers can write one driver to support a peripheral on all SPARC platforms. <indexterm significance="normal" id="intro-ix281" lang="en"><primary lang="en">DKI (Driver Kernel Interface)</primary></indexterm> <indexterm significance="normal" id="intro-ix282" lang="en"><primary lang="en">Driver Kernel Interface (DKI)</primary></indexterm> <indexterm significance="normal" id="intro-ix283" lang="en"><primary lang="en">Solaris 2.6 DDI/DKI</primary></indexterm> <indexterm significance="normal" id="intro-ix284" lang="en"><primary lang="en">Solaris 2.6 SPARC DDI/DKI</primary></indexterm> <indexterm significance="normal" id="intro-ix285" lang="en"><primary lang="en">SPARC DDI/DKI</primary></indexterm> <indexterm significance="normal" id="intro-ix286" lang="en"><primary lang="en">SPARC platforms, Solaris features and</primary></indexterm> <indexterm significance="normal" id="intro-ix287" lang="en"><primary lang="en">Sun DDI (Sun Device Driver Interface)</primary></indexterm> <indexterm significance="normal" id="intro-ix288" lang="en"><primary lang="en">DDI (Device Driver Interface)</primary></indexterm> <indexterm significance="normal" id="intro-ix289" lang="en"><primary lang="en">device drivers</primary><secondary lang="en">interface types</secondary></indexterm> <indexterm significance="normal" id="intro-ix290" lang="en"><primary lang="en">Device Driver Interface (DDI)</primary></indexterm> <indexterm significance="normal" id="intro-ix291" lang="en"><primary lang="en">DDI/DKI (Device Driver Interface/Driver Kernel Interface)</primary></indexterm> <indexterm significance="normal" id="intro-ix292" lang="en"><primary lang="en">device drivers</primary><secondary lang="en">interface compatility</secondary></indexterm> <indexterm significance="normal" id="intro-ix293" lang="en"><primary lang="en">Device Driver Interface/Driver Kernel Interface (DDI/DKI)</primary></indexterm></para></listitem></itemizedlist><itemizedlist lang="en" mark="bullet"><listitem lang="en"><para lang="en"><emphasis lang="en">Automatic device driver loading</emphasis>. This makes drivers easier to install and devices easier to access. <indexterm significance="normal" id="intro-ix294" lang="en"><primary lang="en">loading device drivers</primary></indexterm> <indexterm significance="normal" id="intro-ix295" lang="en"><primary lang="en">device administration</primary><secondary lang="en">loading devices</secondary></indexterm> <indexterm significance="normal" id="intro-ix296" lang="en"><primary lang="en">device administration</primary><secondary lang="en">automatic loading</secondary></indexterm> <indexterm significance="normal" id="intro-ix297" lang="en"><primary lang="en">automatic loading, device drivers</primary></indexterm></para></listitem></itemizedlist><itemizedlist lang="en" mark="bullet"><listitem lang="en"><para lang="en"><emphasis lang="en">Dynamic linking</emphasis>. The Solaris application environment supports static and dynamic linking of libraries. The linker uses the version numbers of the libraries and executables to link applications with the proper libraries, routines, and interfaces. <indexterm significance="normal" id="intro-ix298" lang="en"><primary lang="en">linkers</primary><secondary lang="en">dynamic linking</secondary></indexterm> <indexterm significance="normal" id="intro-ix299" lang="en"><primary lang="en">libraries</primary><secondary lang="en">dynamic linking of</secondary></indexterm> <indexterm significance="normal" id="intro-ix300" lang="en"><primary lang="en">dynamic linking</primary></indexterm> <indexterm significance="normal" id="intro-ix301" lang="en"><primary lang="en">Solaris operating environment</primary><secondary lang="en">features</secondary></indexterm> <indexterm significance="normal" id="intro-ix302" lang="en"><primary lang="en">developers</primary><secondary lang="en">Solaris features for</secondary></indexterm> <indexterm significance="normal" id="intro-ix303" lang="en"><primary lang="en">Solaris operating environment</primary><secondary lang="en">developer features</secondary></indexterm></para></listitem></itemizedlist></sect3></sect2><sect2 id="intro-11" lang="en"><title lang="en">SVR4 Features Excluded From the Solaris Environment</title><para lang="en">In a few instances, features in SVR4 were not include in the Solaris operating environment. These features are specific to AT&amp;T hardware, or features included primarily for backward compatibility with SVR3 features and therefore, are of little value to SunOS users. <indexterm significance="normal" id="intro-ix304" lang="en"><primary lang="en">AT&amp;T systems</primary><secondary lang="en">SVR4 features excluded from Solaris operating environment</secondary></indexterm></para><para lang="en">The Solaris operating environment does not include the System V file system and associated utilities because of their limitations compared to the UNIX file system. The SVR4 boot file system was not included because of its maintenance burden when compared to the SunOS traditional boot model. <indexterm significance="normal" id="intro-ix305" lang="en"><primary lang="en">System V file system (S5)</primary></indexterm> <indexterm significance="normal" id="intro-ix306" lang="en"><primary lang="en">file systems</primary><secondary lang="en">System V</secondary></indexterm></para><para lang="en">The generic AT&amp;T SVR4 model for device auto-configuration and for rebuilding kernels was replaced with a fully dynamically configurable kernel better suited to the needs of present and future users of SPARC systems.</para><para lang="en">Because there is no installed base of SPARC XENIX programs, the SPARC release of the Solaris operating environment does not include compatibility for XENIX applications. <indexterm significance="normal" id="intro-ix307" lang="en"><primary lang="en">XENIX, Solaris SPARC release and</primary></indexterm></para><para lang="en">The Solaris operating environment does not include the AT&amp;T SVR4 <command moreinfo="none" lang="en">sysadm </command>utility. Because the <command moreinfo="none" lang="en">sysadm</command> menu utility was designed primarily for use with terminal devices on freestanding systems, SunSoft chose to concentrate its efforts on tools with graphical user interfaces that simplify the administration of distributed systems across a network. The Solaris operating environment provides the utilities and configuration directories that underlie the SVR4 <command moreinfo="none" lang="en">sysadm</command> utility but not the <command moreinfo="none" lang="en">sysadm</command> utility itself. <indexterm significance="normal" id="intro-ix308" lang="en"><primary lang="en"><command moreinfo="none" lang="en">sysadm</command> menu utility</primary></indexterm> <indexterm significance="normal" id="intro-ix309" lang="en"><primary lang="en">menus, sysadm menu utility</primary></indexterm> <indexterm significance="normal" id="intro-ix310" lang="en"><primary lang="en">AT&amp;T systems</primary><secondary lang="en">sysadm menu utility</secondary></indexterm> <indexterm significance="normal" id="intro-ix311" lang="en"><primary lang="en">Solaris operating environment</primary><secondary lang="en">SVR4 vs.</secondary></indexterm> <indexterm significance="normal" id="intro-ix312" lang="en"><primary lang="en">SVR4</primary><secondary lang="en">Solaris vs.</secondary></indexterm> <indexterm significance="normal" id="intro-ix313" lang="en"><primary lang="en">AT&amp;T systems</primary><secondary lang="en">SVR4 features excluded from Solaris operating environment</secondary></indexterm> <indexterm significance="normal" id="intro-ix314" lang="en"><primary lang="en">AT&amp;T systems</primary><secondary lang="en">sysadm menu utility</secondary></indexterm> <indexterm significance="normal" id="intro-ix315" lang="en"><primary lang="en">menus, sysadm menu utility</primary></indexterm> <indexterm significance="normal" id="intro-ix316" lang="en"><primary lang="en">sysadm menu utility</primary></indexterm></para></sect2></sect1></chapter><chapter id="admover-12463" lang="en"><gentext type="text">Chapter 2</gentext><gentext type="toc">2.  Overview of Major Changes</gentext><title lang="en">Overview of Major Changes</title><highlights lang="en"><para lang="en">As you use the Solaris 2.6 operating environment, you will find similarities to the SunOS release 4.x operating environment; however, you will also notice some differences. The rest of this guide focuses on the procedures, tools, commands, and concepts that have changed between releases. </para><para lang="en">This chapter is an overview of some of the principal changes. It provides background information for topics in subsequent chapters. Some topics receive sufficient coverage here, while others require more in-depth technical background. In the latter case, the text directs you to a chapter that more fully describes the changes.</para><itemizedlist lang="en" mark="bullet"><listitem lang="en"><para lang="en"><link linkend="admover-24559" lang="en">"Software Packages and Clusters"</link></para></listitem><listitem lang="en"><para lang="en"><link linkend="admover-20968" lang="en">"Disk Slices (or Partitions)"</link></para></listitem><listitem lang="en"><para lang="en"><link linkend="admover-24738" lang="en">"Device Naming"</link></para></listitem><listitem lang="en"><para lang="en"><link linkend="admover-17143" lang="en">"File Systems"</link></para></listitem><listitem lang="en"><para lang="en"><link linkend="admover-21791" lang="en">"Kernel Configuration"</link></para></listitem><listitem lang="en"><para lang="en"><link linkend="admover-40929" lang="en">"Automounting"</link></para></listitem><listitem lang="en"><para lang="en"><link linkend="admover-28211" lang="en">"Admintool"</link></para></listitem><listitem lang="en"><para lang="en"><link linkend="admover-31519" lang="en">"Network Information Service Plus (NIS+)"</link></para></listitem><listitem lang="en"><para lang="en"><link linkend="admover-16960" lang="en">"Print Subsystem"</link></para></listitem><listitem lang="en"><para lang="en"><link linkend="admover-21703" lang="en">"Service Access Facility"</link></para></listitem><listitem lang="en"><para lang="en"><link linkend="admover-46997" lang="en">"Volume Management"</link></para></listitem></itemizedlist></highlights><indexterm significance="normal" id="admover-ix317" lang="en"><primary lang="en">SunOS release 4.x</primary><secondary lang="en">overview of major changes in Solaris 2.6</secondary></indexterm><indexterm significance="normal" id="admover-ix318" lang="en"><primary lang="en">Solaris 2.6 operating environment</primary><secondary lang="en">overview of major changes</secondary></indexterm><sect1 id="admover-24559" lang="en"><title lang="en">Software Packages and Clusters</title><para lang="en">Solaris 2.6 system software is delivered in units known as <emphasis lang="en">packages.</emphasis> A package is a collection of files and directories required for a software product. A <emphasis lang="en">cluster</emphasis> is a collection of packages. <indexterm significance="normal" id="admover-ix319" lang="en"><primary lang="en">packages</primary><secondary lang="en">defined</secondary></indexterm> <indexterm significance="normal" id="admover-ix320" lang="en"><primary lang="en">clusters</primary></indexterm></para><para lang="en">The list below describes four clusters. Note that as you progress through the list, each cluster contains the software of the preceding cluster plus additional software.</para><itemizedlist lang="en" mark="bullet"><listitem lang="en"><para lang="en"><emphasis lang="en">Core System Support</emphasis> is the minimum software configuration; it contains only the software necessary to boot and run the Solaris 2.6 operating environment. <indexterm significance="normal" id="admover-ix321" lang="en"><primary lang="en">Core System Support</primary></indexterm></para></listitem></itemizedlist><itemizedlist lang="en" mark="bullet"><listitem lang="en"><para lang="en"><emphasis lang="en">End User System Support</emphasis> contains Core System Support plus end user support such as the OpenWindows windowing system and the related DeskSet application files; this cluster includes the recommended software for an end user.</para></listitem></itemizedlist><itemizedlist lang="en" mark="bullet"><listitem lang="en"><para lang="en"><emphasis lang="en">Developer System Support</emphasis> contains End User System Support plus the libraries, include files, and tools needed to develop software in the Solaris 2.6 operating environment. Compilers and debuggers are not included in the Solaris 2.6 operating environment. <indexterm significance="normal" id="admover-ix322" lang="en"><primary lang="en">End User System Support</primary></indexterm> <indexterm significance="normal" id="admover-ix323" lang="en"><primary lang="en">Developer System Support</primary></indexterm></para></listitem></itemizedlist><itemizedlist lang="en" mark="bullet"><listitem lang="en"><para lang="en"><emphasis lang="en">Entire Distribution</emphasis> contains the entire Solaris 2.6 environment. <indexterm significance="normal" id="admover-ix324" lang="en"><primary lang="en">Entire Distribution</primary></indexterm></para></listitem></itemizedlist><para lang="en">For more information about this section's topics, see <olink targetpartnumber="802-5750"><citetitle lang="en">System Administration Guide</citetitle></olink>.</para><sect2 id="admover-1" lang="en"><title lang="en">Package Administration</title><para lang="en">Software package management simplifies installing and updating software. Administration is simplified because the method for managing system software and third party applications is now consistent. The tools for creating software packages are in an application packaging tools library. <indexterm significance="normal" id="admover-ix325" lang="en"><primary lang="en">removing</primary><secondary lang="en">software packages</secondary></indexterm> <indexterm significance="normal" id="admover-ix326" lang="en"><primary lang="en">remote systems</primary><secondary lang="en">software package administration</secondary></indexterm> <indexterm significance="normal" id="admover-ix327" lang="en"><primary lang="en">packages</primary><secondary lang="en">advantages</secondary></indexterm> <indexterm significance="normal" id="admover-ix328" lang="en"><primary lang="en">packages</primary><secondary lang="en">installing</secondary></indexterm> <indexterm significance="normal" id="admover-ix329" lang="en"><primary lang="en">installation</primary><secondary lang="en">software packages</secondary></indexterm></para><para lang="en">There are two tools you can use to install and remove packages: <indexterm significance="normal" id="admover-ix330" lang="en"><primary lang="en">packages</primary><secondary lang="en">removing</secondary></indexterm> <indexterm significance="normal" id="admover-ix331" lang="en"><primary lang="en">adding</primary><secondary lang="en">software packages</secondary></indexterm></para><itemizedlist lang="en" mark="bullet"><listitem lang="en"><para lang="en">A graphical user interface program (see the <command moreinfo="none" lang="en">admintool</command>(1M) man page) <indexterm significance="normal" id="admover-ix332" lang="en"><primary lang="en">swmtool command</primary><secondary lang="en">described</secondary></indexterm> <indexterm significance="normal" id="admover-ix333" lang="en"><primary lang="en">graphical user interfaces (GUIs)</primary><secondary lang="en">Software Manager</secondary></indexterm></para></listitem></itemizedlist><itemizedlist lang="en" mark="bullet"><listitem lang="en"><para lang="en">The command-line utilities (see the <command moreinfo="none" lang="en">pkgadd</command>(1M) and <command moreinfo="none" lang="en">pkgrm</command>(1M) man pages) <indexterm significance="normal" id="admover-ix334" lang="en"><primary lang="en">pkgrm command</primary></indexterm> <indexterm significance="normal" id="admover-ix335" lang="en"><primary lang="en">pkgadd command</primary></indexterm> <indexterm significance="normal" id="admover-ix336" lang="en"><primary lang="en">command-line utilities, for software package administration</primary></indexterm></para></listitem></itemizedlist><sect3 id="admover-2" lang="en"><title lang="en">Graphical User Interface (<command moreinfo="none" lang="en">admintool</command>)</title><para lang="en">You can install software on your local system or on a remote system with Admintool (started with the <command moreinfo="none" lang="en">admintool</command> command). The default location for the installation is the local system. <indexterm significance="normal" id="admover-ix337" lang="en"><primary lang="en">swmtool command</primary><secondary lang="en">described</secondary></indexterm> <indexterm significance="normal" id="admover-ix338" lang="en"><primary lang="en">graphical user interfaces (GUIs)</primary><secondary lang="en">Software Manager</secondary></indexterm></para><para lang="en">Use Admintool to:</para><itemizedlist lang="en" mark="bullet"><listitem lang="en"><para lang="en">Look at the software installed on the local system</para></listitem><listitem lang="en"><para lang="en">Install or remove software on a local system</para></listitem></itemizedlist><para lang="en">If you want to install or remove the software, you must run Admintool as superuser or as a user in the sysadmin group (group 14). You do not need to be superuser to look at the software packages that are already installed on a system.</para></sect3><sect3 id="admover-3" lang="en"><title lang="en">Command-Line Utilities</title><para lang="en">You can use command-line utilities to install, remove, and check the installation of software packages. The commands are: <indexterm significance="normal" id="admover-ix339" lang="en"><primary lang="en">command-line utilities, for software package administration</primary></indexterm></para><itemizedlist lang="en" mark="bullet"><listitem lang="en"><para lang="en"><command moreinfo="none" lang="en">pkgadd</command>(1M) for installing a package <indexterm significance="normal" id="admover-ix340" lang="en"><primary lang="en">pkgadd command</primary></indexterm></para></listitem><listitem lang="en"><para lang="en"><command moreinfo="none" lang="en">pkgrm</command>(1M) for removing a package <indexterm significance="normal" id="admover-ix341" lang="en"><primary lang="en">pkgrm command</primary></indexterm></para></listitem><listitem lang="en"><para lang="en"><command moreinfo="none" lang="en">pkgchk</command>(1M) for checking the installation of a package <indexterm significance="normal" id="admover-ix342" lang="en"><primary lang="en">pkgchk command</primary></indexterm> <indexterm significance="normal" id="admover-ix343" lang="en"><primary lang="en">checking</primary><secondary lang="en">software package installation</secondary></indexterm></para></listitem><listitem lang="en"><para lang="en"><command moreinfo="none" lang="en">pkginfo</command>(1M) for listing the packages installed on a system <indexterm significance="normal" id="admover-ix344" lang="en"><primary lang="en">pkginfo command</primary></indexterm> <indexterm significance="normal" id="admover-ix345" lang="en"><primary lang="en">packages</primary><secondary lang="en">information reporting</secondary></indexterm> <indexterm significance="normal" id="admover-ix346" lang="en"><primary lang="en">listing</primary><secondary lang="en">software packages installed</secondary></indexterm> <indexterm significance="normal" id="admover-ix347" lang="en"><primary lang="en">information reporting</primary><secondary lang="en">software packages</secondary></indexterm> <indexterm significance="normal" id="admover-ix348" lang="en"><primary lang="en">installation</primary><secondary lang="en">software packages</secondary></indexterm> <indexterm significance="normal" id="admover-ix349" lang="en"><primary lang="en">packages</primary><secondary lang="en">installing</secondary></indexterm> <indexterm significance="normal" id="admover-ix350" lang="en"><primary lang="en">packages</primary><secondary lang="en">removing</secondary></indexterm> <indexterm significance="normal" id="admover-ix351" lang="en"><primary lang="en">removing</primary><secondary lang="en">software packages</secondary></indexterm> <indexterm significance="normal" id="admover-ix352" lang="en"><primary lang="en">remote systems</primary><secondary lang="en">software package administration</secondary></indexterm></para></listitem></itemizedlist></sect3></sect2><sect2 id="admover-14" lang="en"><title lang="en">Patch Administration</title><para lang="en">The <command moreinfo="none" lang="en">patchadd</command>(1M) and <command moreinfo="none" lang="en">patchrm</command>(1M) commands are used to install and remove patches from a Solaris 2.x system. You can add one or more patches to a system, client, service or net install image.</para><para lang="en">See <command moreinfo="none" lang="en">patchadd</command>(1M) and <command moreinfo="none" lang="en">patchrm</command>(1M) for more information.</para></sect2></sect1><sect1 id="admover-20968" lang="en"><title lang="en">Disk Slices (or Partitions)</title><para lang="en">A single range of contiguous blocks or a physical subset of a disk is known as a disk<emphasis lang="en"> partition</emphasis> in the SunOS release 4.x software. In the SunOS release 5.x software, a physical subset of a disk is known as a disk <emphasis lang="en">slice</emphasis>. Before you can create a file system on a disk, you must format and divide it into slices. This is usually done when the Solaris release is installed using the Solaris 2.x installation program. See <olink targetpartnumber="802-5750"><citetitle lang="en">System Administration Guide</citetitle></olink> if you need to install and format a disk after installation. <indexterm significance="normal" id="admover-ix353" lang="en"><primary lang="en">file systems</primary><secondary lang="en">disk slices and partitions</secondary></indexterm> <indexterm significance="normal" id="admover-ix354" lang="en"><primary lang="en">disk slices</primary></indexterm></para><note lang="en" role="note"><gentext type="text">Note - </gentext><para lang="en">In some Solaris documentation, Solaris slices are still referred to as "partitions". The Solaris 2.x documentation distinguishes between <command moreinfo="none" lang="en">fdisk</command> partitions (for Intel systems) and the divisions within an <command moreinfo="none" lang="en">fdisk</command> partition, referred to interchangeably as slices or partitions.</para></note><para lang="en">See <olink targetpartnumber="802-5750"><citetitle lang="en">System Administration Guide</citetitle></olink>  for information about Solaris <command moreinfo="none" lang="en">fdisk</command> partitions.</para><para lang="en">A slice can be used as a raw device for swap space or to hold one and only one UFS file system, unless you are using a product like Solstice(TM) DiskSuite(TM). <link linkend="admover-24794" lang="en">Table 2-1</link> describes how disk slices can be set up on each Solaris 2.x platform.</para><table frame="topbot" id="admover-24794" lang="en"><gentext type="text">Table 2-1 </gentext><title lang="en">Slice Differences on Platforms</title><tgroup cols="2" colsep="0" rowsep="1" lang="en"><colspec colname="column1" colwidth="198*"/><colspec colname="column2" colwidth="198*"/><thead lang="en"><row lang="en"><entry align="left" valign="bottom" lang="en"><para lang="en">SPARC</para></entry><entry align="left" valign="bottom" lang="en"><para lang="en">Intel-based</para></entry></row></thead><tbody lang="en"><row rowsep="0" lang="en"><entry align="left" valign="top" lang="en"><para lang="en">The whole disk is devoted to the Solaris operating environment.</para></entry><entry align="left" valign="top" lang="en"><para lang="en">The disk is divided into four <command moreinfo="none" lang="en">fdisk</command> partitions, one per operating environment.</para></entry></row><row lang="en"><entry align="left" valign="top" lang="en"><para lang="en">The disk is divided into eight slices, numbered 0-7.</para></entry><entry align="left" valign="top" lang="en"><para lang="en">The Solaris <command moreinfo="none" lang="en">fdisk</command> partition is divided into 10 slices,
numbered 0-9. Only 0-7 can be used to store user data.</para></entry></row></tbody></tgroup></table><para lang="en">See <olink targetpartnumber="802-5750"><citetitle lang="en">System Administration Guide</citetitle></olink> for a description of customary disk slice assignments for each platform.</para><sect2 id="admover-4" lang="en"><title lang="en">Cylinder Groups</title><para lang="en">You create a UFS file system on a disk slice, which is divided into one or more areas called <emphasis lang="en">cylinder groups</emphasis>. A cylinder group is composed of one or more consecutive disk cylinders (the set of tracks on a group of platters that have the same radial distance from the center of the platter). See <olink targetpartnumber="802-5750"><citetitle lang="en">System Administration Guide</citetitle></olink> for a complete description of disk geometry. <indexterm significance="normal" id="admover-ix355" lang="en"><primary lang="en">Unix file systems (UFS)</primary><secondary lang="en">cylinder groups and</secondary></indexterm> <indexterm significance="normal" id="admover-ix356" lang="en"><primary lang="en">file systems</primary><secondary lang="en">cylinder groups and</secondary></indexterm> <indexterm significance="normal" id="admover-ix357" lang="en"><primary lang="en">cylinder groups</primary></indexterm></para><para lang="en">A <emphasis lang="en">cylinder group map</emphasis> is created for each cylinder group. The cylinder group map records the block usage and available blocks. <indexterm significance="normal" id="admover-ix358" lang="en"><primary lang="en">cylinder group maps</primary></indexterm></para><para lang="en"> <link linkend="admover-fig-5" lang="en">Figure 2-1</link> shows the relationship between disk slices and cylinder groups. </para><figure float="0" id="admover-fig-5" lang="en"><gentext type="text">Figure 2-1 </gentext><title id="admover-42759" lang="en">Disk Slices and Cylinder Groups</title><graphic filename="figures/adm_over.fig81.epsi.gif" width="786" depth="1111" id="gr1" lang="en"/></figure></sect2></sect1><sect1 id="admover-24738" lang="en"><title lang="en">Device Naming</title><para lang="en">SunOS release 5.6 device names make it easier to infer certain device characteristics from a device name. SunOS release 4.x systems convey type rather than device attributes, which makes it difficult for programs and scripts to derive necessary information about devices. SunOS release 5.6 conventions are slightly different from AT&amp;T SVR4 device names because SunOS release 5.6 allows only eight user-configurable slices on a disk. <indexterm significance="normal" id="admover-ix359" lang="en"><primary lang="en">SunOS release 5.6</primary><secondary lang="en">device naming</secondary></indexterm> <indexterm significance="normal" id="admover-ix360" lang="en"><primary lang="en">SunOS release 4.x</primary><secondary lang="en">device naming and</secondary></indexterm> <indexterm significance="normal" id="admover-ix361" lang="en"><primary lang="en">names</primary><secondary lang="en">device</secondary><tertiary lang="en">changes in</tertiary></indexterm> <indexterm significance="normal" id="admover-ix362" lang="en"><primary lang="en">device naming</primary><secondary lang="en">changes in</secondary></indexterm> <indexterm significance="normal" id="admover-ix363" lang="en"><primary lang="en">device administration</primary><secondary lang="en">naming conventions</secondary></indexterm> <indexterm significance="normal" id="admover-ix364" lang="en"><primary lang="en">AT&amp;T systems</primary><secondary lang="en">device naming</secondary></indexterm></para><para lang="en">In addition, special device files are now stored in the hierarchical <filename moreinfo="none" lang="en">/devices </filename>directory, with symbolic links to the hierarchical <filename moreinfo="none" lang="en">/dev</filename> directory, which is used by administrators and users to access devices. The <filename moreinfo="none" lang="en">/dev </filename>directory contains subdirectories, such as <filename moreinfo="none" lang="en">/dev/dsk/*,</filename> used to access disk devices, and <filename moreinfo="none" lang="en">/dev/rdsk/*</filename>, used to access raw disk devices. For more information, see <link linkend="devadm-32137" lang="en">"Device Naming Conventions"</link>. For discussions on device naming conventions, see <link linkend="sysdev-30846" lang="en">"Device Naming From a Developer's Perspective"</link>. <indexterm significance="normal" id="admover-ix365" lang="en"><primary lang="en">/dev directory</primary><secondary lang="en">changes in</secondary></indexterm></para></sect1><sect1 id="admover-17143" lang="en"><title lang="en">File Systems</title><para lang="en">SunOS release 5.6 and SunOS release 4.x file systems are similar, but there are changes in the locations and names of system directories and files. There are also new file systems, new pseudo file systems, and one directory is not used. <indexterm significance="normal" id="admover-ix366" lang="en"><primary lang="en">SunOS release 5.6</primary><secondary lang="en">file systems</secondary></indexterm></para><para lang="en"><link linkend="fsadm-65196" lang="en">"File System Changes"</link>, describes file system changes. <olink targetpartnumber="802-5750"><citetitle lang="en">System Administration Guide</citetitle></olink> describes file system concepts and administration in detail.</para><sect2 id="admover-6" lang="en"><title lang="en">Changes to File System Locations and Names</title><para lang="en">Some of the changes to file system locations and names are: </para><itemizedlist lang="en" mark="bullet"><listitem lang="en"><para lang="en">The <filename moreinfo="none" lang="en">/dev</filename> directory has changed from a flat directory to a hierarchical one.</para></listitem></itemizedlist><itemizedlist lang="en" mark="bullet"><listitem lang="en"><para lang="en">The <filename moreinfo="none" lang="en">/etc</filename> directory contains system configuration information. Several files and subdirectories have been added, removed, or changed.</para></listitem></itemizedlist><itemizedlist lang="en" mark="bullet"><listitem lang="en"><para lang="en">The <filename moreinfo="none" lang="en">/etc/vfstab</filename> tab file replaces <filename moreinfo="none" lang="en">/etc/fstab</filename>.</para></listitem></itemizedlist><itemizedlist lang="en" mark="bullet"><listitem lang="en"><para lang="en">The <filename moreinfo="none" lang="en">/etc/lp</filename> directory replaces <filename moreinfo="none" lang="en">/etc/printcap</filename>.</para></listitem></itemizedlist><itemizedlist lang="en" mark="bullet"><listitem lang="en"><para lang="en">The SunOS release 5.6 <filename moreinfo="none" lang="en">/sbin</filename> directory contains the <command moreinfo="none" lang="en">rc</command> scripts used to alter system run levels as well as the <command moreinfo="none" lang="en">rcs</command> script used to initialize the system prior to mounting file systems. </para></listitem></itemizedlist><itemizedlist lang="en" mark="bullet"><listitem lang="en"><para lang="en">The SunOS release 5.6 <filename moreinfo="none" lang="en">/usr</filename> directory contains sharable files and executables provided by the system. </para></listitem></itemizedlist><itemizedlist lang="en" mark="bullet"><listitem lang="en"><para lang="en">The <filename moreinfo="none" lang="en">/var</filename> directory contains files that change sizes during normal operation. Several files and subdirectories in the <filename moreinfo="none" lang="en">/var</filename> directory have been added, removed, or changed.</para></listitem></itemizedlist><itemizedlist lang="en" mark="bullet"><listitem lang="en"><para lang="en">The <filename moreinfo="none" lang="en">/var/mail</filename> directory replaces <filename moreinfo="none" lang="en">/var/spool/mail</filename>.</para></listitem></itemizedlist><itemizedlist lang="en" mark="bullet"><listitem lang="en"><para lang="en">The <filename moreinfo="none" lang="en">/sys</filename> directory is no longer needed because the kernel is dynamically loaded. <indexterm significance="normal" id="admover-ix367" lang="en"><primary lang="en">/sys</primary></indexterm></para></listitem></itemizedlist><itemizedlist lang="en" mark="bullet"><listitem lang="en"><para lang="en">The <filename moreinfo="none" lang="en">terminfo</filename> database replaces <filename moreinfo="none" lang="en">termcap</filename>.</para></listitem></itemizedlist><itemizedlist lang="en" mark="bullet"><listitem lang="en"><para lang="en">The SunOS release 5.6 core kernel is called <command moreinfo="none" lang="en">genunix</command>, and the kernel modules are stored in the <filename moreinfo="none" lang="en">/kernel</filename>, <filename moreinfo="none" lang="en">/usr/kernel</filename>, <filename moreinfo="none" lang="en">/platform</filename>, and <filename moreinfo="none" lang="en">/usr/platform</filename> directories. <indexterm significance="normal" id="admover-ix368" lang="en"><primary lang="en">unix kernel name</primary></indexterm> <indexterm significance="normal" id="admover-ix369" lang="en"><primary lang="en">SunOS release 5.6</primary><secondary lang="en">kernel name in</secondary></indexterm> <indexterm significance="normal" id="admover-ix370" lang="en"><primary lang="en">names</primary><secondary lang="en">kernel name</secondary></indexterm> <indexterm significance="normal" id="admover-ix371" lang="en"><primary lang="en">kernel</primary><secondary lang="en">name of</secondary></indexterm> <indexterm significance="normal" id="admover-ix372" lang="en"><primary lang="en">kernel</primary><secondary lang="en">modules</secondary><tertiary lang="en">location</tertiary></indexterm> <indexterm significance="normal" id="admover-ix373" lang="en"><primary lang="en">kernel</primary></indexterm> <indexterm significance="normal" id="admover-ix374" lang="en"><primary lang="en">unix</primary></indexterm> <indexterm significance="normal" id="admover-ix375" lang="en"><primary lang="en">kernel</primary><secondary lang="en">modules</secondary></indexterm> <indexterm significance="normal" id="admover-ix376" lang="en"><primary lang="en">/kernel</primary></indexterm></para></listitem></itemizedlist></sect2><sect2 id="admover-7" lang="en"><title lang="en">Pseudo File Systems</title><para lang="en">Pseudo file system types are logical groupings of files that reside in disk-based systems. The TFS pseudo file system is not included in the SunOS release 5.6 software.</para><para lang="en">The SunOS release 5.6 pseudo file systems are:</para><itemizedlist lang="en" mark="bullet"><listitem lang="en"><para lang="en">CACHEFS pseudo file system - can be used to improve performance of slow devices such as a CD-ROM drive.</para></listitem></itemizedlist><itemizedlist lang="en" mark="bullet"><listitem lang="en"><para lang="en">PROCFS pseudo file system - resides in memory and contains a list of active processes, by process number, in the <filename moreinfo="none" lang="en">/proc</filename> directory. See the <command moreinfo="none" lang="en">proc</command>(4) man page.</para></listitem></itemizedlist><itemizedlist lang="en" mark="bullet"><listitem lang="en"><para lang="en">FDFS pseudo file system - provides explicit names for opening files using file descriptors.</para></listitem></itemizedlist><itemizedlist lang="en" mark="bullet"><listitem lang="en"><para lang="en">FIFOFS pseudo file system - contains pipe files that give processes common access to data. </para></listitem></itemizedlist><itemizedlist lang="en" mark="bullet"><listitem lang="en"><para lang="en">NAMEFS pseudo file system - used mostly by STREAMS for dynamic mounts of file descriptors on top of files.</para></listitem></itemizedlist><itemizedlist lang="en" mark="bullet"><listitem lang="en"><para lang="en">SWAPFS pseudo file system - the default swap device when the system boots, or you create additional swap space.</para></listitem></itemizedlist></sect2><sect2 id="admover-8" lang="en"><title lang="en">Added File Systems</title><para lang="en">The following file systems are included in the SunOS release 5.6 directory structure:</para><itemizedlist lang="en" mark="bullet"><listitem lang="en"><para lang="en">The optional <filename moreinfo="none" lang="en">/opt</filename> file system, which can be used to store third-party or unbundled software. If <filename moreinfo="none" lang="en">/opt</filename> is not a separate file system, it may be a symbolic link to <filename moreinfo="none" lang="en">/usr/opt</filename>.</para></listitem></itemizedlist><itemizedlist lang="en" mark="bullet"><listitem lang="en"><para lang="en">The <filename moreinfo="none" lang="en">/vol</filename> file system, which provides the default file system for the Volume Management daemon, <command moreinfo="none" lang="en">vold</command>(1M). See the <command moreinfo="none" lang="en">volfs</command>(7) man page. <indexterm significance="normal" id="admover-ix377" lang="en"><primary lang="en">SunOS release 5.6</primary><secondary lang="en">file systems</secondary></indexterm></para></listitem></itemizedlist></sect2><sect2 id="admover-16" lang="en"><title lang="en">Removed File Systems</title><para lang="en">Support for the RFS file system type has been removed.</para></sect2></sect1><sect1 id="admover-21791" lang="en"><title lang="en">Kernel Configuration</title><para lang="en">Unlike in the SunOS release 4.x software, the SunOS release 5.6 kernel is dynamically configured. This means that you no longer need to rebuild it manually when you make changes to the system configuration. <indexterm significance="normal" id="admover-ix378" lang="en"><primary lang="en">SunOS release 5.6</primary><secondary lang="en">kernel configuration</secondary></indexterm> <indexterm significance="normal" id="admover-ix379" lang="en"><primary lang="en">kernel</primary><secondary lang="en">dynamic</secondary></indexterm> <indexterm significance="normal" id="admover-ix380" lang="en"><primary lang="en">kernel</primary><secondary lang="en">configuration</secondary></indexterm> <indexterm significance="normal" id="admover-ix381" lang="en"><primary lang="en">dynamic kernel</primary><secondary lang="en">defined</secondary></indexterm> <indexterm significance="normal" id="admover-ix382" lang="en"><primary lang="en">configuration</primary><secondary lang="en">kernel</secondary></indexterm></para><para lang="en">Starting with release 5.5 of the SunOS software, the kernel and its modules were separated into platform-independent and platform-dependent objects. The platform-independent kernel consists of a small static core, called <filename moreinfo="none" lang="en">/kernel/genunix</filename>, and its dynamically loadable kernel modules are stored in the <filename moreinfo="none" lang="en">/kernel</filename> and <filename moreinfo="none" lang="en">/usr/kernel</filename> directories if they are platform independent, and <filename moreinfo="none" lang="en">/platform</filename> and <filename moreinfo="none" lang="en">/usr/platform</filename> if they are platform independent. See <olink targetpartnumber="802-5750"><citetitle lang="en">System Administration Guide</citetitle></olink> for a description of the platform-dependent directories and their contents.</para><para lang="en">Drivers, file systems, STREAMS module, and other modules are loaded automatically as needed, either at boot time or at run time. These modules are unloaded when they are no longer in use. The <command moreinfo="none" lang="en">modinfo</command>(1M) command provides information about the modules currently loaded on a system.</para><para lang="en">The <command moreinfo="none" lang="en">modload</command>(1M) and <command moreinfo="none" lang="en">modunload</command>(1M) commands are still available in this release but they perform differently. These commands have more limited usage, and are no longer sufficient to correctly install a loadable driver onto the system. The <command moreinfo="none" lang="en">modunload</command>(1M) command is similar to the SunOS release 4.x command, but it includes the capability to unload all unloadable (and not busy) modules, as the following example illustrates. <indexterm significance="normal" id="admover-ix383" lang="en"><primary lang="en">modload command</primary></indexterm> <indexterm significance="normal" id="admover-ix384" lang="en"><primary lang="en">loading device drivers</primary></indexterm> <indexterm significance="normal" id="admover-ix385" lang="en"><primary lang="en">kernel</primary><secondary lang="en">modules</secondary><tertiary lang="en">unloading</tertiary></indexterm> <indexterm significance="normal" id="admover-ix386" lang="en"><primary lang="en">kernel</primary><secondary lang="en">modules</secondary><tertiary lang="en">loading</tertiary></indexterm> <indexterm significance="normal" id="admover-ix387" lang="en"><primary lang="en">device administration</primary><secondary lang="en">unloading devices</secondary></indexterm> <indexterm significance="normal" id="admover-ix388" lang="en"><primary lang="en">device administration</primary><secondary lang="en">loading devices</secondary></indexterm> <indexterm significance="normal" id="admover-ix389" lang="en"><primary lang="en">modunload command</primary></indexterm> <indexterm significance="normal" id="admover-ix390" lang="en"><primary lang="en">unloading, device drivers</primary></indexterm></para><informaltable frame="all" lang="en"><tgroup cols="1" colsep="1" rowsep="1" lang="en"><colspec colname="column1" colwidth="456*"/><tbody lang="en"><row lang="en"><entry align="left" valign="top" lang="en"><programlisting format="linespecific" lang="en" role="fragment"># modunload -i 0</programlisting></entry></row></tbody></tgroup></informaltable><para lang="en"><link linkend="sysdev-17409" lang="en">Chapter 18, System and Device Configuration</link>, discusses these topics in more detail.</para><sect2 id="admover-9" lang="en"><title lang="en">Kernel Layout</title><para lang="en">The contents of the kernel, which were formerly in a single file, <filename moreinfo="none" lang="en">/vmunix</filename>, are now contained in modules in a platform-independent and platform-dependent directory hierarchy. By default, the directory hierarchy is: <indexterm significance="normal" id="admover-ix391" lang="en"><primary lang="en">/vmunix file</primary></indexterm> <indexterm significance="normal" id="admover-ix392" lang="en"><primary lang="en">/kernel directory</primary></indexterm> <indexterm significance="normal" id="admover-ix393" lang="en"><primary lang="en">kernel</primary><secondary lang="en">modules</secondary><tertiary lang="en">location</tertiary></indexterm> <indexterm significance="normal" id="admover-ix394" lang="en"><primary lang="en">kernel</primary><secondary lang="en">layout</secondary></indexterm> <indexterm significance="normal" id="admover-ix395" lang="en"><primary lang="en">directories</primary><secondary lang="en">kernel module</secondary></indexterm></para><itemizedlist lang="en" mark="bullet"><listitem lang="en"><para lang="en"><filename moreinfo="none" lang="en">/kernel</filename></para></listitem><listitem lang="en"><para lang="en"><filename moreinfo="none" lang="en">/usr/kernel</filename></para></listitem><listitem lang="en"><para lang="en"><filename moreinfo="none" lang="en">/platform</filename></para></listitem><listitem lang="en"><para lang="en"><filename moreinfo="none" lang="en">/usr/platform</filename></para></listitem></itemizedlist><para lang="en">The directory search path for modules can be set by the <replaceable lang="en">moddir</replaceable> variable in the <filename moreinfo="none" lang="en">/etc/system</filename> file. Typically, <filename moreinfo="none" lang="en">/kernel/genunix</filename> is the first portion of the kernel to be loaded. See <command moreinfo="none" lang="en">system</command>(4) and <command moreinfo="none" lang="en">kernel</command>(1M) for more information. <indexterm significance="normal" id="admover-ix396" lang="en"><primary lang="en">search paths</primary><secondary lang="en">kernel modules</secondary></indexterm> <indexterm significance="normal" id="admover-ix397" lang="en"><primary lang="en">moddir variable</primary></indexterm> <indexterm significance="normal" id="admover-ix398" lang="en"><primary lang="en">kernel</primary><secondary lang="en">modules</secondary><tertiary lang="en">directory search path</tertiary></indexterm> <indexterm significance="normal" id="admover-ix399" lang="en"><primary lang="en">/etc/system file</primary><secondary lang="en">moddir variable</secondary></indexterm></para></sect2></sect1><sect1 id="admover-40929" lang="en"><title lang="en">Automounting</title><para lang="en">A new version of the automounter, called AutoFS, has been included. In the SunOS 4.X releases, the automounter mounted everything under <filename moreinfo="none" lang="en">/tmp_mnt</filename> and used symbolic links to redirect the lookups. AutoFS allows for file systems to be mounted in place (for instance, <filename moreinfo="none" lang="en">/home</filename>). <indexterm significance="normal" id="admover-ix400" lang="en"><primary lang="en">file systems</primary><secondary lang="en">mounting</secondary><tertiary lang="en">automounting</tertiary></indexterm> <indexterm significance="normal" id="admover-ix401" lang="en"><primary lang="en">file systems</primary><secondary lang="en">mounting</secondary></indexterm> <indexterm significance="normal" id="admover-ix402" lang="en"><primary lang="en">file systems</primary><secondary lang="en">automounting</secondary></indexterm> <indexterm significance="normal" id="admover-ix403" lang="en"><primary lang="en">directories</primary><secondary lang="en">remote, automounting</secondary></indexterm> <indexterm significance="normal" id="admover-ix404" lang="en"><primary lang="en">automounting</primary></indexterm> <indexterm significance="normal" id="admover-ix405" lang="en"><primary lang="en">file systems</primary><secondary lang="en">remote</secondary><tertiary lang="en">automounting</tertiary></indexterm> <indexterm significance="normal" id="admover-ix406" lang="en"><primary lang="en">mounting</primary><secondary lang="en">file systems</secondary></indexterm> <indexterm significance="normal" id="admover-ix407" lang="en"><primary lang="en">mounting</primary><secondary lang="en">file systems</secondary><tertiary lang="en">automounting</tertiary></indexterm> <indexterm significance="normal" id="admover-ix408" lang="en"><primary lang="en">NFS</primary><secondary lang="en">automounting of file systems shared through</secondary></indexterm> <indexterm significance="normal" id="admover-ix409" lang="en"><primary lang="en">remote file systems</primary><secondary lang="en">automounting</secondary></indexterm> <indexterm significance="normal" id="admover-ix410" lang="en"><primary lang="en">SunOS release 5.6</primary><secondary lang="en">automounting</secondary></indexterm> <indexterm significance="normal" id="admover-ix411" lang="en"><primary lang="en">autofs program</primary></indexterm></para><para lang="en">In SunOS 4.X, the maps for the automounter were named <literal moreinfo="none" lang="en">auto.master</literal> and <literal moreinfo="none" lang="en">auto.home</literal>. For Solaris 2.6, these maps have been renamed to <literal moreinfo="none" lang="en">auto_master</literal>, <literal moreinfo="none" lang="en">auto_home</literal>, and so on. The NIS+ name service, which is included with the release, requires this change. A default copy of these maps is included in the release, so that the AutoFS service is started when the system is booted. The SunOS 4.X releases did not include the maps, so additional installation steps were required. </para><para lang="en">The Solaris 2.6 release provides the ability to select the name service that is being used through <filename moreinfo="none" lang="en">/etc/nsswitch.conf</filename>. The automount entry can be changed to select local files, NIS+, NIS or some combination of these.</para><para lang="en">Earlier releases supported a home directory naming convention like: <filename moreinfo="none" lang="en">/home/server/login</filename>. With the AutoFS maps it is much easier to use <filename moreinfo="none" lang="en">/home/login</filename> for each entry. This new naming convention also provides for location independence. The old convention can still be used, but once a transition to using the AutoFS maps has been made, it will be easier to administer the shorter paths.</para><para lang="en">The following paths were reserved for use by AutoFS:</para><itemizedlist lang="en" mark="bullet"><listitem lang="en"><para lang="en"><filename moreinfo="none" lang="en">/net</filename> - for mounting file systems from a known host</para></listitem><listitem lang="en"><para lang="en"><filename moreinfo="none" lang="en">/home</filename> - for mounting the home directory of a known user</para></listitem><listitem lang="en"><para lang="en"><filename moreinfo="none" lang="en">/xfn</filename> - for mounting file systems which support the X/Open XFN standard</para></listitem></itemizedlist><para lang="en">On home directory servers, the actual home directories should be moved to <filename moreinfo="none" lang="en">/export/home</filename> rather than <filename moreinfo="none" lang="en">/home</filename>, so that they do not conflict with the automounter directory structure. This also means that you cannot mount file systems on <filename moreinfo="none" lang="en">/home</filename> while the automounter is running.</para><para lang="en">The AutoFS software now has two programs. The first program is <command moreinfo="none" lang="en">automount</command> that runs at boot time to establish AutoFS mount points. This command can also be run anytime by superuser to change the mount points. The second command is <command moreinfo="none" lang="en">automountd</command> which is a stateless daemon which answers AutoFS file system mount and unmount requests. These two programs replace the 4.1.X <command moreinfo="none" lang="en">automount</command> daemon.</para><para lang="en">The automount daemon is now fully multi-threaded. Multiple automatic mount requests can be serviced concurrently, which makes AutoFS more reliable. In short, one mount request could block connecting to a slow server, while a second request is processed without waiting.</para><para lang="en">The Solaris 2.6 release supports browsability of indirect AutoFS maps. All mountable entries under an AutoFS mount point (for example, <filename moreinfo="none" lang="en">/home</filename>) are now visible without the overhead of mounting them first.</para><para lang="en">Also provided is improved on-demand automounting of hierarchically related file systems. Previous releases would automount an entire set of file systems if they were hierarchically related (for example, <filename moreinfo="none" lang="en">/net/server</filename>) even if only one of the file systems was referenced. The file system that is referenced will be dynamically mounted without mounting all of the other file systems in the hierarchy. Other file systems will be mounted when they are individually referenced.</para><para lang="en">See <link linkend="fsadm-73274" lang="en">"Mounting File Systems and <command moreinfo="none" lang="en">autofs</command>"</link>for more detailed information. Also, <olink targetpartnumber="802-5544"><citetitle lang="en">NFS Administration Guide</citetitle></olink> describes how to use AutoFS.</para></sect1><sect1 id="admover-10" lang="en"><title lang="en">Mail Administration</title><para lang="en">The version of <command moreinfo="none" lang="en">sendmail</command> that is included on the release is Version 8 compatible. The new version fixes some security holes and includes several improvements to Version 5. Several extensions to the standard BSD release have been added, including name service switch and NIS+ support. <indexterm significance="normal" id="admover-ix412" lang="en"><primary lang="en">mail administration</primary></indexterm> <indexterm significance="normal" id="admover-ix413" lang="en"><primary lang="en">sendmail command</primary></indexterm></para><para lang="en">To further support NIS+, a new command, aliasadm, has been included. The command will aid in the administration of NIS+ alias lists. <indexterm significance="normal" id="admover-ix414" lang="en"><primary lang="en">aliasadm command</primary></indexterm></para><para lang="en">The mailbox spooling directory has been moved from <filename moreinfo="none" lang="en">/var/spool/mail</filename> to <filename moreinfo="none" lang="en">/var/mail</filename>. A new directory, <filename moreinfo="none" lang="en">/var/mail/:saved</filename>, is used for creating locks and temporary files by the <command moreinfo="none" lang="en">mailx</command> program. Also, the mail configuration files are now all located in <filename moreinfo="none" lang="en">/etc/mail</filename>. The new directory includes the <filename moreinfo="none" lang="en">aliases</filename> and the <filename moreinfo="none" lang="en">sendmail.cf</filename> files. <indexterm significance="normal" id="admover-ix415" lang="en"><primary lang="en">mailbox spooling directory</primary></indexterm> <indexterm significance="normal" id="admover-ix416" lang="en"><primary lang="en">mailx program</primary></indexterm></para><para lang="en">The mailbox locking mechanism has been enhanced so that Solaris 2.6 clients can safely mount mailboxes from both Solaris 2.X and SunOS 4.X mail servers. This enhancement eases administration of mail, especially in large sites. </para><para lang="en">In the Solaris 2.6 release, <filename moreinfo="none" lang="en">/usr/bin/mailx</filename> supersedes <filename moreinfo="none" lang="en">/usr/ucb/mail</filename>. The <command moreinfo="none" lang="en">mailx</command> program has been enhanced to behave the same way as the SunOS 4.x version of <filename moreinfo="none" lang="en">/usr/ucb/mail</filename>. The <filename moreinfo="none" lang="en">/usr/ucb/mail</filename> file is now a symbolic link to <filename moreinfo="none" lang="en">/usr/bin/mailx</filename>.</para><para lang="en">In SunOS 4.X releases, a program called <command moreinfo="none" lang="en">sendmail.mx</command> was used in DNS sites to access mail exchange records. The new version of <command moreinfo="none" lang="en">sendmail</command> includes the needed functionality and can be configured through <filename moreinfo="none" lang="en">/etc/nsswitch.conf</filename>.</para><para lang="en"><olink targetpartnumber="802-5827"><citetitle lang="en">Mail Administration Guide</citetitle></olink> describes the administration of <command moreinfo="none" lang="en">sendmail</command>.</para></sect1><sect1 id="admover-28211" lang="en"><title lang="en">Admintool</title><para lang="en">One of the major changes between SunOS release 4.x and SunOS release 5.6 that affects system administration is the availability of Admintool to perform basic system administration tasks. This tool employs a graphical user interface to simplify tasks, such as managing users, hosts, printers, and serial devices, on local desktop systems. <indexterm significance="normal" id="admover-ix417" lang="en"><primary lang="en">SunOS release 5.6</primary><secondary lang="en">admintool</secondary></indexterm> <indexterm significance="normal" id="admover-ix418" lang="en"><primary lang="en">graphical user interfaces (GUIs)</primary><secondary lang="en">admintool</secondary></indexterm> <indexterm significance="normal" id="admover-ix419" lang="en"><primary lang="en">admintool command</primary></indexterm> <indexterm significance="normal" id="admover-ix420" lang="en"><primary lang="en">admintool</primary><secondary lang="en">described</secondary></indexterm></para><para lang="en">Admintool applications enable you to manage the following tasks on a local system:</para><itemizedlist lang="en" mark="bullet"><listitem lang="en"><para lang="en">System database files such as <filename moreinfo="none" lang="en">aliases</filename> and <filename moreinfo="none" lang="en">netmasks</filename></para></listitem></itemizedlist><itemizedlist lang="en" mark="bullet"><listitem lang="en"><para lang="en">User account and group information, including tasks such as adding users and groups, modifying password aging features, and removing user account information</para></listitem></itemizedlist><itemizedlist lang="en" mark="bullet"><listitem lang="en"><para lang="en">Printer setup for local and remote printers</para></listitem></itemizedlist><itemizedlist lang="en" mark="bullet"><listitem lang="en"><para lang="en">Terminal and modem setup</para></listitem></itemizedlist><itemizedlist lang="en" mark="bullet"><listitem lang="en"><para lang="en">Package management</para></listitem></itemizedlist><para lang="en">Using a graphical user interface (GUI) like Admintool to perform administration tasks has the following benefits:</para><itemizedlist lang="en" mark="bullet"><listitem lang="en"><para lang="en">It is faster than using numerous SunOS commands to perform the same tasks</para></listitem></itemizedlist><itemizedlist lang="en" mark="bullet"><listitem lang="en"><para lang="en">System files are updated automatically without the risk of making editing errors</para></listitem></itemizedlist><itemizedlist lang="en" mark="bullet"><listitem lang="en"><para lang="en">The application programs interact with appropriate system daemons and notify you when the two are out of sync</para></listitem></itemizedlist><note lang="en" role="note"><gentext type="text">Note - </gentext><para lang="en">You do not need to be root to start Admintool but you do need to be a member in the <command moreinfo="none" lang="en">sysadmin</command> group (GID=14). Use the <command moreinfo="none" lang="en">groups</command>(1) command to display your group membership.</para></note><para lang="en">To display Admintool, type the following command in any window. <indexterm significance="normal" id="admover-ix421" lang="en"><primary lang="en">SunOS release 5.6</primary><secondary lang="en">admintool</secondary></indexterm> <indexterm significance="normal" id="admover-ix422" lang="en"><primary lang="en">graphical user interfaces (GUIs)</primary><secondary lang="en">admintool</secondary></indexterm> <indexterm significance="normal" id="admover-ix423" lang="en"><primary lang="en">admintool command</primary></indexterm> <indexterm significance="normal" id="admover-ix424" lang="en"><primary lang="en">admintool</primary><secondary lang="en">described</secondary></indexterm></para><informaltable frame="all" lang="en"><tgroup cols="1" colsep="1" rowsep="1" lang="en"><colspec colname="column1" colwidth="456*"/><tbody lang="en"><row lang="en"><entry align="left" valign="top" lang="en"><programlisting format="linespecific" lang="en" role="fragment">$ admintool &amp;</programlisting></entry></row></tbody></tgroup></informaltable></sect1><sect1 id="admover-31519" lang="en"><title lang="en">Network Information Service Plus (NIS+)</title><para lang="en">NIS+ is the preferred network information service for Solaris networks. Solaris networks can also use NIS either as an alternative to NIS+ or as a supplement to NIS+. <indexterm significance="normal" id="admover-ix425" lang="en"><primary lang="en">NIS+ (Network Information Services Plus)</primary><secondary lang="en">described</secondary></indexterm></para><para lang="en">NIS+ is a name service built on top of the ONC transport-independent remote procedure call (RPC) interface. NIS+ has significant benefits compared to NIS in the areas of security, performance, scalability, and administration. Some of the advantages of using NIS+ are:</para><itemizedlist lang="en" mark="bullet"><listitem lang="en"><para lang="en">NIS+ shares data with the NIS environments, allowing a smooth migration.</para></listitem></itemizedlist><itemizedlist lang="en" mark="bullet"><listitem lang="en"><para lang="en">Domains are hierarchical; you can create subdomains.</para></listitem></itemizedlist><itemizedlist lang="en" mark="bullet"><listitem lang="en"><para lang="en">You can use the name service switch (<filename moreinfo="none" lang="en">/etc/nsswitch.conf</filename>) to set which name service a system will try to use first: NIS+, NIS, <filename moreinfo="none" lang="en">/etc</filename>, or DNS. <indexterm significance="normal" id="admover-ix426" lang="en"><primary lang="en">Name Service Switch</primary></indexterm></para></listitem></itemizedlist><itemizedlist lang="en" mark="bullet"><listitem lang="en"><para lang="en">You can use AdminSuite to make changes to NIS+ tables for adding, modifying, deleting, and searching for information. <indexterm significance="normal" id="admover-ix427" lang="en"><primary lang="en">removing</primary><secondary lang="en">NIS+ information</secondary></indexterm> <indexterm significance="normal" id="admover-ix428" lang="en"><primary lang="en">NIS+ (Network Information Services Plus)</primary><secondary lang="en">updating</secondary></indexterm> <indexterm significance="normal" id="admover-ix429" lang="en"><primary lang="en">NIS+ (Network Information Services Plus)</primary><secondary lang="en">searching</secondary></indexterm> <indexterm significance="normal" id="admover-ix430" lang="en"><primary lang="en">changing</primary><secondary lang="en">NIS+ information</secondary></indexterm> <indexterm significance="normal" id="admover-ix431" lang="en"><primary lang="en">adding</primary><secondary lang="en">NIS+ information</secondary></indexterm> <indexterm significance="normal" id="admover-ix432" lang="en"><primary lang="en">searching</primary><secondary lang="en">NIS+ tables</secondary></indexterm></para></listitem></itemizedlist><itemizedlist lang="en" mark="bullet"><listitem lang="en"><para lang="en">NIS+ enables you to create and maintain an enterprise-wide name service, even across geographically separated sites connected by WAN links.</para></listitem></itemizedlist><itemizedlist lang="en" mark="bullet"><listitem lang="en"><para lang="en">You can use the NIS+ backup and restore feature to quickly and easily preserve your name space data set. This feature can also be used to quickly bring additional replica servers on line.</para></listitem></itemizedlist><para lang="en">See <link linkend="nis-41574" lang="en">Chapter 13, Using Name Services</link>, in this guide and <olink targetpartnumber="802-5760"><citetitle lang="en">NIS+ Transition Guide</citetitle></olink> and <olink targetpartnumber="802-5544"><citetitle lang="en">NFS Administration Guide</citetitle></olink> for more information.</para></sect1><sect1 id="admover-16960" lang="en"><title lang="en">Print Subsystem</title><para lang="en">The print management commands have changed between the SunOS release 4.x and Solaris 2.6 operating environments. In the Solaris 2.6 operating environment, you can use command-line procedures or Admintool to set up printers, and you can use administrative commands or the PrintTool to control print jobs. <indexterm significance="normal" id="admover-ix433" lang="en"><primary lang="en">SunOS release 5.6</primary><secondary lang="en">print subsystem</secondary></indexterm> <indexterm significance="normal" id="admover-ix434" lang="en"><primary lang="en">printers</primary><secondary lang="en">commands</secondary><tertiary lang="en">changes in</tertiary></indexterm> <indexterm significance="normal" id="admover-ix435" lang="en"><primary lang="en">printers</primary><secondary lang="en">changes in</secondary></indexterm> <indexterm significance="normal" id="admover-ix436" lang="en"><primary lang="en">print subsystem</primary><secondary lang="en">described</secondary></indexterm></para><para lang="en">See <link linkend="print-98772" lang="en">Chapter 11, Managing Printers, Terminals, and Modems</link>, and <olink targetpartnumber="802-5750"><citetitle lang="en">System Administration Guide</citetitle></olink> for more information.</para><para lang="en">Users can accomplish the same basic tasks using PrintTool or commands in a shell. <indexterm significance="normal" id="admover-ix437" lang="en"><primary lang="en">PrintTool</primary></indexterm></para><sect2 id="admover-12" lang="en"><title lang="en">PrintTool</title><para lang="en">PrintTool is a software tool available in the Solaris 2.6 user environment. It provides a graphical user interface within OpenWindows or CDE through which a user can monitor printers and monitor and cancel print jobs. <indexterm significance="normal" id="admover-ix438" lang="en"><primary lang="en">OpenWindows</primary><secondary lang="en">PrintTool</secondary></indexterm></para></sect2><sect2 id="admover-13" lang="en"><title lang="en">Command Changes</title><para lang="en">The following list summarizes command changes: <indexterm significance="normal" id="admover-ix439" lang="en"><primary lang="en">printers</primary><secondary lang="en">commands</secondary><tertiary lang="en">changes in</tertiary></indexterm></para><itemizedlist lang="en" mark="bullet"><listitem lang="en"><para lang="en"><command moreinfo="none" lang="en">lp</command>(1) replaces <command moreinfo="none" lang="en">lpr</command> <indexterm significance="normal" id="admover-ix440" lang="en"><primary lang="en">lpr command</primary></indexterm> <indexterm significance="normal" id="admover-ix441" lang="en"><primary lang="en">lp command</primary></indexterm> <indexterm significance="normal" id="admover-ix442" lang="en"><primary lang="en">/etc/printcap database, replacement of</primary></indexterm> <indexterm significance="normal" id="admover-ix443" lang="en"><primary lang="en">databases</primary><secondary lang="en">printcap</secondary></indexterm></para></listitem><listitem lang="en"><para lang="en"><command moreinfo="none" lang="en">lpstat</command>(1) replaces <command moreinfo="none" lang="en">lpq</command> <indexterm significance="normal" id="admover-ix444" lang="en"><primary lang="en">lpstat command</primary></indexterm> <indexterm significance="normal" id="admover-ix445" lang="en"><primary lang="en">lpq command</primary></indexterm></para></listitem><listitem lang="en"><para lang="en"><command moreinfo="none" lang="en">cancel</command>(1) replaces <command moreinfo="none" lang="en">lprm</command> <indexterm significance="normal" id="admover-ix446" lang="en"><primary lang="en">printers</primary><secondary lang="en">canceling print jobs</secondary></indexterm> <indexterm significance="normal" id="admover-ix447" lang="en"><primary lang="en">lprm command</primary></indexterm> <indexterm significance="normal" id="admover-ix448" lang="en"><primary lang="en">cancel command</primary></indexterm></para></listitem><listitem lang="en"><para lang="en"><command moreinfo="none" lang="en">troff</command>(1) requires a printer name <indexterm significance="normal" id="admover-ix449" lang="en"><primary lang="en">troff command</primary><secondary lang="en">changes in</secondary></indexterm></para></listitem><listitem lang="en"><para lang="en"><command moreinfo="none" lang="en">TEX</command>, <command moreinfo="none" lang="en">pscat</command> (<command moreinfo="none" lang="en">C/A/T</command>), and raster image filters are not available in the Solaris 2.6 environment <indexterm significance="normal" id="admover-ix450" lang="en"><primary lang="en">TEX filters</primary></indexterm> <indexterm significance="normal" id="admover-ix451" lang="en"><primary lang="en">raster image filters</primary></indexterm> <indexterm significance="normal" id="admover-ix452" lang="en"><primary lang="en">image filters, unsupported</primary></indexterm> <indexterm significance="normal" id="admover-ix453" lang="en"><primary lang="en">pscat (C/A/T) filters</primary></indexterm> <indexterm significance="normal" id="admover-ix454" lang="en"><primary lang="en">filters, image, unsupported</primary></indexterm></para></listitem></itemizedlist><para lang="en">The <command moreinfo="none" lang="en">lp</command> service consists of several <emphasis lang="en">daemons</emphasis>, or processes, that monitor system work, a hierarchy of configuration files in the <filename moreinfo="none" lang="en">/etc/lp</filename> directory, and a set of administrative commands. <indexterm significance="normal" id="admover-ix455" lang="en"><primary lang="en">/etc/lp directory</primary></indexterm> <indexterm significance="normal" id="admover-ix456" lang="en"><primary lang="en">print subsystem</primary><secondary lang="en">described</secondary></indexterm> <indexterm significance="normal" id="admover-ix457" lang="en"><primary lang="en">SunOS release 5.6</primary><secondary lang="en">print subsystem</secondary></indexterm></para></sect2></sect1><sect1 id="admover-21703" lang="en"><title lang="en">Service Access Facility</title><para lang="en">The Service Access Facility (SAF) is the tool used for administering terminals, modems, and other network devices. In particular, the SAF enables you to: <indexterm significance="normal" id="admover-ix458" lang="en"><primary lang="en">networks</primary><secondary lang="en">service administration</secondary></indexterm> <indexterm significance="normal" id="admover-ix459" lang="en"><primary lang="en">port monitors</primary><secondary lang="en">administering</secondary></indexterm> <indexterm significance="normal" id="admover-ix460" lang="en"><primary lang="en">port monitor services, administering</primary></indexterm> <indexterm significance="normal" id="admover-ix461" lang="en"><primary lang="en">network devices, administering</primary></indexterm> <indexterm significance="normal" id="admover-ix462" lang="en"><primary lang="en">modems, managing</primary></indexterm> <indexterm significance="normal" id="admover-ix463" lang="en"><primary lang="en">adding</primary><secondary lang="en">network devices</secondary></indexterm> <indexterm significance="normal" id="admover-ix464" lang="en"><primary lang="en">removing</primary><secondary lang="en">network devices</secondary></indexterm> <indexterm significance="normal" id="admover-ix465" lang="en"><primary lang="en">serial ports, controlling</primary></indexterm> <indexterm significance="normal" id="admover-ix466" lang="en"><primary lang="en">Service Access Facility (SAF)</primary></indexterm> <indexterm significance="normal" id="admover-ix467" lang="en"><primary lang="en">Service Access Facility (SAF)</primary><secondary lang="en">described</secondary></indexterm> <indexterm significance="normal" id="admover-ix468" lang="en"><primary lang="en">terminals, managing</primary></indexterm></para><itemizedlist lang="en" mark="bullet"><listitem lang="en"><para lang="en">Add and administer <command moreinfo="none" lang="en">ttymon</command> and <command moreinfo="none" lang="en">listen</command> port monitors (using the <command moreinfo="none" lang="en">sacadm</command> command) <indexterm significance="normal" id="admover-ix469" lang="en"><primary lang="en">ttymon port monitor</primary></indexterm> <indexterm significance="normal" id="admover-ix470" lang="en"><primary lang="en">sacadm command</primary></indexterm> <indexterm significance="normal" id="admover-ix471" lang="en"><primary lang="en">listen port monitor</primary></indexterm></para></listitem></itemizedlist><itemizedlist lang="en" mark="bullet"><listitem lang="en"><para lang="en">Add and administer <command moreinfo="none" lang="en">ttymon</command> port monitor services (using the <command moreinfo="none" lang="en">pmadm</command> and <command moreinfo="none" lang="en">ttyadm</command> commands) <indexterm significance="normal" id="admover-ix472" lang="en"><primary lang="en">ttyadm command</primary></indexterm> <indexterm significance="normal" id="admover-ix473" lang="en"><primary lang="en">pmadm command</primary></indexterm></para></listitem></itemizedlist><itemizedlist lang="en" mark="bullet"><listitem lang="en"><para lang="en">Add and administer <command moreinfo="none" lang="en">listen</command> port monitor services (using the <command moreinfo="none" lang="en">pmadm</command> and <command moreinfo="none" lang="en">nlsadmin</command> commands) <indexterm significance="normal" id="admover-ix474" lang="en"><primary lang="en">nlsadmin command</primary></indexterm></para></listitem></itemizedlist><itemizedlist lang="en" mark="bullet"><listitem lang="en"><para lang="en">Administer and troubleshoot TTY devices <indexterm significance="normal" id="admover-ix475" lang="en"><primary lang="en">TTY devices, administering and troubleshooting</primary></indexterm> <indexterm significance="normal" id="admover-ix476" lang="en"><primary lang="en">troubleshooting</primary><secondary lang="en">TTY devices</secondary></indexterm></para></listitem></itemizedlist><itemizedlist lang="en" mark="bullet"><listitem lang="en"><para lang="en">Administer and troubleshoot incoming network requests for printing service <indexterm significance="normal" id="admover-ix477" lang="en"><primary lang="en">troubleshooting</primary><secondary lang="en">printing service requests from network</secondary></indexterm> <indexterm significance="normal" id="admover-ix478" lang="en"><primary lang="en">printers</primary><secondary lang="en">network requests for services, administering and troubleshooting</secondary></indexterm></para></listitem></itemizedlist><itemizedlist lang="en" mark="bullet"><listitem lang="en"><para lang="en">Administer and troubleshoot the Service Access Controller (using the <command moreinfo="none" lang="en">sacadm</command> command) <indexterm significance="normal" id="admover-ix479" lang="en"><primary lang="en">troubleshooting</primary><secondary lang="en">Service Access Controller (SAC)</secondary></indexterm></para></listitem></itemizedlist><para lang="en">The SAF is an open systems solution that controls access to system and network resources through TTY devices and local-area networks (LANs). The SAF offers well-defined interfaces so you can easily add new features and configure existing ones.</para><para lang="en">The SAF is not a program. It is a hierarchy of background processes and administrative commands. The top-level SAF program is the SAC. The SAC controls port monitors that you administer through the <command moreinfo="none" lang="en">sacadm</command> command. Each port monitor can manage one or more ports. <indexterm significance="normal" id="admover-ix480" lang="en"><primary lang="en">Service Access Facility (SAF)</primary><secondary lang="en">Service Access Controller (SAC) and</secondary></indexterm> <indexterm significance="normal" id="admover-ix481" lang="en"><primary lang="en">Service Access Controller (SAC)</primary></indexterm> <indexterm significance="normal" id="admover-ix482" lang="en"><primary lang="en">SAC (Service Access Controller)</primary></indexterm></para><para lang="en">You administer the services associated with ports through the <command moreinfo="none" lang="en">pmadm</command> command. While services provided through SAC may differ from network to network, SAC and the administrative programs <command moreinfo="none" lang="en">sacadm</command> and <command moreinfo="none" lang="en">pmadm</command> are not tailored to network types.</para><para lang="en"><link linkend="admover-96114" lang="en">Table 2-2</link> illustrates the SAF control hierarchy. The <command moreinfo="none" lang="en">sacadm</command> command is used to administer the SAC, which controls the <command moreinfo="none" lang="en">ttymon</command> and <command moreinfo="none" lang="en">listen</command> port monitors. <indexterm significance="normal" id="admover-ix483" lang="en"><primary lang="en">ttymon port monitor</primary></indexterm> <indexterm significance="normal" id="admover-ix484" lang="en"><primary lang="en">Service Access Facility (SAF)</primary><secondary lang="en">commands</secondary></indexterm> <indexterm significance="normal" id="admover-ix485" lang="en"><primary lang="en">sacadm command</primary></indexterm> <indexterm significance="normal" id="admover-ix486" lang="en"><primary lang="en">listen port monitor</primary></indexterm></para><table frame="topbot" id="admover-96114" lang="en"><gentext type="text">Table 2-2 </gentext><title lang="en">SAF Functions and Associated Programs <indexterm significance="normal" id="admover-ix487" lang="en"><primary lang="en">commands</primary><secondary lang="en">Service Access Facility (SAF)</secondary></indexterm></title><tgroup cols="3" colsep="0" rowsep="0" lang="en"><colspec colname="column1" colwidth="152*"/><colspec colname="column2" colwidth="101*"/><colspec colname="column3" colwidth="203*"/><thead lang="en"><row rowsep="1" lang="en"><entry align="center" valign="bottom" lang="en">Function</entry><entry align="center" valign="bottom" lang="en">Program</entry><entry align="center" valign="bottom" lang="en">Description</entry></row></thead><tbody lang="en"><row lang="en"><entry align="left" valign="top" lang="en"><para lang="en">Overall administration</para></entry><entry align="left" valign="top" lang="en"><para lang="en"><command moreinfo="none" lang="en">sacadm</command></para></entry><entry align="left" valign="top" lang="en"><para lang="en">Command for
adding and removing port monitors</para></entry></row><row lang="en"><entry align="left" valign="top" lang="en"><para lang="en">Service Access Controller</para></entry><entry align="left" valign="top" lang="en"><para lang="en"><command moreinfo="none" lang="en">sac</command></para></entry><entry align="left" valign="top" lang="en"><para lang="en">SAF's master program <indexterm significance="normal" id="admover-ix488" lang="en"><primary lang="en">SAC (Service Access Controller)</primary></indexterm> <indexterm significance="normal" id="admover-ix489" lang="en"><primary lang="en">Service Access Controller (SAC)</primary></indexterm> <indexterm significance="normal" id="admover-ix490" lang="en"><primary lang="en">Service Access Facility (SAF)</primary><secondary lang="en">Service Access Controller (SAC) and</secondary></indexterm></para></entry></row><row lang="en"><entry align="left" valign="top" lang="en"><para lang="en">Port monitors <indexterm significance="normal" id="admover-ix491" lang="en"><primary lang="en">logins, administering</primary></indexterm></para></entry><entry align="left" valign="top" lang="en"><para lang="en"><command moreinfo="none" lang="en">ttymon </command></para><para lang="en"><command moreinfo="none" lang="en">listen</command></para></entry><entry align="left" valign="top" lang="en"><para lang="en">Monitors serial port login requests</para><para lang="en">Monitors requests
for network </para><para lang="en">services</para></entry></row><row lang="en"><entry align="left" valign="top" lang="en"><para lang="en">Port monitor service <indexterm significance="normal" id="admover-ix492" lang="en"><primary lang="en">pmadm command</primary></indexterm></para><para lang="en">administrator</para></entry><entry align="left" valign="top" lang="en"><para lang="en"><command moreinfo="none" lang="en">pmadm</command></para></entry><entry align="left" valign="top" lang="en"><para lang="en">Controls port monitor services</para></entry></row><row lang="en"><entry align="left" valign="top" lang="en"><para lang="en">Services <indexterm significance="normal" id="admover-ix493" lang="en"><primary lang="en">remote procedure calls, administering</primary></indexterm></para></entry><entry align="left" valign="top" lang="en"><para lang="en">logins, remote </para><para lang="en">procedure </para><para lang="en">calls, and so on</para></entry><entry align="left" valign="top" lang="en"><para lang="en">Services to which SAF provides </para><para lang="en">access</para></entry></row></tbody></tgroup></table><para lang="en">The services of <command moreinfo="none" lang="en">ttymon</command> and <command moreinfo="none" lang="en">listen</command> are in turn controlled by <command moreinfo="none" lang="en">pmadm</command>. One instance of <command moreinfo="none" lang="en">ttymon</command> can service multiple ports and one instance of <command moreinfo="none" lang="en">listen</command> can provide multiple services on a network interface.</para><para lang="en">See <link linkend="print-98772" lang="en">Chapter 11, Managing Printers, Terminals, and Modems</link> for more information.</para></sect1><sect1 id="admover-46997" lang="en"><title lang="en">Volume Management</title><para lang="en">Beginning with the Solaris 2.2 software, a new layer of software manages CD-ROM and diskette devices: Volume Management. This software automates the interaction between you and your CDs and diskettes. <indexterm significance="normal" id="admover-ix505" lang="en"><primary lang="en">Volume Management</primary><secondary lang="en">overview</secondary></indexterm> <indexterm significance="normal" id="admover-ix506" lang="en"><primary lang="en">diskette devices, managing</primary></indexterm> <indexterm significance="normal" id="admover-ix507" lang="en"><primary lang="en">device administration</primary><secondary lang="en">Volume Management for</secondary></indexterm> <indexterm significance="normal" id="admover-ix508" lang="en"><primary lang="en">CD-ROM devices</primary><secondary lang="en">managing</secondary></indexterm></para><para lang="en">CDE OpenWindows File Manager has been modified to use Volume Management to provide immediate user access to CDs and diskettes with file systems on them. See <olink targetpartnumber="802-1986"><citetitle lang="en">Solaris User's Guide</citetitle></olink> for more information on File Manager's new features. <indexterm significance="normal" id="admover-ix509" lang="en"><primary lang="en">OpenWindows</primary><secondary lang="en">File Manager changes</secondary></indexterm> <indexterm significance="normal" id="admover-ix510" lang="en"><primary lang="en">File Manager</primary></indexterm></para><para lang="en">There are also several new commands to help you administer Volume Management on your system.</para><para lang="en">For more information, see <link linkend="devadm-39715" lang="en">"Using Volume Management "</link> in <link linkend="devadm-79489" lang="en">Chapter 7, Device Administration</link>. <indexterm significance="normal" id="admover-ix511" lang="en"><primary lang="en">Solaris 2.6 operating environment</primary><secondary lang="en">overview of major changes</secondary></indexterm> <indexterm significance="normal" id="admover-ix512" lang="en"><primary lang="en">SunOS release 4.x</primary><secondary lang="en">overview of major changes in Solaris 2.6</secondary></indexterm></para></sect1></chapter><chapter id="install-50948" lang="en"><gentext type="text">Chapter 3</gentext><gentext type="toc">3.  Converting a SunOS 4.x System to the  Solaris 2.6 Environment</gentext><title lang="en">Converting a SunOS 4.x System to the  Solaris 2.6 Environment</title><highlights lang="en"><para lang="en">Converting a SunOS 4.x system to the  Solaris 2.6 environment is a three-phase process that includes pre-installation (backing up data), installing the Solaris environment, and post-installation (restoring data). </para><para lang="en">This chapter provides information about the pre-installation and post-installation phases for a single system or an entire network. See <link linkend="servers-19853" lang="en">Chapter 10, Setting Up a Solaris 2.6 Server to Support SunOS Release 4.x Diskless/Dataless Clients</link>, for information about creating an environment that serves both Solaris 2.6 and SunOS release 4.x clients.</para><itemizedlist lang="en" mark="bullet"><listitem lang="en"><para lang="en"><link linkend="install-31582" lang="en">"What's New About Installing"</link></para></listitem><listitem lang="en"><para lang="en"><link linkend="install-10432" lang="en">"What to Do Before You Install Solaris Software"</link></para></listitem><listitem lang="en"><para lang="en"><link linkend="install-37504" lang="en">"Backing Up Files and File Systems Before You Install"</link></para></listitem><listitem lang="en"><para lang="en"><link linkend="install-14920" lang="en">"Installing Solaris Software"</link></para></listitem><listitem lang="en"><para lang="en"><link linkend="install-29020" lang="en">"Restoring Files and File Systems After You Install "</link></para></listitem></itemizedlist></highlights><indexterm significance="normal" id="install-ix513" lang="en"><primary lang="en">installation</primary><secondary lang="en">overview</secondary></indexterm><indexterm significance="normal" id="install-ix514" lang="en"><primary lang="en">installation</primary><secondary lang="en">pre-installation phase</secondary><tertiary lang="en">overview</tertiary></indexterm><indexterm significance="normal" id="install-ix515" lang="en"><primary lang="en">installation</primary><secondary lang="en">post-installation phase</secondary></indexterm><indexterm significance="normal" id="install-ix516" lang="en"><primary lang="en">installation</primary><secondary lang="en">install phase</secondary></indexterm><indexterm significance="normal" id="install-ix517" lang="en"><primary lang="en">installation</primary></indexterm><sect1 id="install-31582" lang="en"><title lang="en">What's New About Installing</title><para lang="en">The Solaris 2.6 environment introduces a number of changes in the way you install software on systems, which makes it different than installing the SunOS 4.x software. These include: <indexterm significance="normal" id="install-ix518" lang="en"><primary lang="en">Solaris 2.6 operating environment</primary><secondary lang="en">installation features</secondary></indexterm> <indexterm significance="normal" id="install-ix519" lang="en"><primary lang="en">installation</primary><secondary lang="en">new features</secondary></indexterm> <indexterm significance="normal" id="install-ix520" lang="en"><primary lang="en">configuration</primary><secondary lang="en">new features</secondary></indexterm></para><itemizedlist lang="en" mark="bullet"><listitem lang="en"><para lang="en">The Solaris 2.6 software is distributed on compact disc (CD) only. This means you must have access to a CD-ROM drive before you can install the software. For systems without local CD-ROM drives, you can set up a system that has a CD-ROM drive to act as an install server on the network. For more information about network installations, see <olink targetpartnumber="802-5740"><citetitle lang="en">Solaris Advanced Installation Guide</citetitle></olink>.<indexterm significance="normal" id="install-ix521" lang="en"><primary lang="en">CD-ROM devices</primary><secondary lang="en">Solaris 2.6 requirement for</secondary></indexterm></para></listitem></itemizedlist><itemizedlist lang="en" mark="bullet"><listitem lang="en"><para lang="en">The Solaris 2.6 software is bundled into modules called <emphasis lang="en">packages</emphasis>. You can select which packages to install on your system and control the amount of space each installation requires. <indexterm significance="normal" id="install-ix522" lang="en"><primary lang="en">packages</primary><secondary lang="en">advantages</secondary></indexterm></para><para lang="en">Also, related packages are grouped into <emphasis lang="en">clusters</emphasis>. This means that you can select a cluster to install without having to select each package separately. <indexterm significance="normal" id="install-ix523" lang="en"><primary lang="en">clusters</primary></indexterm></para></listitem></itemizedlist><itemizedlist lang="en" mark="bullet"><listitem lang="en"><para lang="en">Solaris 2.6 installation also provides a set of software groups, which are groups of packages and clusters for typical users (for example, there is an end-user software group). You can select a software group to get systems running without selecting individual packages and clusters. This can be useful when you are first installing  the Solaris 2.6 software in a limited environment for testing. You can add or remove packages later as you gain more experience with the system. <indexterm significance="normal" id="install-ix524" lang="en"><primary lang="en">software groups</primary></indexterm></para></listitem></itemizedlist><itemizedlist lang="en" mark="bullet"><listitem lang="en"><para lang="en">The Solaris 2.6 environment includes architecture-specific kernels rather than the generic kernel configuration provided in earlier SunOS software releases. You will find the installed kernel in <filename moreinfo="none" lang="en">/kernel</filename> instead of <filename moreinfo="none" lang="en">/vmunix</filename>. <indexterm significance="normal" id="install-ix525" lang="en"><primary lang="en">kernel</primary><secondary lang="en">architecture-specific</secondary></indexterm> <indexterm significance="normal" id="install-ix526" lang="en"><primary lang="en">/vmunix file</primary></indexterm> <indexterm significance="normal" id="install-ix527" lang="en"><primary lang="en">/unix directory</primary></indexterm> <indexterm significance="normal" id="install-ix528" lang="en"><primary lang="en">/kernel/unix directory</primary></indexterm> <indexterm significance="normal" id="install-ix529" lang="en"><primary lang="en">kernel</primary><secondary lang="en">modules</secondary><tertiary lang="en">location</tertiary></indexterm> <indexterm significance="normal" id="install-ix530" lang="en"><primary lang="en">configuration</primary><secondary lang="en">new features</secondary></indexterm> <indexterm significance="normal" id="install-ix531" lang="en"><primary lang="en">installation</primary><secondary lang="en">new features</secondary></indexterm></para></listitem></itemizedlist><itemizedlist lang="en" mark="bullet"><listitem lang="en"><para lang="en">The Solaris 2.6 installation program guides you step-by-step through the installation process.</para></listitem></itemizedlist><itemizedlist lang="en" mark="bullet"><listitem lang="en"><para lang="en">The Solaris 2.6 environment provides custom JumpStart(TM) technology to automate installations. This can save you time when you need to install many systems. For more information, see <olink targetpartnumber="802-5740"><citetitle lang="en">Solaris Advanced Installation Guide</citetitle></olink>.</para></listitem></itemizedlist></sect1><sect1 id="install-10432" lang="en"><title lang="en">What to Do Before You Install Solaris Software</title><para lang="en">Converting a SunOS 4.x system to the Solaris 2.6 software involves more than just running the Solaris installation program and loading the software. Usually, there is data on the SunOS 4.x system that needs to be transferred to a Solaris 2.6 system. This data may be full file systems, such as <filename moreinfo="none" lang="en">/home</filename>, or locally customized system files, such as <filename moreinfo="none" lang="en">/etc/hosts</filename> or <filename moreinfo="none" lang="en">/etc/passwd</filename>. <indexterm significance="normal" id="install-ix532" lang="en"><primary lang="en">installation</primary><secondary lang="en">pre-installation phase</secondary></indexterm> <indexterm significance="normal" id="install-ix533" lang="en"><primary lang="en">data transfer</primary><secondary lang="en">saving</secondary></indexterm></para><para lang="en">No matter how you plan to handle the data transfer, you should back up all disk partitions by doing full dumps before you begin the installation process.  Because the device naming conventions are different in the Solaris 2.6 operating environment, you might inadvertently choose the wrong disk when you install the Solaris 2.6 software. Backing up the file systems before you begin the installation procedure offers some protection should this occur. For information about device naming conventions, see <link linkend="devadm-32137" lang="en">"Device Naming Conventions"</link>. <indexterm significance="normal" id="install-ix534" lang="en"><primary lang="en">SunOS release 4.x</primary><secondary lang="en">backing up file systems</secondary></indexterm> <indexterm significance="normal" id="install-ix535" lang="en"><primary lang="en">installation</primary><secondary lang="en">pre-installation phase</secondary><tertiary lang="en">backing up file systems</tertiary></indexterm> <indexterm significance="normal" id="install-ix536" lang="en"><primary lang="en">files</primary><secondary lang="en">backing up</secondary></indexterm> <indexterm significance="normal" id="install-ix537" lang="en"><primary lang="en">file systems</primary><secondary lang="en">backing up</secondary></indexterm> <indexterm significance="normal" id="install-ix538" lang="en"><primary lang="en">backing up</primary><secondary lang="en">installation and</secondary></indexterm></para><para lang="en">Note about file system formats:</para><itemizedlist lang="en" mark="bullet"><listitem lang="en"><para lang="en">If the Solaris 2.6 Extended Fundamental Types (EFT) are not used, the SunOS release 4.x file system format is upwardly compatible with, and in some cases identical to that used in, the software. <indexterm significance="normal" id="install-ix539" lang="en"><primary lang="en">file systems</primary><secondary lang="en">changes in</secondary><tertiary lang="en">format</tertiary></indexterm> <indexterm significance="normal" id="install-ix540" lang="en"><primary lang="en">Extended Fundamental Types (EFT)</primary></indexterm> <indexterm significance="normal" id="install-ix541" lang="en"><primary lang="en">EFT (Extended Fundamental Types)</primary></indexterm></para></listitem></itemizedlist><itemizedlist lang="en" mark="bullet"><listitem lang="en"><para lang="en">If you are running SunOS 4.1.1 software with QuickCheck or Backup Copilot(TM) utilities installed or the SunOS 4.1.2 software, the file system formats are identical. <indexterm significance="normal" id="install-ix542" lang="en"><primary lang="en">SunOS release 4.x</primary><secondary lang="en">QuickCheck</secondary></indexterm> <indexterm significance="normal" id="install-ix543" lang="en"><primary lang="en">SunOS release 4.x</primary><secondary lang="en">Backup Copilot</secondary></indexterm> <indexterm significance="normal" id="install-ix544" lang="en"><primary lang="en">QuickCheck</primary></indexterm> <indexterm significance="normal" id="install-ix545" lang="en"><primary lang="en">Backup CoPilot</primary></indexterm></para></listitem></itemizedlist><itemizedlist lang="en" mark="bullet"><listitem lang="en"><para lang="en">If you are running SunOS 4.1.1 software without QuickCheck or Backup Copilot utilities, SunOS 4.0.x, or SunOS 4.1 software, the file systems are upwardly and backwardly compatible, although not identical in all cases. </para></listitem></itemizedlist><sect2 id="install-36850" lang="en"><title lang="en">Saving Disk Partition Information</title><para lang="en">Before you begin the installation process, you should save a hard copy of the system's existing disk partitions. It can serve as a reference for many decisions that are made about configuring the Solaris 2.6 system. The following procedure is one way to obtain the disk partition information. <indexterm significance="normal" id="install-ix546" lang="en"><primary lang="en">SunOS release 4.x</primary><secondary lang="en">saving disk partition information</secondary></indexterm> <indexterm significance="normal" id="install-ix547" lang="en"><primary lang="en">saving</primary><secondary lang="en">disk partition information</secondary></indexterm> <indexterm significance="normal" id="install-ix548" lang="en"><primary lang="en">installation</primary><secondary lang="en">pre-installation phase</secondary><tertiary lang="en">saving disk partition information</tertiary></indexterm> <indexterm significance="normal" id="install-ix549" lang="en"><primary lang="en">disk devices</primary><secondary lang="en">partition information, saving</secondary></indexterm></para><procedure id="install-proc-1" lang="en"><step performance="required" id="install-step-2" lang="en"><para lang="en">Obtain the names of the disks attached to the system. <indexterm significance="normal" id="install-ix550" lang="en"><primary lang="en">names</primary><secondary lang="en">disks attached to system</secondary></indexterm> <indexterm significance="normal" id="install-ix551" lang="en"><primary lang="en">disk devices</primary><secondary lang="en">names of disks attached to system</secondary></indexterm></para><para lang="en">To obtain the names of the disks attached to the system, use the <command moreinfo="none" lang="en">format</command>(8) command. <indexterm significance="normal" id="install-ix552" lang="en"><primary lang="en">format command</primary></indexterm></para></step><step performance="required" id="install-step-3" lang="en"><para lang="en">Save the disk partition information.</para><para lang="en"> To obtain the partition information encoded on each disk, use the <command moreinfo="none" lang="en">dkinfo</command>(8) command. You can pipe the output to a printer or to a file that you can save to another system. <indexterm significance="normal" id="install-ix553" lang="en"><primary lang="en">dkinfo command</primary></indexterm></para><note lang="en" role="note"><gentext type="text">Note - </gentext><para lang="en">Using the previous command provides you with information only on the configured partitions. All nonconfigured partitions are displayed with the message: "<literal moreinfo="none" lang="en">No such device or address.</literal>" <indexterm significance="normal" id="install-ix554" lang="en"><primary lang="en">SunOS release 4.x</primary><secondary lang="en">saving disk partition information</secondary></indexterm> <indexterm significance="normal" id="install-ix555" lang="en"><primary lang="en">saving</primary><secondary lang="en">disk partition information</secondary></indexterm> <indexterm significance="normal" id="install-ix556" lang="en"><primary lang="en">disk devices</primary><secondary lang="en">partition information, saving</secondary></indexterm> <indexterm significance="normal" id="install-ix557" lang="en"><primary lang="en">installation</primary><secondary lang="en">pre-installation phase</secondary><tertiary lang="en">saving disk partition information</tertiary></indexterm></para></note></step></procedure></sect2><sect2 id="install-4" lang="en"><title lang="en">Saving File System Information</title><indexterm significance="normal" id="install-ix558" lang="en"><primary lang="en">SunOS release 4.x</primary><secondary lang="en">saving file system information</secondary></indexterm><indexterm significance="normal" id="install-ix559" lang="en"><primary lang="en">saving</primary><secondary lang="en">file system information</secondary></indexterm><indexterm significance="normal" id="install-ix560" lang="en"><primary lang="en">installation</primary><secondary lang="en">pre-installation phase</secondary><tertiary lang="en">saving file system information</tertiary></indexterm><indexterm significance="normal" id="install-ix561" lang="en"><primary lang="en">file systems</primary><secondary lang="en">saving information</secondary></indexterm><para lang="en">The mappings between file system names (for example, <filename moreinfo="none" lang="en">/usr</filename>, <filename moreinfo="none" lang="en">/home</filename>) and device names (for example, <filename moreinfo="none" lang="en">/dev/sd0g</filename>) reside in the configuration file <filename moreinfo="none" lang="en">/etc/fstab</filename>. Before proceeding, you should make a printed copy of the <filename moreinfo="none" lang="en">/etc/fstab</filename> file to help you construct the Solaris 2.6 file. <indexterm significance="normal" id="install-ix562" lang="en"><primary lang="en">/etc/fstab file</primary><secondary lang="en">described</secondary></indexterm></para></sect2><sect2 id="install-5" lang="en"><title lang="en">Saving Metadevice Configuration Information </title><para lang="en">Use this section only if you are upgrading a system running the SPARCserver(TM) Manager or Solstice DiskSuite unbundled products. (These products are used to mirror, concatenate, or stripe multiple disks.) <indexterm significance="normal" id="install-ix563" lang="en"><primary lang="en">SPARCServer Manager, installation and</primary></indexterm> <indexterm significance="normal" id="install-ix564" lang="en"><primary lang="en">saving</primary><secondary lang="en">metadevice configuration information</secondary></indexterm> <indexterm significance="normal" id="install-ix565" lang="en"><primary lang="en">Solstice DiskSuite, installation and</primary></indexterm> <indexterm significance="normal" id="install-ix566" lang="en"><primary lang="en">metadevice configuration information, saving</primary></indexterm> <indexterm significance="normal" id="install-ix567" lang="en"><primary lang="en">installation</primary><secondary lang="en">pre-installation phase</secondary><tertiary lang="en">saving metadevice configuration information</tertiary></indexterm> <indexterm significance="normal" id="install-ix568" lang="en"><primary lang="en">SunOS release 4.x</primary><secondary lang="en">saving metadevice configuration information</secondary></indexterm></para><para lang="en">To upgrade your system without this product, you have to modify your multiple-partition configurations to use single partitions. In particular, a concatenated or striped file system must be reorganized onto a single disk, and partitions and mirrors can no longer be used. </para><para lang="en">If the system is running SPARCserver Manager or Solstice DiskSuite utilities, you should save the metadevice configuration information before installing Solaris 2.6 software. This enables you to recover the state of the metadevices when you install Solaris 2.6 software, and serves as a reference as you construct the list of disks attached to your system. </para><procedure id="install-proc-6" lang="en"><step performance="required" id="install-step-7" lang="en"><para lang="en">Use the <command moreinfo="none" lang="en">metastat</command>(8) command to save information, as in the following example. <indexterm significance="normal" id="install-ix569" lang="en"><primary lang="en">metastat command</primary></indexterm></para><screen format="linespecific" lang="en"># /etc/metastat -p | lpr</screen></step><step performance="required" id="install-step-8" lang="en"><para lang="en">Save the output of the <command moreinfo="none" lang="en">metadb</command>(8) command. <indexterm significance="normal" id="install-ix570" lang="en"><primary lang="en">metadb command</primary></indexterm></para><para lang="en">For example.</para><screen format="linespecific" lang="en"># /etc/metadb -i | lpr</screen><para lang="en">The output of <command moreinfo="none" lang="en">metadb</command> tells you the state database configuration information. This information is necessary to reconstruct the state databases if you reinstall the Solstice DiskSuite product. <indexterm significance="normal" id="install-ix571" lang="en"><primary lang="en">installation</primary><secondary lang="en">pre-installation phase</secondary><tertiary lang="en">saving metadevice configuration information</tertiary></indexterm> <indexterm significance="normal" id="install-ix572" lang="en"><primary lang="en">metadevice configuration information, saving</primary></indexterm> <indexterm significance="normal" id="install-ix573" lang="en"><primary lang="en">Solstice DiskSuite, installation and</primary></indexterm> <indexterm significance="normal" id="install-ix574" lang="en"><primary lang="en">saving</primary><secondary lang="en">metadevice configuration information</secondary></indexterm> <indexterm significance="normal" id="install-ix575" lang="en"><primary lang="en">SPARCserver Manager, installation and</primary></indexterm> <indexterm significance="normal" id="install-ix576" lang="en"><primary lang="en">SunOS release 4.x</primary><secondary lang="en">saving metadevice configuration information</secondary></indexterm></para></step></procedure></sect2><sect2 id="install-9" lang="en"><title lang="en">Determining What To Back Up</title><para lang="en">You should create a list of the SunOS 4.x files and file systems that you want to back up and restore after installing Solaris 2.6 software.</para><sect3 id="install-20849" lang="en"><title lang="en">Making a List of System Components to Back Up</title><para lang="en">Make a list of all the system components in the existing SunOS release 4.x environment and decide which are critical to the user's system. Consider: <indexterm significance="normal" id="install-ix577" lang="en"><primary lang="en">installation</primary><secondary lang="en">pre-installation phase</secondary><tertiary lang="en">listing system components to save</tertiary></indexterm></para><itemizedlist lang="en" mark="bullet"><listitem lang="en"><para lang="en">Locally developed applications</para></listitem><listitem lang="en"><para lang="en">Any unbundled software products</para></listitem><listitem lang="en"><para lang="en">Third-party applications</para></listitem><listitem lang="en"><para lang="en">Third-party peripheral devices and drivers (8 mm tape drives and SBus cards, for example)</para></listitem></itemizedlist></sect3><sect3 id="install-10" lang="en"><title lang="en">Making a List of Files and File Systems to Back Up</title><para lang="en">Use the following guidelines to make the list of file systems to save: <indexterm significance="normal" id="install-ix578" lang="en"><primary lang="en">listing</primary><secondary lang="en">file systems to save</secondary></indexterm> <indexterm significance="normal" id="install-ix579" lang="en"><primary lang="en">installation</primary><secondary lang="en">pre-installation phase</secondary><tertiary lang="en">listing files and file systems to save</tertiary></indexterm> <indexterm significance="normal" id="install-ix580" lang="en"><primary lang="en">files</primary><secondary lang="en">listing files to save</secondary></indexterm> <indexterm significance="normal" id="install-ix581" lang="en"><primary lang="en">file systems</primary><secondary lang="en">listing systems to save</secondary></indexterm></para><itemizedlist lang="en" mark="bullet"><listitem lang="en"><para lang="en">As a general rule, do not transfer file systems containing "system" files (for example, the <filename moreinfo="none" lang="en">/usr</filename> or <filename moreinfo="none" lang="en">/</filename> file systems) in their entirety. <indexterm significance="normal" id="install-ix582" lang="en"><primary lang="en">/usr file system</primary><secondary lang="en">transitioning</secondary></indexterm> <indexterm significance="normal" id="install-ix583" lang="en"><primary lang="en">/tmp file system (TMPFS)</primary><secondary lang="en">transitioning</secondary></indexterm> <indexterm significance="normal" id="install-ix584" lang="en"><primary lang="en">root file system (/)</primary></indexterm> <indexterm significance="normal" id="install-ix585" lang="en"><primary lang="en">/ file system</primary></indexterm></para></listitem></itemizedlist><itemizedlist lang="en" mark="bullet"><listitem lang="en"><para lang="en">Do not save temporary file systems, such as <filename moreinfo="none" lang="en">/tmp</filename>. <indexterm significance="normal" id="install-ix586" lang="en"><primary lang="en">temporary file systems</primary><secondary lang="en">transitioning</secondary></indexterm></para></listitem></itemizedlist><itemizedlist lang="en" mark="bullet"><listitem lang="en"><para lang="en">Do extract and transfer the data files that have changed locally or those on which the server depends for administrative data, such as some <filename moreinfo="none" lang="en">/etc</filename> files (for example, <filename moreinfo="none" lang="en">/etc/hosts</filename>), exported file systems (use the <command moreinfo="none" lang="en">exportfs</command> command to list them), and <filename moreinfo="none" lang="en">/tftpboot</filename> directory, which you should save as a safety precaution. <indexterm significance="normal" id="install-ix587" lang="en"><primary lang="en">/tftpboot directory</primary></indexterm> <indexterm significance="normal" id="install-ix588" lang="en"><primary lang="en">shared file systems</primary><secondary lang="en">transitioning</secondary></indexterm></para></listitem></itemizedlist><itemizedlist lang="en" mark="bullet"><listitem lang="en"><para lang="en">Do completely preserve file systems containing only locally generated data, such as <filename moreinfo="none" lang="en">spool</filename> and user home directories. </para></listitem></itemizedlist><itemizedlist lang="en" mark="bullet"><listitem lang="en"><para lang="en">Save file systems that contain information about clients if you are migrating a server for SunOS release 4.x clients. Typically, <filename moreinfo="none" lang="en">/export</filename> would be such a file.</para></listitem></itemizedlist></sect3><sect3 id="install-11" lang="en"><title lang="en">Making a List of SunOS System Configuration Files to Back Up</title><para lang="en">There are a number of SunOS 4.x system configuration files that can be merged or converted for the Solaris platform. Use the example list that follows to help select the system configuration files you want to back up.</para><note lang="en" role="note"><gentext type="text">Note - </gentext><para lang="en">The list contains suggestions. You should study the items carefully and add to or delete from the list depending on the configuration at your site. For example, if you have special files in directories from third-party software vendors, you may need to save them.</para></note><para lang="en">If the system is an NIS master server, you should save all the files that reside in the NIS master directory (for example, <filename moreinfo="none" lang="en">/etc</filename>). Additionally, save any other master files that you added to NIS. The suggestions for files to back up include: <indexterm significance="normal" id="install-ix589" lang="en"><primary lang="en">NIS (Network Information Services)</primary><secondary lang="en">master servers</secondary><tertiary lang="en">saving system data for</tertiary></indexterm></para><itemizedlist lang="en" mark="bullet"><listitem lang="en"><para lang="en"><filename moreinfo="none" lang="en">./.cshrc</filename></para></listitem><listitem lang="en"><para lang="en"><filename moreinfo="none" lang="en">./.profile</filename></para></listitem><listitem lang="en"><para lang="en"><filename moreinfo="none" lang="en">./.login</filename></para></listitem><listitem lang="en"><para lang="en"><filename moreinfo="none" lang="en">./.logout</filename></para></listitem><listitem lang="en"><para lang="en"><filename moreinfo="none" lang="en">./.rhosts</filename></para></listitem><listitem lang="en"><para lang="en"><filename moreinfo="none" lang="en">./etc</filename> (if the system is an NIS client or has no name service)</para></listitem><listitem lang="en"><para lang="en"><filename moreinfo="none" lang="en">./var/spool/calendar</filename></para></listitem><listitem lang="en"><para lang="en"><filename moreinfo="none" lang="en">./var/spool/cron</filename></para></listitem><listitem lang="en"><para lang="en"><filename moreinfo="none" lang="en">./var/spool/uucp</filename></para></listitem><listitem lang="en"><para lang="en"><filename moreinfo="none" lang="en">./var/nis</filename> (if the system is an NIS master server)</para></listitem><listitem lang="en"><para lang="en">Boot programs in<filename moreinfo="none" lang="en">./tftpboot</filename></para></listitem></itemizedlist></sect3></sect2><sect2 id="install-12" lang="en"><title lang="en">Determining Disk Space Requirements</title><para lang="en">Make a list of how much disk space each file system that you want to move to the Solaris 2.6 upgrade, uses. Refer to this list when installing the Solaris 2.6 software, since you can partition disk space for your SunOS 4.x file systems when running the Solaris 2.6 installation program.</para></sect2><sect2 id="install-17015" lang="en"><title lang="en">Deciding the Order of Installation for Networks</title><para lang="en">If you are converting a network of SunOS 4.x systems to the Solaris 2.6 software, decide the order of the systems to convert to maximize convenience for the users. For example, you might want to convert all client systems before you convert any servers. The first system you convert should be a standalone system with a locally attached CD-ROM drive. <indexterm significance="normal" id="install-ix590" lang="en"><primary lang="en">prioritizing, Solaris 2.6 installation for networks</primary></indexterm> <indexterm significance="normal" id="install-ix592" lang="en"><primary lang="en">networks</primary><secondary lang="en">order of installing Solaris 2.6 on</secondary></indexterm> <indexterm significance="normal" id="install-ix593" lang="en"><primary lang="en">installation</primary><secondary lang="en">pre-installation phase</secondary><tertiary lang="en">network installation order</tertiary></indexterm></para><para lang="en">For a while, you will probably manage a network consisting of both SunOS 4.x and Solaris 2.6 systems, and part of your planning should involve determining priorities. For example, you may want to convert one domain and use it for system administration testing and for porting internally developed applications before you convert the entire network environment.</para></sect2></sect1><sect1 id="install-37504" lang="en"><title lang="en">Backing Up Files and File Systems Before You Install</title><para lang="en">Once you decide which files or file systems you need to back up from the SunOS 4.x system, you can use the standard commands and procedures given in the SunOS 4.x documentation to do backups. The command you use depends on whether the tape drive is local or remote. <indexterm significance="normal" id="install-ix594" lang="en"><primary lang="en">SunOS release 4.x</primary><secondary lang="en">backing up file systems</secondary></indexterm>No matter how you plan to handle the data transfer, it is still a good idea to back up all disk partitions by doing full dumps before you begin the installation process. <indexterm significance="normal" id="install-ix595" lang="en"><primary lang="en">installation</primary><secondary lang="en">pre-installation phase</secondary><tertiary lang="en">backing up file systems</tertiary></indexterm> <indexterm significance="normal" id="install-ix596" lang="en"><primary lang="en">files</primary><secondary lang="en">backing up</secondary></indexterm> <indexterm significance="normal" id="install-ix597" lang="en"><primary lang="en">file systems</primary><secondary lang="en">backing up</secondary></indexterm> <indexterm significance="normal" id="install-ix598" lang="en"><primary lang="en">backing up</primary><secondary lang="en">installation and</secondary></indexterm></para></sect1><sect1 id="install-14920" lang="en"><title lang="en">Installing Solaris Software</title><para lang="en">Install the Solaris 2.6 software on the server or standalone system using the software installation procedures given in <olink targetpartnumber="802-5733"><citetitle lang="en">Installation Instructions for Solaris 2.6 (SPARC Platform Edition)</citetitle></olink> or <olink targetpartnumber="802-5736"><citetitle lang="en">Installation Instructions for Solaris 2.6 (Intel Platform Edition)</citetitle></olink>.<indexterm significance="normal" id="install-ix599" lang="en"><primary lang="en">installation</primary><secondary lang="en">install phase</secondary></indexterm></para><sect2 id="install-13" lang="en"><title lang="en">Preserve Option</title><para lang="en">The Solaris 2.6 installation program has a preserve screen that enables you to preserve existing file systems during installation. This is a good way to preserve any SunOS 4.x file systems so you don't have to restore them. </para><para lang="en">If you cannot preserve a SunOS 4.x file system or you choose not to (because you want to change how the system's disks are partitioned), you should create new file systems with sufficient disk space for the SunOS 4.x file system that you want to restore (using the disk space requirements you recorded earlier). Then you can restore the SunOS 4.x file systems into the new file systems after Solaris is installed.</para></sect2></sect1><sect1 id="install-29020" lang="en"><title lang="en">Restoring Files and File Systems After You Install </title><para lang="en">This section describes issues related to restoring SunOS 4.x files and file systems you backed up before installing the Solaris 2.6 software. <indexterm significance="normal" id="install-ix600" lang="en"><primary lang="en">restoring files and file systems</primary></indexterm> <indexterm significance="normal" id="install-ix601" lang="en"><primary lang="en">installation</primary><secondary lang="en">post-installation phase</secondary></indexterm> <indexterm significance="normal" id="install-ix602" lang="en"><primary lang="en">data transfer</primary><secondary lang="en">restoring</secondary></indexterm></para><sect2 id="install-14" lang="en"><title lang="en">Restoring SunOS 4.x File Systems and User Files</title><para lang="en">You can restore the SunOS 4.x file systems that you could not or chose not to preserve into the new file systems you created during the Solaris 2.6 installation. For information about backup and restore procedures, see <olink targetpartnumber="802-5750"><citetitle lang="en">System Administration Guide</citetitle></olink>.</para><note lang="en" role="note"><gentext type="text">Note - </gentext><para lang="en">Before proceeding make sure that the target slice is large enough to accommodate the file system being restored.</para></note><para lang="en">Restore any SunOS 4.x user files that you backed up,  and copy them to the new system.</para></sect2><sect2 id="install-14694" lang="en"><title lang="en">Restoring SunOS 4.x System Configuration Files</title><para lang="en">First, you must restore the SunOS 4.x system configuration files to a temporary directory on the Solaris 2.6 system. After the information is back on the system in the temporary directory, you need to make it available in the Solaris 2.6 operating environment. Some of the data can just be merged into the files, while some types of data must be converted to new formats.</para><para lang="en">The system's configuration defines which files you need to work with. Complete the restore by merging or converting files as follows: </para><itemizedlist lang="en" mark="bullet"><listitem lang="en"><para lang="en">Systems with no name service: If the system has no name service, merge or convert all the relevant system files located in <filename moreinfo="none" lang="en">/etc</filename> and <filename moreinfo="none" lang="en">/var</filename>.</para></listitem></itemizedlist><itemizedlist lang="en" mark="bullet"><listitem lang="en"><para lang="en">Systems that are NIS clients: If the system is an NIS client, merge or convert only the local system configuration files located in <filename moreinfo="none" lang="en">/etc</filename> and <filename moreinfo="none" lang="en">/var</filename> that are not provided via the NIS name service. <indexterm significance="normal" id="install-ix603" lang="en"><primary lang="en">NIS (Network Information Services)</primary><secondary lang="en">clients, restoring system data for</secondary></indexterm></para></listitem></itemizedlist><itemizedlist lang="en" mark="bullet"><listitem lang="en"><para lang="en">Systems that are NIS master servers: If the system is an NIS master server, merge or convert all the files that reside in the NIS master directory (for example, <filename moreinfo="none" lang="en">/etc</filename>). Additionally, update other local configuration files in <filename moreinfo="none" lang="en">/etc</filename> and <filename moreinfo="none" lang="en">/var</filename>. <indexterm significance="normal" id="install-ix604" lang="en"><primary lang="en">NIS (Network Information Services)</primary><secondary lang="en">master servers</secondary><tertiary lang="en">restoring system data for</tertiary></indexterm></para></listitem></itemizedlist><sect3 id="install-15" lang="en"><title lang="en">Files to Merge</title><para lang="en">To make data from any of the following files available, merge the changes into the Solaris 2.6 version of the same file. Note, however, that not all of these files were modified on the SunOS 4.x system. Identify files that were changed on the SunOS 4.x system and merge these only. As you read the list, note that some of the file names are slightly different. For example, <filename moreinfo="none" lang="en">/etc/auto.*</filename> files are now <filename moreinfo="none" lang="en">/etc/auto_*</filename>. <indexterm significance="normal" id="install-ix605" lang="en"><primary lang="en">merging files</primary></indexterm> <indexterm significance="normal" id="install-ix606" lang="en"><primary lang="en">files</primary><secondary lang="en">merging</secondary></indexterm> <indexterm significance="normal" id="install-ix607" lang="en"><primary lang="en">file systems</primary><secondary lang="en">changes in</secondary><tertiary lang="en">names</tertiary></indexterm> <indexterm significance="normal" id="install-ix608" lang="en"><primary lang="en">files</primary><secondary lang="en">names</secondary></indexterm> <indexterm significance="normal" id="install-ix609" lang="en"><primary lang="en">names</primary><secondary lang="en">file</secondary></indexterm></para><para lang="en">The following is an example list of the SunOS release 4.x files backed up using the instructions in the first part of this chapter. These files are candidates for merging into the Solaris 2.6 operating environment. See <link linkend="apxd-63073" lang="en">Appendix D, System Files Reference Table</link>, to examine SunOS release 4.x files for changes. </para><itemizedlist lang="en" mark="bullet"><listitem lang="en"><para lang="en">All automounter maps, including <filename moreinfo="none" lang="en">/etc/auto.master</filename> and any others </para></listitem><listitem lang="en"><para lang="en"><filename moreinfo="none" lang="en">/etc/aliases</filename></para></listitem><listitem lang="en"><para lang="en"><filename moreinfo="none" lang="en">/etc/bootparams</filename></para></listitem><listitem lang="en"><para lang="en"><filename moreinfo="none" lang="en">/etc/ethers</filename></para></listitem><listitem lang="en"><para lang="en"><filename moreinfo="none" lang="en">/etc/hosts</filename></para></listitem><listitem lang="en"><para lang="en"><filename moreinfo="none" lang="en">/etc/format.dat</filename></para></listitem><listitem lang="en"><para lang="en"><filename moreinfo="none" lang="en">/etc/inetd.conf</filename></para></listitem><listitem lang="en"><para lang="en"><filename moreinfo="none" lang="en">/etc/netmasks</filename></para></listitem><listitem lang="en"><para lang="en"><filename moreinfo="none" lang="en">/etc/networks</filename></para></listitem><listitem lang="en"><para lang="en"><filename moreinfo="none" lang="en">/etc/protocols</filename></para></listitem><listitem lang="en"><para lang="en"><filename moreinfo="none" lang="en">/etc/publickey</filename></para></listitem><listitem lang="en"><para lang="en"><filename moreinfo="none" lang="en">/etc/rpc</filename></para></listitem><listitem lang="en"><para lang="en"><filename moreinfo="none" lang="en">/etc/services</filename></para></listitem><listitem lang="en"><para lang="en"><filename moreinfo="none" lang="en">/etc/hosts.equiv</filename></para></listitem><listitem lang="en"><para lang="en"><filename moreinfo="none" lang="en">/etc/remote</filename></para></listitem><listitem lang="en"><para lang="en"><filename moreinfo="none" lang="en">/.cshrc</filename></para></listitem><listitem lang="en"><para lang="en"><filename moreinfo="none" lang="en">/.profile</filename></para></listitem><listitem lang="en"><para lang="en"><filename moreinfo="none" lang="en">/.login</filename></para></listitem><listitem lang="en"><para lang="en"><filename moreinfo="none" lang="en">/.logout</filename></para></listitem><listitem lang="en"><para lang="en"><filename moreinfo="none" lang="en">/.rhosts</filename></para></listitem><listitem lang="en"><para lang="en"><filename moreinfo="none" lang="en">/var/spool/cron</filename></para></listitem><listitem lang="en"><para lang="en"><filename moreinfo="none" lang="en">/var/spool/mail</filename></para></listitem><listitem lang="en"><para lang="en"><filename moreinfo="none" lang="en">/var/spool/calendar</filename></para></listitem><listitem lang="en"><para lang="en"><filename moreinfo="none" lang="en">/var/spool/uucp</filename> <indexterm significance="normal" id="install-ix610" lang="en"><primary lang="en">files</primary><secondary lang="en">merging</secondary></indexterm> <indexterm significance="normal" id="install-ix611" lang="en"><primary lang="en">merging files</primary></indexterm></para></listitem></itemizedlist></sect3><sect3 id="install-16" lang="en"><title lang="en">Files to Convert</title><para lang="en">Many system files, such as the <filename moreinfo="none" lang="en">/etc/fstab</filename> file, have been replaced and do not exist under the Solaris 2.6 operating environment. Information from these files must be extracted and manually converted in the Solaris 2.6 environment.   See <link linkend="apxd-63073" lang="en">Appendix D, System Files Reference Table</link>, to examine SunOS release 4.x files for changes. <indexterm significance="normal" id="install-ix612" lang="en"><primary lang="en">files</primary><secondary lang="en">converting</secondary></indexterm> <indexterm significance="normal" id="install-ix613" lang="en"><primary lang="en">/etc/vfstab file</primary><secondary lang="en">merging /etc/fstab file into</secondary></indexterm> <indexterm significance="normal" id="install-ix614" lang="en"><primary lang="en">/etc/fstab file</primary><secondary lang="en">/etc/vfstab vs.</secondary></indexterm> <indexterm significance="normal" id="install-ix615" lang="en"><primary lang="en">converting</primary><secondary lang="en">files</secondary></indexterm></para><caution lang="en" role="caution"><gentext type="text">Caution - </gentext><para lang="en">Do not restore operating system executable files (such as system commands in <filename moreinfo="none" lang="en">/usr/bin</filename>) from the SunOS release 4.x system to your system after installing the Solaris 2.6 software.</para></caution><para lang="en">You must change the following files before merging the data onto the Solaris 2.6 system: <indexterm significance="normal" id="install-ix616" lang="en"><primary lang="en">installation</primary></indexterm></para><itemizedlist lang="en" mark="bullet"><listitem lang="en"><para lang="en"><filename moreinfo="none" lang="en">/etc/uucp</filename> - There have been some changes to the UUCP system. The <filename moreinfo="none" lang="en">Config</filename>, <filename moreinfo="none" lang="en">Grades</filename>, and <filename moreinfo="none" lang="en">Limits</filename> files are new in the Solaris 2.6 operating environment. The files <filename moreinfo="none" lang="en">Devconfig</filename>, <filename moreinfo="none" lang="en">Devices</filename>, <filename moreinfo="none" lang="en">Dialcodes</filename>, <filename moreinfo="none" lang="en">Dialers</filename>, <filename moreinfo="none" lang="en">Permissions</filename>, <filename moreinfo="none" lang="en">Poll</filename>, <filename moreinfo="none" lang="en">Sysfiles</filename>, and <filename moreinfo="none" lang="en">systems</filename> are the same in the Solaris 2.6 operating environment as they were in the SunOS release 4.x software. These files can be merged together. There are also several SunOS release 4.x files that are not used in the Solaris 2.6 operating environment. <indexterm significance="normal" id="install-ix617" lang="en"><primary lang="en">UUCP (Unix-to-Unix Copy)</primary></indexterm> <indexterm significance="normal" id="install-ix618" lang="en"><primary lang="en">Unix-to-Unix Copy (UUCP)</primary></indexterm> <indexterm significance="normal" id="install-ix619" lang="en"><primary lang="en">/etc/uucp directory</primary></indexterm></para></listitem></itemizedlist><itemizedlist lang="en" mark="bullet"><listitem lang="en"><para lang="en"><filename moreinfo="none" lang="en">/etc/group</filename> - The basic format of this file is the same as it was in the SunOS 4.1 and SunOS 4.1.x releases. However, previous releases used a group entry beginning with a plus sign (+) or minus sign (-) to selectively incorporate entries from NIS maps for group. See the <command moreinfo="none" lang="en">group</command>(4) man page if that compatibility is needed under the Solaris 2.6 operating environment. <indexterm significance="normal" id="install-ix620" lang="en"><primary lang="en">group system file</primary></indexterm> <indexterm significance="normal" id="install-ix621" lang="en"><primary lang="en">/etc/group file</primary></indexterm></para></listitem></itemizedlist><itemizedlist lang="en" mark="bullet"><listitem lang="en"><para lang="en"><filename moreinfo="none" lang="en">/etc/netgroup</filename> - There is no <filename moreinfo="none" lang="en">/etc/netgroup</filename> file in the SunOS release 5.6 environment. <indexterm significance="normal" id="install-ix622" lang="en"><primary lang="en">netgroup system file</primary></indexterm> <indexterm significance="normal" id="install-ix623" lang="en"><primary lang="en">/etc/netgroup file</primary></indexterm></para></listitem></itemizedlist><itemizedlist lang="en" mark="bullet"><listitem lang="en"><para lang="en"><filename moreinfo="none" lang="en">/etc/exports</filename> - File systems to be shared on the network under the Solaris 2.6 operating environment use the <filename moreinfo="none" lang="en">/etc/dfs/dfstab</filename> file instead of <filename moreinfo="none" lang="en">/etc/exports</filename>. The format of entries in this file follows. <indexterm significance="normal" id="install-ix624" lang="en"><primary lang="en">shared file systems</primary><secondary lang="en">transitioning</secondary></indexterm> <indexterm significance="normal" id="install-ix625" lang="en"><primary lang="en">exports file</primary></indexterm> <indexterm significance="normal" id="install-ix626" lang="en"><primary lang="en">/etc/exports file</primary></indexterm> <indexterm significance="normal" id="install-ix627" lang="en"><primary lang="en">/etc/dfs/dfstab file</primary></indexterm></para></listitem></itemizedlist><informaltable frame="all" lang="en"><tgroup cols="1" colsep="0" rowsep="0" lang="en"><colspec colnum="1" colname="column1" colwidth="9*"/><tbody lang="en"><row lang="en"><entry colname="column1" align="left" valign="top" lang="en"><para lang="en"><literallayout format="linespecific" lang="en"><command moreinfo="none" lang="en">share</command> <option lang="en"><gentext type="text">-</gentext>F</option> <replaceable lang="en">fstype</replaceable> <option lang="en"><gentext type="text">-</gentext>o</option> <replaceable lang="en">options</replaceable> <option lang="en"><gentext type="text">-</gentext>d</option> "<replaceable lang="en">text</replaceable>" <replaceable lang="en">pathname</replaceable> <replaceable lang="en">resource</replaceable></literallayout></para></entry></row></tbody></tgroup></informaltable><para lang="en">See the <command moreinfo="none" lang="en">dfstab</command>(4) man page for additional information.</para><itemizedlist lang="en" mark="bullet"><listitem lang="en"><para lang="en"><filename moreinfo="none" lang="en">/etc/fstab</filename> - File systems to be mounted under the Solaris 2.6 operating environment use the <filename moreinfo="none" lang="en">/etc/vfstab</filename> file instead of <filename moreinfo="none" lang="en">/etc/fstab</filename>. The format of entries in the <filename moreinfo="none" lang="en">/etc/vfstab</filename> file follows. <indexterm significance="normal" id="install-ix628" lang="en"><primary lang="en">mounting</primary><secondary lang="en">file systems</secondary></indexterm> <indexterm significance="normal" id="install-ix629" lang="en"><primary lang="en">file systems</primary><secondary lang="en">mounting</secondary></indexterm> <indexterm significance="normal" id="install-ix630" lang="en"><primary lang="en">/etc/vfstab file</primary><secondary lang="en">merging /etc/fstab file into</secondary></indexterm> <indexterm significance="normal" id="install-ix631" lang="en"><primary lang="en">/etc/fstab file</primary><secondary lang="en">/etc/vfstab vs.</secondary></indexterm></para></listitem></itemizedlist><informaltable frame="all" lang="en"><tgroup cols="1" colsep="0" rowsep="0" lang="en"><colspec colnum="1" colname="column1" colwidth="9*"/><tbody lang="en"><row lang="en"><entry colname="column1" align="left" valign="top" lang="en"><para lang="en"><literallayout format="linespecific" lang="en">dev raw_dev mnt_pt fs_type
fsck_pass auto_mnt mnt_option</literallayout></para></entry></row></tbody></tgroup></informaltable><para lang="en">Refer to the <command moreinfo="none" lang="en">vfstab</command>(4) man page for additional information.</para><itemizedlist lang="en" mark="bullet"><listitem lang="en"><para lang="en"><filename moreinfo="none" lang="en">/etc/passwd</filename> - The format of the <filename moreinfo="none" lang="en">passwd</filename> file is the same as that under the SunOS release 4.x software. However, user passwords are now stored in the <filename moreinfo="none" lang="en">/etc/shadow</filename> file. Refer to the <command moreinfo="none" lang="en">passwd</command>(4) and <command moreinfo="none" lang="en">shadow(</command>4) man pages for additional information. <indexterm significance="normal" id="install-ix632" lang="en"><primary lang="en">passwords</primary><secondary lang="en">location of</secondary></indexterm> <indexterm significance="normal" id="install-ix633" lang="en"><primary lang="en">passwd file</primary></indexterm> <indexterm significance="normal" id="install-ix634" lang="en"><primary lang="en">/etc/passwd file</primary></indexterm> <indexterm significance="normal" id="install-ix635" lang="en"><primary lang="en">shadow file</primary></indexterm> <indexterm significance="normal" id="install-ix636" lang="en"><primary lang="en">/etc/shadow file</primary></indexterm></para></listitem></itemizedlist><itemizedlist lang="en" mark="bullet"><listitem lang="en"><para lang="en"><filename moreinfo="none" lang="en">/etc/sendmail.cf</filename> - The format of <filename moreinfo="none" lang="en">sendmail.cf</filename> is the same as that under the SunOS release 4.x structure. The location of the file is now <filename moreinfo="none" lang="en">/etc/mail/sendmail.cf</filename>. <indexterm significance="normal" id="install-ix637" lang="en"><primary lang="en">sendmail.cf file</primary></indexterm> <indexterm significance="normal" id="install-ix638" lang="en"><primary lang="en">/etc/sendmail.cf file</primary></indexterm> <indexterm significance="normal" id="install-ix639" lang="en"><primary lang="en">/etc/mail/sendmail.cf file</primary></indexterm></para></listitem></itemizedlist><itemizedlist lang="en" mark="bullet"><listitem lang="en"><para lang="en"><filename moreinfo="none" lang="en">/etc/ttytab</filename> - Under the SunOS release 4.x system, <filename moreinfo="none" lang="en">ttytab</filename> was used to control serial ports and the characteristics of the terminals on those serial lines. Under the Solaris 2.6 operating environment, the Service Access Facility is used to configure this capability. <indexterm significance="normal" id="install-ix640" lang="en"><primary lang="en">ttytab system file</primary></indexterm> <indexterm significance="normal" id="install-ix641" lang="en"><primary lang="en">serial ports, controlling</primary></indexterm> <indexterm significance="normal" id="install-ix642" lang="en"><primary lang="en">/etc/ttytab file</primary></indexterm></para></listitem></itemizedlist><itemizedlist lang="en" mark="bullet"><listitem lang="en"><para lang="en"><filename moreinfo="none" lang="en">/etc/printcap</filename> - Under the Solaris 2.6 operating environment, printers are configured using the SunOS release 5.6 LP print service. See <olink targetpartnumber="802-5750"><citetitle lang="en">System Administration Guide</citetitle></olink> for additional information. <indexterm significance="normal" id="install-ix643" lang="en"><primary lang="en">printers</primary><secondary lang="en">configuration</secondary></indexterm> <indexterm significance="normal" id="install-ix644" lang="en"><primary lang="en">/etc/printcap database, replacement of</primary></indexterm> <indexterm significance="normal" id="install-ix645" lang="en"><primary lang="en">device configuration</primary></indexterm> <indexterm significance="normal" id="install-ix646" lang="en"><primary lang="en">databases</primary><secondary lang="en">printcap</secondary></indexterm> <indexterm significance="normal" id="install-ix647" lang="en"><primary lang="en">files</primary><secondary lang="en">converting</secondary></indexterm> <indexterm significance="normal" id="install-ix648" lang="en"><primary lang="en">converting</primary><secondary lang="en">files</secondary></indexterm> <indexterm significance="normal" id="install-ix649" lang="en"><primary lang="en">system configuration</primary><secondary lang="en">restoring data</secondary></indexterm> <indexterm significance="normal" id="install-ix650" lang="en"><primary lang="en">SunOS release 4.x</primary><secondary lang="en">restoring system data</secondary></indexterm> <indexterm significance="normal" id="install-ix651" lang="en"><primary lang="en">restoring</primary><secondary lang="en">SunOS release 4.x system data</secondary></indexterm> <indexterm significance="normal" id="install-ix652" lang="en"><primary lang="en">restoring</primary></indexterm> <indexterm significance="normal" id="install-ix653" lang="en"><primary lang="en">installation</primary><secondary lang="en">post-installation phase</secondary></indexterm> <indexterm significance="normal" id="install-ix654" lang="en"><primary lang="en">installation</primary></indexterm> <indexterm significance="normal" id="install-ix655" lang="en"><primary lang="en">data transfer</primary><secondary lang="en">restoring</secondary></indexterm></para></listitem></itemizedlist></sect3></sect2></sect1></chapter><chapter id="bcp-73695" lang="en"><gentext type="text">Chapter 4</gentext><gentext type="toc">4.  Using the Compatibility Packages</gentext><title lang="en">Using the Compatibility Packages</title><highlights lang="en"><para lang="en">The SunOS release 5.6 software is neither source nor binary compatible with the SunOS release 4.x software. This means that SunOS release 4.x programs and user applications based on those releases may not run correctly under the Solaris 2.6 operating environment. Compatibility packages make it possible for these programs to run on a Solaris 2.6 system.</para><para lang="en">This chapter briefly discusses two compatibility packages: the SunOS/BSD Source Compatibility Package and the Binary Compatibility Package. These packages make the transition easier by enabling you to use SunOS release 4.x commands and applications while your environment and applications migrate to the Solaris 2.6 operating environment.</para><itemizedlist lang="en" mark="bullet"><listitem lang="en"><para lang="en"><link linkend="bcp-10035" lang="en">"Why Port Applications?"</link></para></listitem><listitem lang="en"><para lang="en"><link linkend="bcp-67506" lang="en">"SunOS/BSD Source Compatibility Package "</link></para></listitem><listitem lang="en"><para lang="en"><link linkend="bcp-66174" lang="en">"Binary Compatibility Package "</link></para></listitem></itemizedlist><para lang="en">Some SunOS release 4.x commands are not available in the Solaris 2.6 operating environment. Others exist, but have changed. For information about changes to SunOS release 4.x commands in the Solaris 2.6 operating environment, see <link linkend="apxa-68645" lang="en">Appendix A, Commands Reference Table</link>. </para></highlights><indexterm significance="normal" id="bcp-ix656" lang="en"><primary lang="en">SunOS release 5.6</primary><secondary lang="en">compatibility packages</secondary></indexterm><indexterm significance="normal" id="bcp-ix657" lang="en"><primary lang="en">SunOS release 4.x</primary><secondary lang="en">work environment, using with Solaris 2.6</secondary></indexterm><indexterm significance="normal" id="bcp-ix658" lang="en"><primary lang="en">SunOS release 4.x</primary><secondary lang="en">compatibility with SunOS release 5.6</secondary></indexterm><indexterm significance="normal" id="bcp-ix659" lang="en"><primary lang="en">packages</primary><secondary lang="en">compatibility packages</secondary></indexterm><indexterm significance="normal" id="bcp-ix660" lang="en"><primary lang="en">compatibility packages</primary></indexterm><indexterm significance="normal" id="bcp-ix661" lang="en"><primary lang="en">compatibility</primary><secondary lang="en">SunOS release 4.x with release 5.6</secondary></indexterm><indexterm significance="normal" id="bcp-ix662" lang="en"><primary lang="en">user environment administration</primary><secondary lang="en">SunOS 4.x work environment used with Solaris 2.6</secondary></indexterm><indexterm significance="normal" id="bcp-ix663" lang="en"><primary lang="en">tools (developer)</primary><secondary lang="en">Binary Compatibility Package</secondary></indexterm><indexterm significance="normal" id="bcp-ix664" lang="en"><primary lang="en">SunOS/BSD Source Compatibility Package</primary></indexterm><indexterm significance="normal" id="bcp-ix665" lang="en"><primary lang="en">BSD Source Compatibility Package</primary></indexterm><indexterm significance="normal" id="bcp-ix666" lang="en"><primary lang="en">Binary Compatibility Package</primary></indexterm><indexterm significance="normal" id="bcp-ix667" lang="en"><primary lang="en">SunOS release 5.6</primary><secondary lang="en">command changes</secondary></indexterm><indexterm significance="normal" id="bcp-ix668" lang="en"><primary lang="en">SunOS release 4.x</primary><secondary lang="en">command changes</secondary></indexterm><indexterm significance="normal" id="bcp-ix669" lang="en"><primary lang="en">commands</primary><secondary lang="en">changes in</secondary></indexterm><sect1 id="bcp-10035" lang="en"><title lang="en">Why Port Applications?</title><para lang="en">Although the SunOS Binary Compatibility Package and the SunOS/BSD Source Compatibility Package allow you to use applications as they are, you should port applications as soon as possible. Long-term reliance on the compatibility packages is not advised for the following reasons:  <indexterm significance="normal" id="bcp-ix670" lang="en"><primary lang="en">porting applications, reasons for</primary></indexterm> <indexterm significance="normal" id="bcp-ix671" lang="en"><primary lang="en">applications</primary><secondary lang="en">porting, reasons for</secondary></indexterm></para><itemizedlist lang="en" mark="bullet"><listitem lang="en"><para lang="en">The application's performance is reduced.</para></listitem></itemizedlist><itemizedlist lang="en" mark="bullet"><listitem lang="en"><para lang="en">You will not be able to take advantage of the Solaris 2.6 operating environment's increased range of operations and portability.</para></listitem></itemizedlist><itemizedlist lang="en" mark="bullet"><listitem lang="en"><para lang="en">Compatibility packages are temporary aids to help sites through the transition.</para></listitem></itemizedlist></sect1><sect1 id="bcp-67506" lang="en"><title lang="en">SunOS/BSD Source Compatibility Package </title><para lang="en">The SunOS BSD/Source Compatibility Package is an optional package available with the Solaris 2.6 operating environment. The package contains a collection of SunOS release 4.x and BSD commands, library routines, and header files otherwise not available with the Solaris 2.6 operating environment. The Binary Compatibility Package must be installed in order to use the SunOS/BSD Source Compatibility Package. <indexterm significance="normal" id="bcp-ix672" lang="en"><primary lang="en">SunOS/BSD Source Compatibility Package</primary></indexterm> <indexterm significance="normal" id="bcp-ix673" lang="en"><primary lang="en">BSD Source Compatibility Package</primary></indexterm></para><para lang="en">The interfaces in the SunOS/BSD Source Compatibility Package are installed in the <filename moreinfo="none" lang="en">/usr/ucb</filename> directory, thereby avoiding conflicts with existing SunOS release 5.6 interfaces. These interfaces provide a familiar SunOS environment while your environment and applications are migrating to the SunOS release 5.6 software. To use these interfaces, you must either specify the full path name or modify your <systemitem class="environvar" moreinfo="none" lang="en">PATH</systemitem> environment variable. When modifying your <systemitem class="environvar" moreinfo="none" lang="en">PATH</systemitem> environment variable, note that <filename moreinfo="none" lang="en">/usr/ucb</filename> should precede <filename moreinfo="none" lang="en">/usr/bin</filename>.   <indexterm significance="normal" id="bcp-ix674" lang="en"><primary lang="en">/usr/ucb directory</primary></indexterm></para><para lang="en">For detailed information about the Source Compatibility Package, see <olink targetpartnumber="802-6320"><citetitle lang="en">Source Compatibility Guide</citetitle></olink></para></sect1><sect1 id="bcp-66174" lang="en"><title lang="en">Binary Compatibility Package </title><para lang="en">The Binary Compatibility Package is an optional package available with the Solaris 2.6 operating environment. The package allows existing SunOS release 4.x applications, both statically and dynamically linked, to run under the Solaris 2.6 operating environment without modification or recompilation. It handles most binary interface discrepancies between the two releases transparently. This results in a Solaris 2.6 operating environment where SunOS release 4.x applications can run properly.  <indexterm significance="normal" id="bcp-ix675" lang="en"><primary lang="en">Binary Compatibility Package</primary></indexterm> <indexterm significance="normal" id="bcp-ix676" lang="en"><primary lang="en">tools (developer)</primary><secondary lang="en">Binary Compatibility Package</secondary></indexterm></para><para lang="en">See <olink targetpartnumber="802-5756"><citetitle lang="en">Binary Compatibility Guide</citetitle></olink> for procedures about setting up your environment to access this package. This guide also details the limitations of the Binary Compatibility Package.</para><sect2 id="bcp-1" lang="en"><title lang="en">Using the Binary Compatibility Package to Run SunOS Release 4.x Applications</title><para lang="en">The Binary Compatibility Package allows most applications to run under the Solaris 2.6 operating environment, making them available for use before they are ported to SunOS release 5.6. With this package, well-behaved application binaries based on SunOS release 4.x system software will run under the SunOS release 5.6 software without modifications or recompilation. </para><para lang="en">The Binary Compatibility Package is intended for end-user environments, not for use as a development environment. All SunOS release 5.6 application development should be done under the base SunOS release 5.6 environment.  <indexterm significance="normal" id="bcp-ix677" lang="en"><primary lang="en">developers</primary><secondary lang="en">Binary Compatibility Package and</secondary></indexterm></para></sect2></sect1></chapter><chapter id="security-66845" lang="en"><gentext type="text">Chapter 5</gentext><gentext type="toc">5.  Security </gentext><title lang="en">Security </title><highlights lang="en"><para lang="en">Security for the Solaris 2.6 operating environment combines several features from SunOS release 4.x and AT&amp;T SVR4 with capabilities added specifically for the new environment. There are also changes in the packaging of some SunOS release 4.x security programs.</para><para lang="en">This chapter describes major differences between SunOS release 4.x and Solaris 2.6 operating environment security, and points out how those changes may affect system administration procedures. <olink targetpartnumber="802-5750"><citetitle lang="en">System Administration Guide</citetitle></olink> describes the administration and use of these features more fully.</para><itemizedlist lang="en" mark="bullet"><listitem lang="en"><para lang="en"><link linkend="security-30456" lang="en">"Solaris 2.6 Security Features"</link></para></listitem><listitem lang="en"><para lang="en"><link linkend="security-11762" lang="en">"Password Aging Changes"</link></para></listitem><listitem lang="en"><para lang="en"><link linkend="security-44792" lang="en">"Automated Security Enhancement Tool (ASET)"</link></para></listitem><listitem lang="en"><para lang="en"><link linkend="security-85154" lang="en">"Security Options"</link></para></listitem></itemizedlist></highlights><indexterm significance="normal" id="security-ix687" lang="en"><primary lang="en">security</primary><secondary lang="en">overview</secondary></indexterm><indexterm significance="normal" id="security-ix688" lang="en"><primary lang="en">system administrators</primary><secondary lang="en">security procedures</secondary></indexterm><indexterm significance="normal" id="security-ix689" lang="en"><primary lang="en">SunOS release 5.6</primary><secondary lang="en">security</secondary></indexterm><indexterm significance="normal" id="security-ix690" lang="en"><primary lang="en">security</primary><secondary lang="en">changes in</secondary></indexterm><indexterm significance="normal" id="security-ix691" lang="en"><primary lang="en">security</primary></indexterm><sect1 id="security-30456" lang="en"><title lang="en">Solaris 2.6 Security Features</title><para lang="en">Most of the security features from SunOS release 4.x systems are also available in the Solaris 2.6 operating environment. These include: <indexterm significance="normal" id="security-ix692" lang="en"><primary lang="en">security</primary><secondary lang="en">features</secondary></indexterm></para><itemizedlist lang="en" mark="bullet"><listitem lang="en"><para lang="en">Internet security</para></listitem><listitem lang="en"><para lang="en"><filename moreinfo="none" lang="en">.rhosts</filename> and<filename moreinfo="none" lang="en">.rhosts.equiv</filename> files <indexterm significance="normal" id="security-ix693" lang="en"><primary lang="en">.rhosts.equiv files</primary></indexterm> <indexterm significance="normal" id="security-ix694" lang="en"><primary lang="en">.rhosts files</primary></indexterm></para></listitem><listitem lang="en"><para lang="en">Secure RPC and NFS <indexterm significance="normal" id="security-ix695" lang="en"><primary lang="en">NFS</primary><secondary lang="en">secure</secondary></indexterm> <indexterm significance="normal" id="security-ix696" lang="en"><primary lang="en">RPC, secure</primary></indexterm></para></listitem></itemizedlist><para lang="en"><olink targetpartnumber="802-5544"><citetitle lang="en">NFS Administration Guide</citetitle></olink> documents secure NFS and the <filename moreinfo="none" lang="en">.rhosts</filename> files. <olink targetpartnumber="802-5753"><citetitle lang="en">TCP/IP and Data Communications Administration Guide</citetitle></olink> describes administering Internet security. <indexterm significance="normal" id="security-ix697" lang="en"><primary lang="en">Internet services</primary><secondary lang="en">security</secondary></indexterm></para><para lang="en">Security for local SunOS release 5.6 systems includes storing encrypted passwords in a separate file, controlling login defaults, and restricted shells. Equivalent NIS+ security, described in <olink targetpartnumber="802-5760"><citetitle lang="en">NIS+ Transition Guide</citetitle></olink> and <olink targetpartnumber="802-5544"><citetitle lang="en">NFS Administration Guide</citetitle></olink>, controls network-wide access to systems.</para><para lang="en">The subsections below summarize security features under local system control.</para><sect2 id="security-1" lang="en"><title lang="en"><command moreinfo="none" lang="en">/etc/passwd</command> and <command moreinfo="none" lang="en">/etc/shadow</command> Files</title><para lang="en">The SunOS release 5.6 <command moreinfo="none" lang="en">passwd</command> command stores encrypted versions of passwords in a separate file, <filename moreinfo="none" lang="en">/etc/shadow</filename>, and allows only root access to it. This prevents general access to the encrypted passwords that formerly appeared in the <filename moreinfo="none" lang="en">/etc/passwd</filename> file, which anyone could read.   <indexterm significance="normal" id="security-ix698" lang="en"><primary lang="en">passwords</primary><secondary lang="en">location of</secondary></indexterm> <indexterm significance="normal" id="security-ix699" lang="en"><primary lang="en">/etc/shadow file</primary></indexterm> <indexterm significance="normal" id="security-ix700" lang="en"><primary lang="en">/etc/passwd file</primary></indexterm> <indexterm significance="normal" id="security-ix701" lang="en"><primary lang="en">passwd file</primary></indexterm></para><para lang="en">The <filename moreinfo="none" lang="en">/etc/shadow</filename> file also includes entries that force password aging for individual user login accounts. The mechanism for changing entries to the <filename moreinfo="none" lang="en">passwd</filename> and <filename moreinfo="none" lang="en">shadow</filename> files is described in <olink targetpartnumber="802-5750"><citetitle lang="en">System Administration Guide</citetitle></olink>. <indexterm significance="normal" id="security-ix702" lang="en"><primary lang="en">shadow file</primary></indexterm> <indexterm significance="normal" id="security-ix703" lang="en"><primary lang="en">passwords</primary><secondary lang="en">aging</secondary></indexterm> <indexterm significance="normal" id="security-ix704" lang="en"><primary lang="en">aging passwords</primary></indexterm> <indexterm significance="normal" id="security-ix705" lang="en"><primary lang="en">passwords</primary><secondary lang="en">changing</secondary></indexterm> <indexterm significance="normal" id="security-ix706" lang="en"><primary lang="en">changing</primary><secondary lang="en">passwords</secondary></indexterm></para></sect2><sect2 id="security-2" lang="en"><title lang="en"><filename moreinfo="none" lang="en">/etc/default</filename> Files</title><para lang="en">Several files that control default system access are stored in the <filename moreinfo="none" lang="en">/etc/default </filename>directory. These files limit access to specific systems on a network. <link linkend="security-52083" lang="en">Table 5-1</link> summarizes the files in the <filename moreinfo="none" lang="en">/etc/default</filename> directory. <indexterm significance="normal" id="security-ix707" lang="en"><primary lang="en">logins, administering</primary></indexterm> <indexterm significance="normal" id="security-ix708" lang="en"><primary lang="en">/etc/default directory</primary></indexterm> <indexterm significance="normal" id="security-ix709" lang="en"><primary lang="en">defaults</primary><secondary lang="en">directory for</secondary></indexterm></para><table frame="topbot" id="security-52083" lang="en"><gentext type="text">Table 5-1 </gentext><title lang="en">Files in <filename moreinfo="none" lang="en">/etc/default</filename> Directory</title><tgroup cols="2" colsep="0" rowsep="0" lang="en"><colspec colnum="1" colname="column1" colwidth="3*"/><colspec colnum="2" colname="column2" colwidth="6*"/><tbody lang="en"><row lang="en"><entry colname="column1" align="left" valign="top" lang="en"><para lang="en"><filename moreinfo="none" lang="en">/etc/default/login</filename> <indexterm significance="normal" id="security-ix710" lang="en"><primary lang="en">root access, defaults</primary></indexterm> <indexterm significance="normal" id="security-ix711" lang="en"><primary lang="en">login file</primary></indexterm> <indexterm significance="normal" id="security-ix712" lang="en"><primary lang="en">/etc/default/login file</primary></indexterm></para></entry><entry colname="column2" align="left" valign="top" lang="en"><para lang="en">Controls system login policies, including root access. The default is to limit root access to the console.</para></entry></row><row lang="en"><entry colname="column1" align="left" valign="top" lang="en"><para lang="en"><filename moreinfo="none" lang="en">/etc/default/passwd</filename> <indexterm significance="normal" id="security-ix713" lang="en"><primary lang="en">passwords</primary><secondary lang="en">aging</secondary></indexterm> <indexterm significance="normal" id="security-ix714" lang="en"><primary lang="en">passwd file</primary></indexterm> <indexterm significance="normal" id="security-ix715" lang="en"><primary lang="en">/etc/default/passwd file</primary></indexterm> <indexterm significance="normal" id="security-ix716" lang="en"><primary lang="en">aging passwords</primary></indexterm></para></entry><entry colname="column2" align="left" valign="top" lang="en"><para lang="en">Controls default policy on password aging</para></entry></row><row lang="en"><entry colname="column1" align="left" valign="top" lang="en"><para lang="en"><filename moreinfo="none" lang="en">/etc/default/su</filename> <indexterm significance="normal" id="security-ix717" lang="en"><primary lang="en">su file</primary></indexterm> <indexterm significance="normal" id="security-ix718" lang="en"><primary lang="en">/etc/default/su file</primary></indexterm> <indexterm significance="normal" id="security-ix719" lang="en"><primary lang="en">defaults</primary><secondary lang="en">root access</secondary></indexterm></para></entry><entry colname="column2" align="left" valign="top" lang="en"><para lang="en">Controls which root (<command moreinfo="none" lang="en">su</command>) access to the system will be logged and where it will be displayed</para></entry></row></tbody></tgroup></table></sect2><sect2 id="security-3" lang="en"><title lang="en">Restricted Shells</title><para lang="en">System administrators can use restricted versions of the Korn shell (<command moreinfo="none" lang="en">rksh</command>) and Bourne shell (<command moreinfo="none" lang="en">rsh</command>) to limit the operations allowed for a particular user account.   <indexterm significance="normal" id="security-ix720" lang="en"><primary lang="en">rsh command</primary></indexterm> <indexterm significance="normal" id="security-ix721" lang="en"><primary lang="en">rksh command</primary></indexterm> <indexterm significance="normal" id="security-ix722" lang="en"><primary lang="en">login shells</primary><secondary lang="en">restricted</secondary></indexterm> <indexterm significance="normal" id="security-ix723" lang="en"><primary lang="en">Korn shell</primary><secondary lang="en">restricted</secondary></indexterm> <indexterm significance="normal" id="security-ix724" lang="en"><primary lang="en">Bourne shell</primary><secondary lang="en">restricted</secondary></indexterm> <indexterm significance="normal" id="security-ix725" lang="en"><primary lang="en">security</primary><secondary lang="en">restricted shells</secondary></indexterm> <indexterm significance="normal" id="security-ix726" lang="en"><primary lang="en">shells</primary><secondary lang="en">restricted</secondary></indexterm> <indexterm significance="normal" id="security-ix727" lang="en"><primary lang="en">/usr/bin/rksh command</primary></indexterm> <indexterm significance="normal" id="security-ix728" lang="en"><primary lang="en">/usr/bin/rsh command</primary></indexterm> <indexterm significance="normal" id="security-ix729" lang="en"><primary lang="en">/usr/lib/rsh command</primary></indexterm></para><para lang="en">Restricted shells do not allow the following operations:</para><itemizedlist lang="en" mark="bullet"><listitem lang="en"><para lang="en">Changing directories</para></listitem><listitem lang="en"><para lang="en">Setting the $PATH variable</para></listitem><listitem lang="en"><para lang="en">Specifying path or command names beginning with "/"</para></listitem><listitem lang="en"><para lang="en">Redirecting output </para></listitem></itemizedlist><para lang="en">See the <command moreinfo="none" lang="en">ksh</command> and <command moreinfo="none" lang="en">sh</command> man pages for a description of these shells.</para><para lang="en">Note that the restricted shell and the remote shell have the same command name (<command moreinfo="none" lang="en">rsh</command>) with different path names:</para><itemizedlist lang="en" mark="bullet"><listitem lang="en"><para lang="en"><filename moreinfo="none" lang="en">/usr/lib/rsh</filename> is the restricted shell</para></listitem><listitem lang="en"><para lang="en"><filename moreinfo="none" lang="en">/usr/bin/rsh</filename> is the remote shell</para></listitem></itemizedlist></sect2></sect1><sect1 id="security-11762" lang="en"><title lang="en">Password Aging Changes</title><para lang="en">The SunOS release 5.6 system features password aging. This feature assigns a limited lifetime to each user password to maintain password secrecy. As a password reaches the end of its life, the password owner is notified and prompted to select a new one. <indexterm significance="normal" id="security-ix730" lang="en"><primary lang="en">passwords</primary><secondary lang="en">aging</secondary></indexterm> <indexterm significance="normal" id="security-ix731" lang="en"><primary lang="en">aging passwords</primary></indexterm></para><para lang="en">You can implement password aging using one of the following methods:</para><itemizedlist lang="en" mark="bullet"><listitem lang="en"><para lang="en"><emphasis lang="en">Method 1</emphasis> - Use Admintool to manage users if you are running an X-window environment. For information about this method, see <olink targetpartnumber="802-1987"><citetitle lang="en">Solaris Advanced User's Guide</citetitle></olink>.</para></listitem></itemizedlist><itemizedlist lang="en" mark="bullet"><listitem lang="en"><para lang="en"><emphasis lang="en">Method 2</emphasis> - Use new <command moreinfo="none" lang="en">passwd</command> or <command moreinfo="none" lang="en">nispasswd</command> command options (depending on which name service stores the account). <indexterm significance="normal" id="security-ix732" lang="en"><primary lang="en">passwd command</primary></indexterm> <indexterm significance="normal" id="security-ix733" lang="en"><primary lang="en">nispasswd command</primary></indexterm></para></listitem></itemizedlist><para lang="en">A system administrator can also set up password aging.</para><para lang="en">You can change a user password in one of two ways: <indexterm significance="normal" id="security-ix734" lang="en"><primary lang="en">passwords</primary><secondary lang="en">changing</secondary></indexterm> <indexterm significance="normal" id="security-ix735" lang="en"><primary lang="en">changing</primary><secondary lang="en">passwords</secondary></indexterm></para><itemizedlist lang="en" mark="bullet"><listitem lang="en"><para lang="en"><emphasis lang="en">Method 1</emphasis>- Use either <command moreinfo="none" lang="en">passwd</command> or <command moreinfo="none" lang="en">nispasswd</command>, depending on which name service is used to store your account.</para></listitem></itemizedlist><itemizedlist lang="en" mark="bullet"><listitem lang="en"><para lang="en"><emphasis lang="en">Method 2</emphasis> - Use Admintool to manage users if you are running an X-window environment. For information about this method, see <olink targetpartnumber="802-1987"><citetitle lang="en">Solaris Advanced User's Guide</citetitle></olink>. <indexterm significance="normal" id="security-ix736" lang="en"><primary lang="en">User Account Manager (Administration Tool)</primary><secondary lang="en">password changes and</secondary></indexterm></para></listitem></itemizedlist><para lang="en">For more information on <command moreinfo="none" lang="en">passwd</command> and <command moreinfo="none" lang="en">nispasswd</command>, see the command tables in <link linkend="apxd-63073" lang="en">Appendix D, System Files Reference Table</link>.</para></sect1><sect1 id="security-4" lang="en"><title lang="en">Access Control Lists (ACLs)</title><para lang="en">Access control lists (ACLs), supported in both UFS and NFS, provide greater flexibility in managing file permissions than traditional UNIX file protection. The traditional UNIX file protection provides read, write, and execute permissions for three user classes: owner, group, and other.</para><para lang="en">Using ACLs allows you to define file permissions for the owner, owner's group, others, specific users and groups, and default permissions for each of those categories. For example, you can set up an ACL that defines read permission to a group of users and write permission to only one user in the group. You could not do this with standard UNIX file permissions.</para><para lang="en">The <command moreinfo="none" lang="en">setfacl</command>(1) command sets, adds, modifies, and deletes ACL entries, and the <command moreinfo="none" lang="en">getfacl</command>(1) command displays ACL entries.</para><para lang="en">See <olink targetpartnumber="802-5750"><citetitle lang="en">System Administration Guide</citetitle></olink> for more information about using ACLs.</para></sect1><sect1 id="security-44792" lang="en"><title lang="en">Automated Security Enhancement Tool (ASET)</title><para lang="en">The Automated Security Enhancement Tool (ASET), available as a separate option with SunOS release 4.x systems, is included with the Solaris 2.6 operating environment. ASET enables you to specify an overall system security level (low, medium, or high) and automatically maintain systems at those levels. This tool can be set up to run on a server and all its clients or on individual clients. <indexterm significance="normal" id="security-ix737" lang="en"><primary lang="en">security</primary><secondary lang="en">level of</secondary></indexterm> <indexterm significance="normal" id="security-ix738" lang="en"><primary lang="en">security</primary><secondary lang="en">ASET</secondary></indexterm> <indexterm significance="normal" id="security-ix739" lang="en"><primary lang="en">automated security enhancement tool (ASET)</primary></indexterm> <indexterm significance="normal" id="security-ix740" lang="en"><primary lang="en">ASET (automated security enhancement tool)</primary></indexterm></para><para lang="en">ASET performs these tasks:</para><itemizedlist lang="en" mark="bullet"><listitem lang="en"><para lang="en">Verifies system file permissions</para></listitem><listitem lang="en"><para lang="en">Verifies system file contents</para></listitem><listitem lang="en"><para lang="en">Checks integrity of group file entries</para></listitem><listitem lang="en"><para lang="en">Checks system configuration files</para></listitem><listitem lang="en"><para lang="en">Checks environment files (<filename moreinfo="none" lang="en">.profile</filename>,<filename moreinfo="none" lang="en">.login</filename>, and <filename moreinfo="none" lang="en">.cshrc</filename>)</para></listitem><listitem lang="en"><para lang="en">Verifies EEPROM settings to restrict console login access</para></listitem><listitem lang="en"><para lang="en">Allows establishment of a firewall or gateway system</para></listitem></itemizedlist><para lang="en"><olink targetpartnumber="802-5750"><citetitle lang="en">System Administration Guide</citetitle></olink> describes ASET setup and monitoring in detail. <indexterm significance="normal" id="security-ix741" lang="en"><primary lang="en">ASET (automated security enhancement tool)</primary></indexterm> <indexterm significance="normal" id="security-ix742" lang="en"><primary lang="en">automated security enhancement tool (ASET)</primary></indexterm> <indexterm significance="normal" id="security-ix743" lang="en"><primary lang="en">security</primary><secondary lang="en">ASET</secondary></indexterm> <indexterm significance="normal" id="security-ix744" lang="en"><primary lang="en">security</primary><secondary lang="en">level of</secondary></indexterm></para></sect1><sect1 id="security-85154" lang="en"><title lang="en">Security Options</title><para lang="en">Currently available bundled security options are Kerberos security, the SunSHIELD(TM) package, and Pluggable Authentication Module (PAM). <indexterm significance="normal" id="security-ix745" lang="en"><primary lang="en">security</primary><secondary lang="en">unbundled</secondary></indexterm></para><sect2 id="security-21112" lang="en"><title lang="en">Kerberos 4.0 Security</title><para lang="en">The Solaris 2.6 operating environment includes support for Kerberos V4 authentication for secure RPC. (Kerberos source code and administrative utilities are available from MIT.) Included in this release are: <indexterm significance="normal" id="security-ix746" lang="en"><primary lang="en">security</primary><secondary lang="en">Kerberos</secondary></indexterm> <indexterm significance="normal" id="security-ix747" lang="en"><primary lang="en">RPC, secure</primary></indexterm> <indexterm significance="normal" id="security-ix748" lang="en"><primary lang="en">Kerberos security</primary></indexterm></para><itemizedlist lang="en" mark="bullet"><listitem lang="en"><para lang="en">Client applications library that can use Kerberos</para></listitem><listitem lang="en"><para lang="en">Kerberos option to Secure RPC</para></listitem><listitem lang="en"><para lang="en">Sun's NFS(TM) distributed computing file system application with Kerberos </para></listitem><listitem lang="en"><para lang="en">Commands to administer user tickets on the client</para></listitem></itemizedlist><para lang="en"><olink targetpartnumber="802-5750"><citetitle lang="en">System Administration Guide</citetitle></olink> describes the client-side utilities. included in the release. <olink targetpartnumber="802-5544"><citetitle lang="en">NFS Administration Guide</citetitle></olink> describes the use of Kerberos with the NFS application.</para></sect2><sect2 id="security-5" lang="en"><title lang="en">SunSHIELD Package </title><para lang="en">The Solaris 2.6 release includes the SunSHIELD Basic Security Module (BSM) package. This product provides the security features defined as C2 in the Trusted Computer System Evaluation Criteria (TCSEC). The features provided by the BSM are a security auditing subsystem and a device allocation mechanism. C2 discretionary access control and identification and authentication features are provided in the operating system. <indexterm significance="normal" id="security-ix749" lang="en"><primary lang="en">security</primary><secondary lang="en">SunShield</secondary></indexterm> <indexterm significance="normal" id="security-ix750" lang="en"><primary lang="en">SunShield Basic Security Module (BSM)</primary></indexterm></para><para lang="en">The administration of BSM is included in <olink targetpartnumber="802-5757"><citetitle lang="en">SunSHIELD Basic Security Module Guide</citetitle></olink>.</para></sect2><sect2 id="security-6" lang="en"><title lang="en">PAM</title><para lang="en">The Pluggable Authentication Module (PAM) framework enables new authentication technologies to be "plugged-in" without changing commands, such as <command moreinfo="none" lang="en">login</command>, <command moreinfo="none" lang="en">ftp</command>, <command moreinfo="none" lang="en">telnet</command> and so on. The framework enables a system administrator to choose any combination of services to provide authentication. Mechanisms for account, session, and password management can also be "plugged-in" using this framework. <indexterm significance="normal" id="security-ix751" lang="en"><primary lang="en">security</primary><secondary lang="en">PAM</secondary></indexterm> <indexterm significance="normal" id="security-ix752" lang="en"><primary lang="en">Pluggable Authentication Module (PAM)</primary></indexterm></para><para lang="en"><olink targetpartnumber="802-5750"><citetitle lang="en">System Administration Guide</citetitle></olink> describes the administration of PAM.</para></sect2></sect1></chapter><chapter id="usradm-47325" lang="en"><gentext type="text">Chapter 6</gentext><gentext type="toc">6.  User Environment Administration</gentext><title lang="en">User Environment Administration</title><highlights lang="en"><para lang="en">This chapter describes differences in tasks you may perform to set up the local user environment after installing the Solaris 2.6 software.</para><itemizedlist lang="en" mark="bullet"><listitem lang="en"><para lang="en"><link linkend="usradm-33646" lang="en">"Selecting a Default Shell"</link></para></listitem><listitem lang="en"><para lang="en"><link linkend="usradm-27237" lang="en">"Customizing User Environments"</link></para></listitem><listitem lang="en"><para lang="en"><link linkend="usradm-11666" lang="en">"Window Systems "</link></para></listitem><listitem lang="en"><para lang="en"><link linkend="usradm-37524" lang="en">"User and Group Administration "</link></para></listitem><listitem lang="en"><para lang="en"><link linkend="usradm-89327" lang="en">" Using Mail"</link></para></listitem><listitem lang="en"><para lang="en"><link linkend="usradm-35601" lang="en">"Using Document Tools"</link></para></listitem><listitem lang="en"><para lang="en"><link linkend="usradm-36442" lang="en">"Man Page Organization Differences"</link></para></listitem></itemizedlist></highlights><indexterm significance="normal" id="usradm-ix753" lang="en"><primary lang="en">user environment administration</primary></indexterm><sect1 id="usradm-33646" lang="en"><title lang="en">Selecting a Default Shell</title><para lang="en">The login shell is the command interpreter that runs when you are logged in. The Solaris 2.6 operating environment offers three shells: <indexterm significance="normal" id="usradm-ix754" lang="en"><primary lang="en">Korn shell</primary></indexterm> <indexterm significance="normal" id="usradm-ix755" lang="en"><primary lang="en">defaults</primary><secondary lang="en">shell</secondary></indexterm> <indexterm significance="normal" id="usradm-ix756" lang="en"><primary lang="en">csh command</primary></indexterm> <indexterm significance="normal" id="usradm-ix757" lang="en"><primary lang="en">changing</primary><secondary lang="en">shells</secondary></indexterm> <indexterm significance="normal" id="usradm-ix758" lang="en"><primary lang="en">ksh command</primary></indexterm> <indexterm significance="normal" id="usradm-ix759" lang="en"><primary lang="en">C shell</primary></indexterm> <indexterm significance="normal" id="usradm-ix760" lang="en"><primary lang="en">Bourne shell</primary></indexterm> <indexterm significance="normal" id="usradm-ix761" lang="en"><primary lang="en">login shells</primary><secondary lang="en">selecting default</secondary></indexterm> <indexterm significance="normal" id="usradm-ix762" lang="en"><primary lang="en">sh command</primary></indexterm> <indexterm significance="normal" id="usradm-ix763" lang="en"><primary lang="en">shells</primary><secondary lang="en">selecting default</secondary></indexterm> <indexterm significance="normal" id="usradm-ix764" lang="en"><primary lang="en">user environment administration</primary><secondary lang="en">default shell selection</secondary></indexterm> <indexterm significance="normal" id="usradm-ix765" lang="en"><primary lang="en">/usr/bin/csh command</primary></indexterm> <indexterm significance="normal" id="usradm-ix766" lang="en"><primary lang="en">/usr/bin/ksh command</primary></indexterm> <indexterm significance="normal" id="usradm-ix767" lang="en"><primary lang="en">/usr/bin/sh command</primary></indexterm></para><itemizedlist lang="en" mark="bullet"><listitem lang="en"><para lang="en">Bourne shell, the default shell (<filename moreinfo="none" lang="en">/bin/sh</filename>)</para></listitem><listitem lang="en"><para lang="en">C shell (<filename moreinfo="none" lang="en">/bin/csh</filename>)</para></listitem><listitem lang="en"><para lang="en">Korn shell (<filename moreinfo="none" lang="en">/bin/ksh</filename>) </para></listitem></itemizedlist><para lang="en">If you use the shell often, you may prefer to use the C shell or the Korn shell because of their interactive capabilities. <link linkend="usradm-75869" lang="en">Failed Cross Reference Format</link> lists the features of all three shells.</para><table frame="topbot" id="usradm-tbl-1" lang="en"><gentext type="text">Table 6-1 </gentext><title lang="en">Basic Features of the Bourne, C, and Korn Shells <indexterm significance="normal" id="usradm-ix768" lang="en"><primary lang="en">shells</primary><secondary lang="en">features</secondary></indexterm> <indexterm significance="normal" id="usradm-ix769" lang="en"><primary lang="en">login shells</primary><secondary lang="en">features</secondary></indexterm></title><tgroup cols="4" colsep="0" rowsep="0" lang="en"><colspec colnum="1" colname="column1" colwidth="4*"/><colspec colnum="2" colname="column2" colwidth="2*"/><colspec colnum="3" colname="column3" colwidth="2*"/><colspec colnum="4" colname="column4" colwidth="2*"/><thead lang="en"><row rowsep="1" lang="en"><entry colname="column1" align="left" valign="bottom" lang="en"><para id="usradm-75869" lang="en">Feature</para></entry><entry colname="column2" align="left" valign="bottom" lang="en"><para lang="en">Bourne</para></entry><entry colname="column3" align="left" valign="bottom" lang="en"><para lang="en">C</para></entry><entry colname="column4" align="left" valign="bottom" lang="en"><para lang="en">Korn</para></entry></row></thead><tbody lang="en"><row lang="en"><entry colname="column1" align="left" valign="top" lang="en"><para lang="en">Syntax compatible with <command moreinfo="none" lang="en">sh</command></para></entry><entry colname="column2" align="left" valign="top" lang="en"><para lang="en">Yes</para></entry><entry colname="column3" align="left" valign="top" lang="en"><para lang="en">No</para></entry><entry colname="column4" align="left" valign="top" lang="en"><para lang="en">Yes</para></entry></row><row lang="en"><entry colname="column1" align="left" valign="top" lang="en"><para lang="en">Job control</para></entry><entry colname="column2" align="left" valign="top" lang="en"><para lang="en">Yes</para></entry><entry colname="column3" align="left" valign="top" lang="en"><para lang="en">Yes</para></entry><entry colname="column4" align="left" valign="top" lang="en"><para lang="en">Yes</para></entry></row><row lang="en"><entry colname="column1" align="left" valign="top" lang="en"><para lang="en">History list</para></entry><entry colname="column2" align="left" valign="top" lang="en"><para lang="en">No</para></entry><entry colname="column3" align="left" valign="top" lang="en"><para lang="en">Yes</para></entry><entry colname="column4" align="left" valign="top" lang="en"><para lang="en">Yes</para></entry></row><row lang="en"><entry colname="column1" align="left" valign="top" lang="en"><para lang="en">Command-line editing</para></entry><entry colname="column2" align="left" valign="top" lang="en"><para lang="en">No</para></entry><entry colname="column3" align="left" valign="top" lang="en"><para lang="en">Yes</para></entry><entry colname="column4" align="left" valign="top" lang="en"><para lang="en">Yes</para></entry></row><row lang="en"><entry colname="column1" align="left" valign="top" lang="en"><para lang="en">Aliases</para></entry><entry colname="column2" align="left" valign="top" lang="en"><para lang="en">No</para></entry><entry colname="column3" align="left" valign="top" lang="en"><para lang="en">Yes</para></entry><entry colname="column4" align="left" valign="top" lang="en"><para lang="en">Yes</para></entry></row><row lang="en"><entry colname="column1" align="left" valign="top" lang="en"><para lang="en">Single-character abbreviation for login directory</para></entry><entry colname="column2" align="left" valign="top" lang="en"><para lang="en">No</para></entry><entry colname="column3" align="left" valign="top" lang="en"><para lang="en">Yes</para></entry><entry colname="column4" align="left" valign="top" lang="en"><para lang="en">Yes</para></entry></row><row lang="en"><entry colname="column1" align="left" valign="top" lang="en"><para lang="en">Protect files from overwriting (noclobber)</para></entry><entry colname="column2" align="left" valign="top" lang="en"><para lang="en">No</para></entry><entry colname="column3" align="left" valign="top" lang="en"><para lang="en">Yes</para></entry><entry colname="column4" align="left" valign="top" lang="en"><para lang="en">Yes</para></entry></row><row lang="en"><entry colname="column1" align="left" valign="top" lang="en"><para lang="en">Ignore Control-D (<command moreinfo="none" lang="en">ignoreeof</command>)</para></entry><entry colname="column2" align="left" valign="top" lang="en"><para lang="en">No</para></entry><entry colname="column3" align="left" valign="top" lang="en"><para lang="en">Yes</para></entry><entry colname="column4" align="left" valign="top" lang="en"><para lang="en">Yes</para></entry></row><row lang="en"><entry colname="column1" align="left" valign="top" lang="en"><para lang="en">Enhanced <command moreinfo="none" lang="en">cd</command></para></entry><entry colname="column2" align="left" valign="top" lang="en"><para lang="en">No</para></entry><entry colname="column3" align="left" valign="top" lang="en"><para lang="en">Yes</para></entry><entry colname="column4" align="left" valign="top" lang="en"><para lang="en">Yes</para></entry></row><row lang="en"><entry colname="column1" align="left" valign="top" lang="en"><para lang="en">Initialization file separate
from <filename moreinfo="none" lang="en">.profile</filename></para></entry><entry colname="column2" align="left" valign="top" lang="en"><para lang="en">No</para></entry><entry colname="column3" align="left" valign="top" lang="en"><para lang="en">Yes</para></entry><entry colname="column4" align="left" valign="top" lang="en"><para lang="en">Yes</para></entry></row><row lang="en"><entry colname="column1" align="left" valign="top" lang="en"><para lang="en">Logout file</para></entry><entry colname="column2" align="left" valign="top" lang="en"><para lang="en">No</para></entry><entry colname="column3" align="left" valign="top" lang="en"><para lang="en">Yes</para></entry><entry colname="column4" align="left" valign="top" lang="en"><para lang="en">No</para></entry></row></tbody></tgroup></table><para lang="en">To change from one shell to another, use one of the following methods:</para><itemizedlist lang="en" mark="bullet"><listitem lang="en"><para lang="en"><emphasis lang="en">Method 1</emphasis> - Edit the information in the last field of the line in the <filename moreinfo="none" lang="en">/etc/passwd</filename> file that begins with your login name. If this entry is blank or <command moreinfo="none" lang="en">sh</command>, the login shell is the Bourne shell. If the entry is <command moreinfo="none" lang="en">csh</command>, the login shell is the C shell. If the entry is <command moreinfo="none" lang="en">ksh</command>, the login shell is the Korn shell.</para></listitem></itemizedlist><itemizedlist lang="en" mark="bullet"><listitem lang="en"><para lang="en"><emphasis lang="en">Method 2 </emphasis>- In a windows environment, use Admintool. See <olink targetpartnumber="802-1987"><citetitle lang="en">Solaris Advanced User's Guide</citetitle></olink> for information.</para></listitem></itemizedlist><para lang="en">After you change to a new shell, log out and log in again to activate the shell. <indexterm significance="normal" id="usradm-ix770" lang="en"><primary lang="en">/usr/bin/sh command</primary></indexterm> <indexterm significance="normal" id="usradm-ix771" lang="en"><primary lang="en">/usr/bin/ksh command</primary></indexterm> <indexterm significance="normal" id="usradm-ix772" lang="en"><primary lang="en">/usr/bin/csh command</primary></indexterm> <indexterm significance="normal" id="usradm-ix773" lang="en"><primary lang="en">user environment administration</primary><secondary lang="en">default shell selection</secondary></indexterm> <indexterm significance="normal" id="usradm-ix774" lang="en"><primary lang="en">shells</primary><secondary lang="en">selecting default</secondary></indexterm> <indexterm significance="normal" id="usradm-ix775" lang="en"><primary lang="en">sh command</primary></indexterm> <indexterm significance="normal" id="usradm-ix776" lang="en"><primary lang="en">login shells</primary><secondary lang="en">selecting default</secondary></indexterm> <indexterm significance="normal" id="usradm-ix777" lang="en"><primary lang="en">ksh command</primary></indexterm> <indexterm significance="normal" id="usradm-ix778" lang="en"><primary lang="en">defaults</primary><secondary lang="en">shell</secondary></indexterm> <indexterm significance="normal" id="usradm-ix779" lang="en"><primary lang="en">csh command</primary></indexterm> <indexterm significance="normal" id="usradm-ix780" lang="en"><primary lang="en">changing</primary><secondary lang="en">shells</secondary></indexterm> <indexterm significance="normal" id="usradm-ix781" lang="en"><primary lang="en">Korn shell</primary></indexterm> <indexterm significance="normal" id="usradm-ix782" lang="en"><primary lang="en">C shell</primary></indexterm> <indexterm significance="normal" id="usradm-ix783" lang="en"><primary lang="en">Bourne shell</primary></indexterm></para></sect1><sect1 id="usradm-27237" lang="en"><title lang="en">Customizing User Environments</title><para lang="en">This section describes how to determine which initialization files you can edit to customize the local environment based on your choice of login shell, and where to find them in the SunOS release 5.6 file systems. Set up your environment by editing the variables in the initialization files. The default shell determines which files you need to edit: <filename moreinfo="none" lang="en">.profile</filename>, <filename moreinfo="none" lang="en">.login</filename>, or <filename moreinfo="none" lang="en">.cshrc</filename>. <link linkend="usradm-78972" lang="en">Table 6-2</link> shows the initialization files for the Bourne, C, and Korn shells. <indexterm significance="normal" id="usradm-ix784" lang="en"><primary lang="en">customizing</primary><secondary lang="en">user environments</secondary></indexterm> <indexterm significance="normal" id="usradm-ix785" lang="en"><primary lang="en">csh command</primary></indexterm> <indexterm significance="normal" id="usradm-ix786" lang="en"><primary lang="en">Korn shell</primary></indexterm> <indexterm significance="normal" id="usradm-ix787" lang="en"><primary lang="en">C shell</primary></indexterm> <indexterm significance="normal" id="usradm-ix788" lang="en"><primary lang="en">Bourne shell</primary></indexterm> <indexterm significance="normal" id="usradm-ix789" lang="en"><primary lang="en">environment initialization files</primary><secondary lang="en">customizing user environments</secondary></indexterm> <indexterm significance="normal" id="usradm-ix790" lang="en"><primary lang="en">files</primary><secondary lang="en">environment initialization</secondary></indexterm> <indexterm significance="normal" id="usradm-ix791" lang="en"><primary lang="en">ksh command</primary></indexterm> <indexterm significance="normal" id="usradm-ix792" lang="en"><primary lang="en">login shells</primary><secondary lang="en">initialization files</secondary></indexterm> <indexterm significance="normal" id="usradm-ix793" lang="en"><primary lang="en">sh command</primary></indexterm> <indexterm significance="normal" id="usradm-ix794" lang="en"><primary lang="en">shells</primary><secondary lang="en">initialization files</secondary></indexterm> <indexterm significance="normal" id="usradm-ix795" lang="en"><primary lang="en">/usr/bin/csh command</primary></indexterm> <indexterm significance="normal" id="usradm-ix796" lang="en"><primary lang="en">/usr/bin/ksh command</primary></indexterm> <indexterm significance="normal" id="usradm-ix797" lang="en"><primary lang="en">/usr/bin/sh command</primary></indexterm> <indexterm significance="normal" id="usradm-ix798" lang="en"><primary lang="en">.profile file</primary></indexterm> <indexterm significance="normal" id="usradm-ix799" lang="en"><primary lang="en">.login file</primary></indexterm> <indexterm significance="normal" id="usradm-ix800" lang="en"><primary lang="en">.cshrc file</primary></indexterm></para><table frame="topbot" id="usradm-78972" lang="en"><gentext type="text">Table 6-2 </gentext><title lang="en">Initialization Files for Bourne, C, and Korn Shells</title><tgroup cols="3" colsep="0" rowsep="0" lang="en"><colspec colnum="1" colname="column1" colwidth="2*"/><colspec colnum="2" colname="column2" colwidth="3*"/><colspec colnum="3" colname="column3" colwidth="5*"/><thead lang="en"><row rowsep="1" lang="en"><entry colname="column1" align="left" valign="bottom" lang="en"><para lang="en">Shell</para></entry><entry colname="column2" align="left" valign="bottom" lang="en"><para lang="en">Initialization File</para></entry><entry colname="column3" align="left" valign="bottom" lang="en"><para lang="en">Purpose</para></entry></row></thead><tbody lang="en"><row lang="en"><entry colname="column1" align="left" valign="top" lang="en"><para lang="en">Bourne <indexterm significance="normal" id="usradm-ix801" lang="en"><primary lang="en">/etc/profile file</primary></indexterm></para></entry><entry colname="column2" align="left" valign="top" lang="en"><para lang="en"><filename moreinfo="none" lang="en">/etc/profile</filename></para></entry><entry colname="column3" align="left" valign="top" lang="en"><para lang="en">Defines system profile at login</para></entry></row><row lang="en"><entry colname="column1" align="left" valign="top" lang="en"><para lang="en"/></entry><entry colname="column2" align="left" valign="top" lang="en"><para lang="en"><filename moreinfo="none" lang="en">$HOME/.profile</filename> <indexterm significance="normal" id="usradm-ix802" lang="en"><primary lang="en">$HOME/.profile file</primary></indexterm></para></entry><entry colname="column3" align="left" valign="top" lang="en"><para lang="en">Defines user's profile at login</para></entry></row><row lang="en"><entry colname="column1" align="left" valign="top" lang="en"><para lang="en">C <indexterm significance="normal" id="usradm-ix803" lang="en"><primary lang="en">$HOME/.login file</primary></indexterm> <indexterm significance="normal" id="usradm-ix804" lang="en"><primary lang="en">/etc/.login file</primary></indexterm></para></entry><entry colname="column2" align="left" valign="top" lang="en"><para lang="en"><filename moreinfo="none" lang="en">/etc/.login</filename></para></entry><entry colname="column3" align="left" valign="top" lang="en"><para lang="en">Defines system environment at login</para></entry></row><row lang="en"><entry colname="column1" align="left" valign="top" lang="en"><para lang="en"/></entry><entry colname="column2" align="left" valign="top" lang="en"><para lang="en"><filename moreinfo="none" lang="en">$HOME/.cshrc</filename> <indexterm significance="normal" id="usradm-ix805" lang="en"><primary lang="en">/local.cshrc file</primary></indexterm> <indexterm significance="normal" id="usradm-ix806" lang="en"><primary lang="en">$HOME/.cshrc file</primary></indexterm></para></entry><entry colname="column3" align="left" valign="top" lang="en"><para lang="en">Defines user's environment at login</para></entry></row><row lang="en"><entry colname="column1" align="left" valign="top" lang="en"><para lang="en"/></entry><entry colname="column2" align="left" valign="top" lang="en"><para lang="en"><filename moreinfo="none" lang="en">$HOME/.login</filename></para></entry><entry colname="column3" align="left" valign="top" lang="en"><para lang="en">Defines user's profile at login</para></entry></row><row lang="en"><entry colname="column1" align="left" valign="top" lang="en"><para lang="en">Korn</para></entry><entry colname="column2" align="left" valign="top" lang="en"><para lang="en"><filename moreinfo="none" lang="en">/etc/profile</filename></para></entry><entry colname="column3" align="left" valign="top" lang="en"><para lang="en">Defines system profile at login</para></entry></row><row lang="en"><entry colname="column1" align="left" valign="top" lang="en"><para lang="en"/></entry><entry colname="column2" align="left" valign="top" lang="en"><para lang="en"><filename moreinfo="none" lang="en">$HOME/.profile</filename></para></entry><entry colname="column3" align="left" valign="top" lang="en"><para lang="en">Defines user's profile at login</para></entry></row><row lang="en"><entry colname="column1" align="left" valign="top" lang="en"><para lang="en"/></entry><entry colname="column2" align="left" valign="top" lang="en"><para lang="en"><filename moreinfo="none" lang="en">$HOME/</filename><replaceable lang="en">ksh_env</replaceable> <indexterm significance="normal" id="usradm-ix807" lang="en"><primary lang="en">$HOME/ file</primary></indexterm></para></entry><entry colname="column3" align="left" valign="top" lang="en"><para lang="en">Defines user's environment at login in the file
specified by the <replaceable lang="en">ksh_env</replaceable> variable</para></entry></row></tbody></tgroup></table><para lang="en">In this release, the shell initialization-file templates have moved to the <filename moreinfo="none" lang="en">/etc/skel</filename> directory from <filename moreinfo="none" lang="en">/usr/lib</filename>, where they were in the SunOS release 4.x software. The template file locations are shown in <link linkend="usradm-53751" lang="en">Failed Cross Reference Format</link>. Copy the template file (or files) for the appropriate default shell to your home directory before you modify it. <indexterm significance="normal" id="usradm-ix808" lang="en"><primary lang="en">template files, shell initialization</primary></indexterm> <indexterm significance="normal" id="usradm-ix809" lang="en"><primary lang="en">/skel directory</primary></indexterm> <indexterm significance="normal" id="usradm-ix810" lang="en"><primary lang="en">/etc/skel directory</primary></indexterm></para><table frame="topbot" id="usradm-tbl-2" lang="en"><gentext type="text">Table 6-3 </gentext><title lang="en">Default Home Directory Startup Files <indexterm significance="normal" id="usradm-ix811" lang="en"><primary lang="en">shells</primary><secondary lang="en">default home directory startup files</secondary></indexterm> <indexterm significance="normal" id="usradm-ix812" lang="en"><primary lang="en">login shells</primary><secondary lang="en">default home directory startup files</secondary></indexterm></title><tgroup cols="2" colsep="0" rowsep="0" lang="en"><colspec colnum="1" colname="column1" colwidth="5*"/><colspec colnum="2" colname="column2" colwidth="5*"/><thead lang="en"><row rowsep="1" lang="en"><entry colname="column1" align="left" valign="bottom" lang="en"><para id="usradm-53751" lang="en">Shell</para></entry><entry colname="column2" align="left" valign="bottom" lang="en"><para lang="en">File</para></entry></row></thead><tbody lang="en"><row lang="en"><entry colname="column1" align="left" valign="top" lang="en"><para lang="en"><filename moreinfo="none" lang="en">Bourne</filename> <indexterm significance="normal" id="usradm-ix813" lang="en"><primary lang="en">/local.profile file</primary></indexterm></para></entry><entry colname="column2" align="left" valign="top" lang="en"><para lang="en"><filename moreinfo="none" lang="en">/etc/skel/local.profile</filename></para></entry></row><row lang="en"><entry colname="column1" align="left" valign="top" lang="en"><para lang="en"><filename moreinfo="none" lang="en">C</filename> <indexterm significance="normal" id="usradm-ix814" lang="en"><primary lang="en">/local.login file</primary></indexterm></para></entry><entry colname="column2" align="left" valign="top" lang="en"><para lang="en"><filename moreinfo="none" lang="en">/etc/skel/local.login</filename></para><para lang="en"><filename moreinfo="none" lang="en">/etc/skel/local.cshrc</filename></para></entry></row><row lang="en"><entry colname="column1" align="left" valign="top" lang="en"><para lang="en"><filename moreinfo="none" lang="en">Korn</filename></para></entry><entry colname="column2" align="left" valign="top" lang="en"><para lang="en"><filename moreinfo="none" lang="en">/etc/skel/local.profile</filename></para></entry></row></tbody></tgroup></table><para lang="en">For information on setting up initialization files, see <olink targetpartnumber="802-5750"><citetitle lang="en">System Administration Guide</citetitle></olink>.</para><sect2 id="usradm-3" lang="en"><title lang="en">Using the SunOS 4.x Work Environment With the Solaris Software</title><para lang="en">The SunOS release 5.6 software can use the old SunOS release 4.x system files and initialization files such as <filename moreinfo="none" lang="en">.login</filename>, <filename moreinfo="none" lang="en">.cshrc</filename>, and<filename moreinfo="none" lang="en">.profile</filename> to re-create the look and feel of the SunOS release 4.x work environment. Many of these SunOS release 4.x files can be converted, or used as they are, and executed easily. <indexterm significance="normal" id="usradm-ix815" lang="en"><primary lang="en">user environment administration</primary><secondary lang="en">SunOS 4.x work environment used with Solaris 2.6</secondary></indexterm> <indexterm significance="normal" id="usradm-ix816" lang="en"><primary lang="en">SunOS release 5.6</primary><secondary lang="en">compatibility packages</secondary></indexterm> <indexterm significance="normal" id="usradm-ix817" lang="en"><primary lang="en">SunOS release 4.x</primary><secondary lang="en">work environment, using with Solaris 2.6</secondary></indexterm> <indexterm significance="normal" id="usradm-ix818" lang="en"><primary lang="en">SunOS release 4.x</primary><secondary lang="en">compatibility with SunOS release 5.6</secondary></indexterm> <indexterm significance="normal" id="usradm-ix819" lang="en"><primary lang="en">compatibility</primary><secondary lang="en">SunOS release 4.x with release 5.6</secondary></indexterm></para><para lang="en">The installation process in <link linkend="install-50948" lang="en">Chapter 3, Converting a SunOS 4.x System to the  Solaris 2.6 Environment</link>, explains how to re-create the SunOS release 4.x environment within the Solaris 2.6 operating environment. <indexterm significance="normal" id="usradm-ix820" lang="en"><primary lang="en">files</primary><secondary lang="en">environment initialization</secondary></indexterm> <indexterm significance="normal" id="usradm-ix821" lang="en"><primary lang="en">environment initialization files</primary><secondary lang="en">customizing user environments</secondary></indexterm> <indexterm significance="normal" id="usradm-ix822" lang="en"><primary lang="en">customizing</primary><secondary lang="en">user environments</secondary></indexterm></para></sect2></sect1><sect1 id="usradm-11666" lang="en"><title lang="en">Window Systems </title><para lang="en">The Common Desktop Environment (CDE) is the default Solaris 2.6 windowing environment and offers a simple and intuitive interface. See <link linkend="cde-41896" lang="en">Chapter 14, Solaris Common Desktop Environment</link>, for more information about CDE.</para><para lang="en">The OpenWindows 3.1 software can also be used as your preferred desktop with the Solaris 2.6 environment.  If you have been using the OpenWindows 2.0 environment, you will notice that the OpenWindows 3.1 icons have changed and some applications are not compatible with the OpenWindows 3.1 platform. <indexterm significance="normal" id="usradm-ix823" lang="en"><primary lang="en">window system, default</primary></indexterm> <indexterm significance="normal" id="usradm-ix824" lang="en"><primary lang="en">user environment administration</primary><secondary lang="en">window system</secondary></indexterm> <indexterm significance="normal" id="usradm-ix825" lang="en"><primary lang="en">defaults</primary><secondary lang="en">window system</secondary></indexterm> <indexterm significance="normal" id="usradm-ix826" lang="en"><primary lang="en">OpenWindows</primary><secondary lang="en">version differences</secondary></indexterm></para><para lang="en">The OpenWindows Developer's Guide File Chooser (<command moreinfo="none" lang="en">gfm</command>) regular-expression file-pattern matching code (<command moreinfo="none" lang="en">filter_pat</command>) is slightly different from the regular-expression file-pattern matching code in the XView(TM) File Chooser object. This could result in the same regular expression matching slightly different sets of files in the two different choosers. The XView File Chooser uses <filename moreinfo="none" lang="en">/usr/include/reexp.h</filename> in the SunOS release 5.6 software and its usage is correct. <indexterm significance="normal" id="usradm-ix827" lang="en"><primary lang="en">XView File Chooser, OpenWindows Developer's Guide File Chooser vs.</primary></indexterm> <indexterm significance="normal" id="usradm-ix828" lang="en"><primary lang="en">OpenWindows</primary><secondary lang="en">Developer's Guide File Chooser vs. XView File Chooser</secondary></indexterm></para><para lang="en">SunView(TM) software is not part of the Solaris 2.6 operating environment. SunView applications are incompatible with the OpenWindows environment and must be converted. <indexterm significance="normal" id="usradm-ix829" lang="en"><primary lang="en">SunView</primary></indexterm></para><para lang="en">See <citetitle lang="en">OpenWindows Version 3.1 User's Guide</citetitle> for information about:</para><itemizedlist lang="en" mark="bullet"><listitem lang="en"><para lang="en">Features of the OpenWindows 3.1 environment</para></listitem></itemizedlist><itemizedlist lang="en" mark="bullet"><listitem lang="en"><para lang="en">The applications that are not compatible between OpenWindows Version 2.0 and 3.1 platforms</para></listitem></itemizedlist><itemizedlist lang="en" mark="bullet"><listitem lang="en"><para lang="en">Guidelines for modifying incompatible applications</para></listitem></itemizedlist></sect1><sect1 id="usradm-37524" lang="en"><title lang="en">User and Group Administration </title><para lang="en">This section describes your options for performing user and group administration. <indexterm significance="normal" id="usradm-ix830" lang="en"><primary lang="en">user environment administration</primary><secondary lang="en">user and group administration</secondary></indexterm> <indexterm significance="normal" id="usradm-ix831" lang="en"><primary lang="en">groups, administering</primary></indexterm></para><sect2 id="usradm-4" lang="en"><title lang="en">User and Group Administration Choices</title><para lang="en">You can add, modify, and remove users and groups through the command-line interface using <command moreinfo="none" lang="en">useradd</command>, <command moreinfo="none" lang="en">userdel</command>, and <command moreinfo="none" lang="en">usermod</command>. Although these commands are not as robust as Admintool, they do enable you to do most of the tasks supported by Admintool from the command line without running the OpenWindows or CDE software. <indexterm significance="normal" id="usradm-ix832" lang="en"><primary lang="en">admintool</primary><secondary lang="en">for user and group administration</secondary></indexterm> <indexterm significance="normal" id="usradm-ix833" lang="en"><primary lang="en">user and group administration</primary></indexterm> <indexterm significance="normal" id="usradm-ix834" lang="en"><primary lang="en">administration of users and groups</primary></indexterm></para><para lang="en">The <command moreinfo="none" lang="en">useradd</command>, <command moreinfo="none" lang="en">userdel</command>, and <command moreinfo="none" lang="en">usermod</command> commands are similar to editing the <filename moreinfo="none" lang="en">/etc</filename> files in that they also affect only the local system. These commands cannot be used to change any information in the network naming service. However, you can use <command moreinfo="none" lang="en">useradd</command> to verify the uniqueness of the user name and user ID and the existence of group names in the network naming service. <indexterm significance="normal" id="usradm-ix835" lang="en"><primary lang="en">usermod command</primary></indexterm> <indexterm significance="normal" id="usradm-ix836" lang="en"><primary lang="en">userdel command</primary></indexterm> <indexterm significance="normal" id="usradm-ix837" lang="en"><primary lang="en">useradd command</primary></indexterm> <indexterm significance="normal" id="usradm-ix838" lang="en"><primary lang="en">command-line interface</primary><secondary lang="en">for user and group administration</secondary></indexterm></para></sect2><sect2 id="usradm-5" lang="en"><title lang="en"> Adding User Accounts</title><para lang="en">This section describes changes to the general procedure for adding user accounts.</para><para lang="en">The general procedure for adding new users to a SunOS release 4.x system was:</para><orderedlist continuation="restarts" lang="en"><listitem lang="en"><para lang="en">Edit the <filename moreinfo="none" lang="en">/etc/passwd</filename> file and add an entry for the new user.</para></listitem><listitem lang="en"><para lang="en">Create a home directory and set the permissions for the new user.</para></listitem><listitem lang="en"><para lang="en">Set up skeletal files for the new user (<filename moreinfo="none" lang="en">.cshrc</filename>, <filename moreinfo="none" lang="en">.login</filename>, <filename moreinfo="none" lang="en">.profile</filename>, and so on).</para></listitem><listitem lang="en"><para lang="en">Add the new user to the naming service (NIS).</para></listitem></orderedlist><para lang="en">In the Solaris 2.6 operating environment, there are three ways to add (and maintain) user accounts:</para><itemizedlist lang="en" mark="bullet"><listitem lang="en"><para lang="en">Use Admintool - This is the most straightforward method to use if the system is running the OpenWindows environment.</para></listitem></itemizedlist><itemizedlist lang="en" mark="bullet"><listitem lang="en"><para lang="en">Use command-line interfaces (<command moreinfo="none" lang="en">useradd</command>, <command moreinfo="none" lang="en">usermod</command>, and <command moreinfo="none" lang="en">userdel</command>) - Use this method if you don't want to use Admintool. <indexterm significance="normal" id="usradm-ix839" lang="en"><primary lang="en">usermod command</primary></indexterm> <indexterm significance="normal" id="usradm-ix840" lang="en"><primary lang="en">userdel command</primary></indexterm> <indexterm significance="normal" id="usradm-ix841" lang="en"><primary lang="en">useradd command</primary></indexterm></para></listitem></itemizedlist><itemizedlist lang="en" mark="bullet"><listitem lang="en"><para lang="en">Manually edit files (similar to the SunOS release 4.x procedure with a few exceptions)</para></listitem></itemizedlist><note lang="en" role="note"><gentext type="text">Note - </gentext><para lang="en">Because the SunOS release 5.6 software uses a shadow password file, simply editing the <filename moreinfo="none" lang="en">/etc/passwd</filename> file is no longer sufficient. You should not attempt this method unless you have ample experience with this type of administration.</para></note><para lang="en"><olink targetpartnumber="802-5750"><citetitle lang="en">System Administration Guide</citetitle></olink> describes in detail the policy decisions you should consider before you begin to set up accounts. It also explains security considerations for controlling user access to systems and networks. <indexterm significance="normal" id="usradm-ix842" lang="en"><primary lang="en">user access, controlling</primary></indexterm> <indexterm significance="normal" id="usradm-ix843" lang="en"><primary lang="en">groups</primary><secondary lang="en">administering</secondary></indexterm></para></sect2></sect1><sect1 id="usradm-89327" lang="en"><title lang="en"> Using Mail</title><para lang="en">The SunOS release 4.x mail programs are different in the Solaris 2.6 operating environment; however, procedures for setting up mail are still the same. The SunOS release 4.x version of <command moreinfo="none" lang="en">mail</command> is included in the SunOS/BSD Source Compatibility Package. Its user interface is different from the Solaris 2.6 operating environment's version of <command moreinfo="none" lang="en">mail</command>. Additionally, some useful mail facilities are included for compatibility. <indexterm significance="normal" id="usradm-ix844" lang="en"><primary lang="en">/usr/ucb/mail command</primary></indexterm> <indexterm significance="normal" id="usradm-ix845" lang="en"><primary lang="en">/usr/bin/mail command</primary></indexterm> <indexterm significance="normal" id="usradm-ix846" lang="en"><primary lang="en">user environment administration</primary><secondary lang="en">mail usage</secondary></indexterm> <indexterm significance="normal" id="usradm-ix847" lang="en"><primary lang="en">mail command</primary></indexterm> <indexterm significance="normal" id="usradm-ix848" lang="en"><primary lang="en">mail</primary><secondary lang="en">using</secondary></indexterm></para><para lang="en">In the Solaris 2.6 operating environment, there are three programs for sending and retrieving your mail. All three are backward compatible and can be used to read your SunOS release 4.x mail. They are:</para><itemizedlist lang="en" mark="bullet"><listitem lang="en"><para lang="en"><command moreinfo="none" lang="en">mailtool</command>, the OpenWindows interface for the mail program. New Solaris 2.6 <command moreinfo="none" lang="en">mailtool</command> options enable you to attach files to your messages, include third-party messages with your mail, deliver mail to multiple recipients, and send audio messages. <indexterm significance="normal" id="usradm-ix849" lang="en"><primary lang="en">OpenWindows</primary><secondary lang="en">mail interface</secondary></indexterm> <indexterm significance="normal" id="usradm-ix850" lang="en"><primary lang="en">mailtool interface</primary></indexterm></para><para lang="en">See <citetitle lang="en">OpenWindows Version 3.1 User's Guide</citetitle> for a complete discussion of <command moreinfo="none" lang="en">mailtool</command>.</para></listitem></itemizedlist><itemizedlist lang="en" mark="bullet"><listitem lang="en"><para lang="en"><command moreinfo="none" lang="en">mailx</command>, which is installed under <filename moreinfo="none" lang="en">/usr/bin/mailx</filename><command moreinfo="none" lang="en">.</command> This is the Solaris 2.6 mail reading program. It is an enhanced version of SunOS release 4.x <filename moreinfo="none" lang="en">/usr/ucb/mail</filename>. In the Solaris 2.6 operating environment, <filename moreinfo="none" lang="en">/usr/ucb/mail</filename> is a link to <filename moreinfo="none" lang="en">/usr/bin/mailx</filename>. <command moreinfo="none" lang="en">mailx</command> offers message headers that enable you to preview the sender and subject of each message before you read them. You can also switch between reading, sending, and editing mail messages. <indexterm significance="normal" id="usradm-ix851" lang="en"><primary lang="en">/usr/bin/mailx command</primary></indexterm> <indexterm significance="normal" id="usradm-ix852" lang="en"><primary lang="en">mailx command</primary></indexterm></para><para lang="en">See the <command moreinfo="none" lang="en">mailx</command>(1) man page for more information on <command moreinfo="none" lang="en">mailx</command>.</para></listitem></itemizedlist><itemizedlist lang="en" mark="bullet"><listitem lang="en"><para lang="en"><command moreinfo="none" lang="en">mail</command> refers to the mail program under <filename moreinfo="none" lang="en">/usr/bin/mail</filename>. The Solaris 2.6 interface is similar to the SunOS release 4.x <filename moreinfo="none" lang="en">/usr/bin/mail</filename> version (see the <command moreinfo="none" lang="en">bin-mail</command>(1) manual page in <citetitle lang="en">SunOS 4.x Reference Manual</citetitle>).</para><para lang="en">See the <command moreinfo="none" lang="en">mail</command>(1) man page for more information on <command moreinfo="none" lang="en">mail</command>.</para></listitem></itemizedlist><para lang="en">For a complete discussion of all Solaris 2.6 mail programs, see <olink targetpartnumber="802-5827"><citetitle lang="en">Mail Administration Guide</citetitle></olink>. <indexterm significance="normal" id="usradm-ix853" lang="en"><primary lang="en">mail</primary><secondary lang="en">using</secondary></indexterm> <indexterm significance="normal" id="usradm-ix854" lang="en"><primary lang="en">mail command</primary></indexterm> <indexterm significance="normal" id="usradm-ix855" lang="en"><primary lang="en">user environment administration</primary><secondary lang="en">mail usage</secondary></indexterm> <indexterm significance="normal" id="usradm-ix856" lang="en"><primary lang="en">/usr/bin/mail command</primary></indexterm> <indexterm significance="normal" id="usradm-ix857" lang="en"><primary lang="en">/usr/ucb/mail command</primary></indexterm></para></sect1><sect1 id="usradm-35601" lang="en"><title lang="en">Using Document Tools</title><para lang="en">This section outlines the main differences in using document tools between SunOS release 4.x and the Solaris 2.6 operating environment. <indexterm significance="normal" id="usradm-ix858" lang="en"><primary lang="en">user environment administration</primary><secondary lang="en">document tool usage</secondary></indexterm> <indexterm significance="normal" id="usradm-ix859" lang="en"><primary lang="en">document tools, using</primary></indexterm></para><itemizedlist lang="en" mark="bullet"><listitem lang="en"><para lang="en">The Solaris 2.6 operating environment provides a set of PostScript filters and device-independent fonts. However, most SunOS release 4.x TranScript filters have SunOS release 5.6 equivalents while a few less common ones do not. In SunOS release 5.6 systems, there is no T<subscript lang="en">E</subscript>X filter, no <command moreinfo="none" lang="en">pscat</command> (C/A/T) filter, and no raster image filter. <indexterm significance="normal" id="usradm-ix860" lang="en"><primary lang="en">PostScript filters</primary></indexterm> <indexterm significance="normal" id="usradm-ix861" lang="en"><primary lang="en">fonts</primary><secondary lang="en">device-independent</secondary></indexterm> <indexterm significance="normal" id="usradm-ix862" lang="en"><primary lang="en">TEX filters</primary></indexterm> <indexterm significance="normal" id="usradm-ix863" lang="en"><primary lang="en">raster image filters</primary></indexterm> <indexterm significance="normal" id="usradm-ix864" lang="en"><primary lang="en">pscat (C/A/T) filters</primary></indexterm></para></listitem><listitem lang="en"><para lang="en">The Solaris 2.6 operating environment provides device-independent <command moreinfo="none" lang="en">troff</command>, with the following features: SunOS release 4.x <command moreinfo="none" lang="en">troff</command> input files work with Solaris 2.6 <command moreinfo="none" lang="en">troff</command>; <command moreinfo="none" lang="en">troff</command> default output goes to the standard output instead of the printer. Therefore, you must specify a printer when you send <command moreinfo="none" lang="en">troff</command> output to the printer. <indexterm significance="normal" id="usradm-ix865" lang="en"><primary lang="en">troff command</primary><secondary lang="en">changes in</secondary></indexterm> <indexterm significance="normal" id="usradm-ix866" lang="en"><primary lang="en">document tools, using</primary></indexterm> <indexterm significance="normal" id="usradm-ix867" lang="en"><primary lang="en">user environment administration</primary><secondary lang="en">document tool usage</secondary></indexterm></para></listitem></itemizedlist></sect1><sect1 id="usradm-36442" lang="en"><title lang="en">Man Page Organization Differences</title><para lang="en">Man page organization has changed to be compatible with SVR4 organization. As a result, some sections have been renamed. For example, <command moreinfo="none" lang="en">man</command>(8) is now <command moreinfo="none" lang="en">man</command>(1M). <indexterm significance="normal" id="usradm-ix868" lang="en"><primary lang="en">/usr/share/man directory</primary></indexterm> <indexterm significance="normal" id="usradm-ix869" lang="en"><primary lang="en">user environment administration</primary><secondary lang="en">man page directory organization changes</secondary></indexterm> <indexterm significance="normal" id="usradm-ix870" lang="en"><primary lang="en">man pages</primary><secondary lang="en">directory organization changes</secondary></indexterm> <indexterm significance="normal" id="usradm-ix871" lang="en"><primary lang="en">/man directory</primary></indexterm></para><para lang="en"><link linkend="usradm-29541" lang="en">Table 6-4</link> shows SunOS release 5.6 man page directories.  </para><table frame="topbot" id="usradm-29541" lang="en"><gentext type="text">Table 6-4 </gentext><title lang="en">SunOS release 5.6  man Page Directories </title><tgroup cols="3" colsep="0" rowsep="0" lang="en"><colspec colnum="1" colname="column1" colwidth="1*"/><colspec colnum="2" colname="column2" colwidth="3*"/><colspec colnum="3" colname="column3" colwidth="5*"/><thead lang="en"><row rowsep="1" lang="en"><entry colname="column1" align="left" valign="bottom" lang="en"><para lang="en"><filename moreinfo="none" lang="en">/man</filename> Directory</para></entry><entry colname="column2" align="left" valign="bottom" lang="en"><para lang="en">Contents</para></entry><entry colname="column3" align="left" valign="bottom" lang="en"><para lang="en">Suffixes</para></entry></row></thead><tbody lang="en"><row lang="en"><entry colname="column1" align="left" valign="top" lang="en"><para lang="en"><filename moreinfo="none" lang="en">man1</filename></para></entry><entry colname="column2" align="left" valign="top" lang="en"><para lang="en">User commands</para></entry><entry colname="column3" align="left" valign="top" lang="en"><para lang="en">1B - SunOS/BSD compatibility commands</para></entry></row><row lang="en"><entry colname="column1" align="left" valign="top" lang="en"><para lang="en"/></entry><entry colname="column2" align="left" valign="top" lang="en"><para lang="en"/></entry><entry colname="column3" align="left" valign="top" lang="en"><para lang="en">1C - Communication commands</para></entry></row><row lang="en"><entry colname="column1" align="left" valign="top" lang="en"><para lang="en"/></entry><entry colname="column2" align="left" valign="top" lang="en"><para lang="en"/></entry><entry colname="column3" align="left" valign="top" lang="en"><para lang="en">1F - FMLI commands</para></entry></row><row lang="en"><entry colname="column1" align="left" valign="top" lang="en"><para lang="en"/></entry><entry colname="column2" align="left" valign="top" lang="en"><para lang="en"/></entry><entry colname="column3" align="left" valign="top" lang="en"><para lang="en">1S - SunOS
commands</para></entry></row><row lang="en"><entry colname="column1" align="left" valign="top" lang="en"><para lang="en"><filename moreinfo="none" lang="en">man1M</filename></para></entry><entry colname="column2" align="left" valign="top" lang="en"><para lang="en">System administration commands</para></entry><entry colname="column3" align="left" valign="top" lang="en"><para lang="en"/></entry></row><row lang="en"><entry colname="column1" align="left" valign="top" lang="en"><para lang="en"><filename moreinfo="none" lang="en">man2</filename></para></entry><entry colname="column2" align="left" valign="top" lang="en"><para lang="en">System calls</para></entry><entry colname="column3" align="left" valign="top" lang="en"><para lang="en"/></entry></row><row lang="en"><entry colname="column1" align="left" valign="top" lang="en"><para lang="en"><filename moreinfo="none" lang="en">man3</filename></para></entry><entry colname="column2" align="left" valign="top" lang="en"><para lang="en">Library functions</para></entry><entry colname="column3" align="left" valign="top" lang="en"><para lang="en">3B - SunOS/BSD compatibility libraries</para></entry></row><row lang="en"><entry colname="column1" align="left" valign="top" lang="en"><para lang="en"/></entry><entry colname="column2" align="left" valign="top" lang="en"><para lang="en"/></entry><entry colname="column3" align="left" valign="top" lang="en"><para lang="en">3C - C library functions</para></entry></row><row lang="en"><entry colname="column1" align="left" valign="top" lang="en"><para lang="en"/></entry><entry colname="column2" align="left" valign="top" lang="en"><para lang="en"/></entry><entry colname="column3" align="left" valign="top" lang="en"><para lang="en">3E - ELF library functions</para></entry></row><row lang="en"><entry colname="column1" align="left" valign="top" lang="en"><para lang="en"/></entry><entry colname="column2" align="left" valign="top" lang="en"><para lang="en"/></entry><entry colname="column3" align="left" valign="top" lang="en"><para lang="en">3G - C library
functions</para></entry></row><row lang="en"><entry colname="column1" align="left" valign="top" lang="en"><para lang="en"/></entry><entry colname="column2" align="left" valign="top" lang="en"><para lang="en"/></entry><entry colname="column3" align="left" valign="top" lang="en"><para lang="en">3I - Wide Character functions</para></entry></row><row lang="en"><entry colname="column1" align="left" valign="top" lang="en"><para lang="en"/></entry><entry colname="column2" align="left" valign="top" lang="en"><para lang="en"/></entry><entry colname="column3" align="left" valign="top" lang="en"><para lang="en">3K - Kernel VM library functions</para></entry></row><row lang="en"><entry colname="column1" align="left" valign="top" lang="en"><para lang="en"/></entry><entry colname="column2" align="left" valign="top" lang="en"><para lang="en"/></entry><entry colname="column3" align="left" valign="top" lang="en"><para lang="en">3M - Math library</para></entry></row><row lang="en"><entry colname="column1" align="left" valign="top" lang="en"><para lang="en"/></entry><entry colname="column2" align="left" valign="top" lang="en"><para lang="en"/></entry><entry colname="column3" align="left" valign="top" lang="en"><para lang="en">3N - Network functions</para></entry></row><row lang="en"><entry colname="column1" align="left" valign="top" lang="en"><para lang="en"/></entry><entry colname="column2" align="left" valign="top" lang="en"><para lang="en"/></entry><entry colname="column3" align="left" valign="top" lang="en"><para lang="en">3R - RPC services library</para></entry></row><row lang="en"><entry colname="column1" align="left" valign="top" lang="en"><para lang="en"/></entry><entry colname="column2" align="left" valign="top" lang="en"><para lang="en"/></entry><entry colname="column3" align="left" valign="top" lang="en"><para lang="en">3S - Standard I/O functions</para></entry></row><row lang="en"><entry colname="column1" align="left" valign="top" lang="en"><para lang="en"/></entry><entry colname="column2" align="left" valign="top" lang="en"><para lang="en"/></entry><entry colname="column3" align="left" valign="top" lang="en"><para lang="en">3T - Threads library functions</para></entry></row><row lang="en"><entry colname="column1" align="left" valign="top" lang="en"><para lang="en"/></entry><entry colname="column2" align="left" valign="top" lang="en"><para lang="en"/></entry><entry colname="column3" align="left" valign="top" lang="en"><para lang="en">3X - Miscellaneous library functions</para></entry></row><row lang="en"><entry colname="column1" align="left" valign="top" lang="en"><para lang="en"><filename moreinfo="none" lang="en">man4</filename></para></entry><entry colname="column2" align="left" valign="top" lang="en"><para lang="en">File formats</para></entry><entry colname="column3" align="left" valign="top" lang="en"><para lang="en">4B - SunOS/BSD compatibility file formats</para></entry></row><row lang="en"><entry colname="column1" align="left" valign="top" lang="en"><para lang="en"><filename moreinfo="none" lang="en">man5</filename></para></entry><entry colname="column2" align="left" valign="top" lang="en"><para lang="en">Headers, tables, and macros</para></entry><entry colname="column3" align="left" valign="top" lang="en"><para lang="en"/></entry></row><row lang="en"><entry colname="column1" align="left" valign="top" lang="en"><para lang="en"><filename moreinfo="none" lang="en">man7</filename></para></entry><entry colname="column2" align="left" valign="top" lang="en"><para lang="en">Special files</para></entry><entry colname="column3" align="left" valign="top" lang="en"><para lang="en"/></entry></row><row lang="en"><entry colname="column1" align="left" valign="top" lang="en"><para lang="en"><filename moreinfo="none" lang="en">man9</filename></para></entry><entry colname="column2" align="left" valign="top" lang="en"><para lang="en">DDI/DKI</para></entry><entry colname="column3" align="left" valign="top" lang="en"><para lang="en"/></entry></row><row lang="en"><entry colname="column1" align="left" valign="top" lang="en"><para lang="en"><filename moreinfo="none" lang="en">man9E</filename></para></entry><entry colname="column2" align="left" valign="top" lang="en"><para lang="en">DDI/DKI entry points</para></entry><entry colname="column3" align="left" valign="top" lang="en"><para lang="en"/></entry></row><row lang="en"><entry colname="column1" align="left" valign="top" lang="en"><para lang="en"><filename moreinfo="none" lang="en">man9F</filename></para></entry><entry colname="column2" align="left" valign="top" lang="en"><para lang="en">DDI/DKI kernel functions</para></entry><entry colname="column3" align="left" valign="top" lang="en"><para lang="en"/></entry></row><row lang="en"><entry colname="column1" align="left" valign="top" lang="en"><para lang="en"><filename moreinfo="none" lang="en">man9S</filename></para></entry><entry colname="column2" align="left" valign="top" lang="en"><para lang="en">DDI/DKI data structures</para></entry><entry colname="column3" align="left" valign="top" lang="en"><para lang="en"><indexterm significance="normal" id="usradm-ix872" lang="en"><primary lang="en">man pages</primary><secondary lang="en">directory organization changes</secondary></indexterm> <indexterm significance="normal" id="usradm-ix873" lang="en"><primary lang="en">user environment administration</primary><secondary lang="en">man page directory organization changes</secondary></indexterm></para></entry></row></tbody></tgroup></table><sect2 id="usradm-6" lang="en"><title lang="en">Customizing the <command moreinfo="none" lang="en">man</command> Command Search Path</title><para lang="en">Unlike in the SunOS release 4.x software, which searched the individual <filename moreinfo="none" lang="en">man</filename> directories according to a predetermined order, the SunOS release 5.6 software lets you determine the search path. The <command moreinfo="none" lang="en">man</command> command uses the path set in the <filename moreinfo="none" lang="en">man</filename> page configuration file, <filename moreinfo="none" lang="en">man.cf</filename>. <indexterm significance="normal" id="usradm-ix874" lang="en"><primary lang="en">user environment administration</primary><secondary lang="en">man command search path customization</secondary></indexterm> <indexterm significance="normal" id="usradm-ix875" lang="en"><primary lang="en">man command</primary></indexterm> <indexterm significance="normal" id="usradm-ix876" lang="en"><primary lang="en">customizing</primary><secondary lang="en">man command search path</secondary></indexterm> <indexterm significance="normal" id="usradm-ix877" lang="en"><primary lang="en">man.cf files</primary></indexterm></para><para lang="en">Each component of the <systemitem class="environvar" moreinfo="none" lang="en">MANPATH</systemitem> environment variable can contain a different <filename moreinfo="none" lang="en">man.cf</filename> file. You can modify <filename moreinfo="none" lang="en">man.cf</filename> to change the order of the search; for example, to search <filename moreinfo="none" lang="en">3b</filename> before <filename moreinfo="none" lang="en">3c</filename>. The configuration file for the <filename moreinfo="none" lang="en">/usr/share/man</filename> directory follows. <indexterm significance="normal" id="usradm-ix878" lang="en"><primary lang="en">MANPATH environment variable</primary></indexterm></para><informaltable frame="all" lang="en"><tgroup cols="1" colsep="0" rowsep="0" lang="en"><colspec colnum="1" colname="column1" colwidth="9*"/><tbody lang="en"><row lang="en"><entry colname="column1" lang="en"><programlisting format="linespecific" lang="en" role="fragment">#
# Default configuration file for the on-line manual pages.
#

MANSECTS=1,1m,1c,1f,1s,1b,2,3,3c,3s,3x,3i,3t,3r,3n,3m,3k,3g, \
3e,3b,9f,9s,9e,9,4,5,7,4b,6,l,n</programlisting></entry></row></tbody></tgroup></informaltable><para lang="en">The arguments to MANSECTS are derived from the <filename moreinfo="none" lang="en">man</filename> subdirectories available. The number of subdirectories has increased dramatically in this release because each subsection has its own directory. This new structure improves the performance of the <command moreinfo="none" lang="en">man</command> command and gives you finer control over the search path. The next two figures compare the man directories for the two releases. <indexterm significance="normal" id="usradm-ix879" lang="en"><primary lang="en">MANSECTS environment variable</primary></indexterm></para><informaltable frame="all" lang="en"><tgroup cols="1" colsep="0" rowsep="0" lang="en"><colspec colnum="1" colname="column1" colwidth="9*"/><tbody lang="en"><row lang="en"><entry colname="column1" lang="en"><programlisting format="linespecific" lang="en" role="fragment">sunos4.1% ls /usr/share/man
man1/   man2/   man3/   man4/   man5/   man6/   man7/   man8/  
manl/   mann/</programlisting></entry></row></tbody></tgroup></informaltable><informaltable frame="all" lang="en"><tgroup cols="1" colsep="0" rowsep="0" lang="en"><colspec colnum="1" colname="column1" colwidth="9*"/><tbody lang="en"><row lang="en"><entry colname="column1" lang="en"><programlisting format="linespecific" lang="en" role="fragment">sunos5.6% ls /usr/share/man
man.cf  man1f/  man3/   man3g/  man3n/  man3x/  man6/   man9f/
man1/   man1m/  man3b/  man3i/  man3r/  man4/   man7/   man9s/
man1b/  man1s/  man3c/  man3k/  man3s/  man4b/  man9/   manl/
man1c/  man2/   man3e/  man3m/  man3t/  man5/   man9e/  mann/<indexterm significance="normal" id="usradm-ix880" lang="en"><primary lang="en">/man directory</primary></indexterm><indexterm significance="normal" id="usradm-ix881" lang="en"><primary lang="en">/usr/share/man directory</primary></indexterm><indexterm significance="normal" id="usradm-ix882" lang="en"><primary lang="en">customizing</primary><secondary lang="en">man command search path</secondary></indexterm><indexterm significance="normal" id="usradm-ix883" lang="en"><primary lang="en">man command</primary></indexterm><indexterm significance="normal" id="usradm-ix884" lang="en"><primary lang="en">user environment administration</primary><secondary lang="en">man command search path customization</secondary></indexterm></programlisting></entry></row></tbody></tgroup></informaltable></sect2><sect2 id="usradm-7" lang="en"><title lang="en"><filename moreinfo="none" lang="en">whatis</filename> and <filename moreinfo="none" lang="en">windex</filename> Databases</title><para lang="en">The SunOS release 4.x man page table of contents and keyword database is called <filename moreinfo="none" lang="en">whatis</filename>. In the SunOS release 5.6 software, this information is in the <filename moreinfo="none" lang="en">windex</filename> file. In both releases, the database is created by the <command moreinfo="none" lang="en">catman</command> command, and is used by the <command moreinfo="none" lang="en">man</command>, <command moreinfo="none" lang="en">apropos</command>, and <command moreinfo="none" lang="en">whatis</command> commands. <indexterm significance="normal" id="usradm-ix885" lang="en"><primary lang="en">whatis database</primary></indexterm> <indexterm significance="normal" id="usradm-ix886" lang="en"><primary lang="en">man pages</primary><secondary lang="en">windex database</secondary></indexterm> <indexterm significance="normal" id="usradm-ix887" lang="en"><primary lang="en">man pages</primary><secondary lang="en">whatis database</secondary></indexterm> <indexterm significance="normal" id="usradm-ix888" lang="en"><primary lang="en">databases</primary><secondary lang="en">windex</secondary></indexterm> <indexterm significance="normal" id="usradm-ix889" lang="en"><primary lang="en">databases</primary><secondary lang="en">whatis</secondary></indexterm> <indexterm significance="normal" id="usradm-ix890" lang="en"><primary lang="en">windex database</primary></indexterm></para><para lang="en">The <filename moreinfo="none" lang="en">windex</filename> file also has a slightly different format than the <filename moreinfo="none" lang="en">whatis</filename> file, as you can see from the following comparison of the two release versions.</para><informaltable frame="all" lang="en"><tgroup cols="1" colsep="0" rowsep="0" lang="en"><colspec colnum="1" colname="column1" colwidth="9*"/><tbody lang="en"><row lang="en"><entry colname="column1" lang="en"><programlisting format="linespecific" lang="en" role="fragment">sunos4.1% man -k tset
tset, reset (1)    - establish or restore terminal characteristics</programlisting></entry></row></tbody></tgroup></informaltable><informaltable frame="all" lang="en"><tgroup cols="1" colsep="0" rowsep="0" lang="en"><colspec colnum="1" colname="column1" colwidth="9*"/><tbody lang="en"><row lang="en"><entry colname="column1" lang="en"><programlisting format="linespecific" lang="en" role="fragment">sunos5.6% man -k tset
reset  tset (1b)   - establish or restore terminal characteristics
tset   tset (1b)   - establish or restore terminal characteristics</programlisting></entry></row></tbody></tgroup></informaltable></sect2><sect2 id="usradm-8" lang="en"><title lang="en">Using the <command moreinfo="none" lang="en">man</command> Command</title><indexterm significance="normal" id="usradm-ix891" lang="en"><primary lang="en">man command</primary></indexterm><para lang="en"><link linkend="usradm-16588" lang="en">Table 6-5</link> shows that SunOS release 5.6 version of the <command moreinfo="none" lang="en">man</command> command has additional search options.</para><table frame="topbot" id="usradm-16588" lang="en"><gentext type="text">Table 6-5 </gentext><title lang="en">New <command moreinfo="none" lang="en">man</command> Command Options</title><tgroup cols="2" colsep="0" rowsep="0" lang="en"><colspec colnum="1" colname="column1" colwidth="3*"/><colspec colnum="2" colname="column2" colwidth="6*"/><thead lang="en"><row rowsep="1" lang="en"><entry colname="column1" align="left" valign="bottom" lang="en"><para lang="en">Option</para></entry><entry colname="column2" align="left" valign="bottom" lang="en"><para lang="en">Description</para></entry></row></thead><tbody lang="en"><row lang="en"><entry colname="column1" align="left" valign="top" lang="en"><para lang="en"><option lang="en"><gentext type="text">-</gentext>a</option></para></entry><entry colname="column2" align="left" valign="top" lang="en"><para lang="en">Displays all man pages that match <emphasis lang="en">file name</emphasis>. The pages are displayed sequentially in the order they are found.</para></entry></row><row lang="en"><entry colname="column1" align="left" valign="top" lang="en"><para lang="en"><option lang="en"><gentext type="text">-</gentext>l</option></para></entry><entry colname="column2" align="left" valign="top" lang="en"><para lang="en">Lists all man pages that match file name. You can use the output of this command to specify a section number with the <option lang="en"><gentext type="text">-</gentext>s</option> option.</para></entry></row><row lang="en"><entry colname="column1" align="left" valign="top" lang="en"><para lang="en"><option lang="en"><gentext type="text">-</gentext>s</option> <replaceable lang="en">section-number</replaceable></para></entry><entry colname="column2" align="left" valign="top" lang="en"><para lang="en">Searches <emphasis lang="en">section-number</emphasis> for <emphasis lang="en">file name</emphasis>. In the SunOS release 4.x software, the <command moreinfo="none" lang="en">man</command> command accepted the section number as an option; in this release, the section number must be preceded by <option lang="en"><gentext type="text">-</gentext>s</option>.</para></entry></row><row lang="en"><entry colname="column1" align="left" valign="top" lang="en"><para lang="en"><option lang="en"><gentext type="text">-</gentext>F</option></para></entry><entry colname="column2" align="left" valign="top" lang="en"><para lang="en">Forces
the <command moreinfo="none" lang="en">man</command> command to search all directories until <emphasis lang="en">file name</emphasis> is found. This option overrides the <filename moreinfo="none" lang="en">windex</filename> database and the <filename moreinfo="none" lang="en">man.cf</filename> file.</para></entry></row></tbody></tgroup></table><para lang="en">See the man(1) man page for a complete description of the SunOS release 5.6 <command moreinfo="none" lang="en">man</command> command. <indexterm significance="normal" id="usradm-ix892" lang="en"><primary lang="en">user environment administration</primary></indexterm></para></sect2></sect1></chapter><chapter id="devadm-79489" lang="en"><gentext type="text">Chapter 7</gentext><gentext type="toc">7.  Device Administration</gentext><title lang="en">Device Administration</title><highlights lang="en"><para lang="en">This chapter explains SunOS release 5.6 device naming conventions and discusses changes to device-related tasks such as getting information about disks, adding devices to a system, and using Volume Management.</para><itemizedlist lang="en" mark="bullet"><listitem lang="en"><para lang="en"><link linkend="devadm-32137" lang="en">"Device Naming Conventions"</link></para></listitem><listitem lang="en"><para lang="en"><link linkend="devadm-18505" lang="en">"Obtaining Disk Information"</link></para></listitem><listitem lang="en"><para lang="en"><link linkend="devadm-32998" lang="en">"Adding Devices to the System"</link></para></listitem><listitem lang="en"><para lang="en"><link linkend="devadm-39715" lang="en">"Using Volume Management "</link></para></listitem></itemizedlist></highlights><indexterm significance="normal" id="devadm-ix893" lang="en"><primary lang="en">device administration</primary></indexterm><sect1 id="devadm-32137" lang="en"><title lang="en">Device Naming Conventions</title><para lang="en">Device naming conventions have changed between the SunOS release 4.x and SunOS release 5.6 platforms. In addition, the <filename moreinfo="none" lang="en">/dev</filename> directory, which contains the special device names, has been changed from a flat directory to a hierarchical one, with a separate subdirectory for each category of device. For example, the location of disk device files is <filename moreinfo="none" lang="en">/dev/dsk</filename>, while raw disks are located in <filename moreinfo="none" lang="en">/dev/rdsk</filename>. <indexterm significance="normal" id="devadm-ix894" lang="en"><primary lang="en">names</primary><secondary lang="en">device</secondary><tertiary lang="en">changes in</tertiary></indexterm> <indexterm significance="normal" id="devadm-ix895" lang="en"><primary lang="en">device naming</primary><secondary lang="en">changes in</secondary></indexterm> <indexterm significance="normal" id="devadm-ix896" lang="en"><primary lang="en">device administration</primary><secondary lang="en">naming conventions</secondary></indexterm> <indexterm significance="normal" id="devadm-ix897" lang="en"><primary lang="en">/dev directory</primary><secondary lang="en">changes in</secondary></indexterm></para><para lang="en">SunOS release 5.6 commands that take device names as arguments must use the SunOS release 5.6 device naming conventions. However, you can still use and recognize the SunOS release 4.x device names if you install the SunOS/BSD Source Compatibility Package. See <olink targetpartnumber="802-6320"><citetitle lang="en">Source Compatibility Guide</citetitle></olink> for additional information. </para><sect2 id="devadm-1" lang="en"><title lang="en">Convention for Disks</title><para lang="en">The disk partition slice numbers (0 through 7) correspond to partitions a through h of previous SunOS releases. <indexterm significance="normal" id="devadm-ix898" lang="en"><primary lang="en">names</primary><secondary lang="en">device</secondary><tertiary lang="en">disks</tertiary></indexterm> <indexterm significance="normal" id="devadm-ix899" lang="en"><primary lang="en">disk devices</primary><secondary lang="en">naming conventions</secondary></indexterm> <indexterm significance="normal" id="devadm-ix900" lang="en"><primary lang="en">device naming</primary><secondary lang="en">disks</secondary></indexterm></para><graphic filename="figures/dev_adm.fig274.epsi.gif" width="786" depth="1111" id="gr3" lang="en"/><note lang="en" role="note"><gentext type="text">Note - </gentext><para lang="en">Most SCSI disks have embedded controllers. This means that the drive number will always be 0 but the target number varies. For example, if an external disk drive has its rear switch set to 2, the device name for the first slice is <filename moreinfo="none" lang="en">/dev/dsk/c0t2d0s0</filename>, not <filename moreinfo="none" lang="en">/dev/dsk/c0t0d2s0</filename>. <indexterm significance="normal" id="devadm-ix901" lang="en"><primary lang="en">SCSI disks</primary><secondary lang="en">naming conventions</secondary></indexterm></para></note><para lang="en">Because the names for SCSI targets 0 and 3 were reversed on some sun4c systems, device naming can be confusing. Under the SunOS 4.1.x software, SCSI target 3 was called <function moreinfo="none" lang="en">sd0<gentext type="text">()</gentext></function>, but it is now properly named <filename moreinfo="none" lang="en">c0t3d0</filename>. SCSI target 0 was called <function moreinfo="none" lang="en">sd3<gentext type="text">()</gentext></function>, but it is now named <filename moreinfo="none" lang="en">c0t0d0</filename>. Other SCSI disk names translate normally. For example, in the SunOS release 5.6 software, <filename moreinfo="none" lang="en">sd2a</filename> is <filename moreinfo="none" lang="en">c0t2d0s0</filename> and <filename moreinfo="none" lang="en">sd2b</filename> is <filename moreinfo="none" lang="en">c0t2d0s1</filename>.</para></sect2><sect2 id="devadm-2" lang="en"><title lang="en">Convention for Tape Drives</title><graphic filename="figures/dev_adm.fig275.epsi.gif" width="786" depth="1111" id="gr4" lang="en"/><para lang="en"><link linkend="devadm-61743" lang="en">Table 7-1</link> provides some examples that compare the SunOS release 4.x and SunOS release 5.6 device naming conventions. </para><table frame="topbot" id="devadm-61743" lang="en"><gentext type="text">Table 7-1 </gentext><title lang="en">SunOS release 4.x and SunOS release 5.6 Device Names</title><tgroup cols="3" colsep="0" rowsep="0" lang="en"><colspec colnum="1" colname="column1" colwidth="3*"/><colspec colnum="2" colname="column2" colwidth="3*"/><colspec colnum="3" colname="column3" colwidth="3*"/><thead lang="en"><row rowsep="1" lang="en"><entry colname="column1" align="left" valign="bottom" lang="en"><para lang="en">Device Description</para></entry><entry colname="column2" align="left" valign="bottom" lang="en"><para lang="en">SunOS release 4.x Device Name</para></entry><entry colname="column3" align="left" valign="bottom" lang="en"><para lang="en">SunOS release 5.6 Device Name <indexterm significance="normal" id="devadm-ix902" lang="en"><primary lang="en">names</primary><secondary lang="en">device</secondary><tertiary lang="en">disks</tertiary></indexterm></para></entry></row></thead><tbody lang="en"><row lang="en"><entry colname="column1" align="left" valign="top" lang="en"><para lang="en">Disk devices <indexterm significance="normal" id="devadm-ix903" lang="en"><primary lang="en">disk devices</primary><secondary lang="en">naming conventions</secondary></indexterm> <indexterm significance="normal" id="devadm-ix904" lang="en"><primary lang="en">device naming</primary><secondary lang="en">disks</secondary></indexterm></para></entry><entry colname="column2" align="left" valign="top" lang="en"><para lang="en"><filename moreinfo="none" lang="en">/dev/sd0g</filename></para></entry><entry colname="column3" align="left" valign="top" lang="en"><para lang="en"><filename moreinfo="none" lang="en">/dev/dsk/c0t3d0s6</filename></para></entry></row><row lang="en"><entry colname="column1" align="left" valign="top" lang="en"><para lang="en"/></entry><entry colname="column2" align="left" valign="top" lang="en"><para lang="en"><filename moreinfo="none" lang="en">/dev/rsd3b</filename></para></entry><entry colname="column3" align="left" valign="top" lang="en"><para lang="en"><filename moreinfo="none" lang="en">/dev/rdsk/c0t0d0s1</filename></para></entry></row><row lang="en"><entry colname="column1" align="left" valign="top" lang="en"><para lang="en"/></entry><entry colname="column2" align="left" valign="top" lang="en"><para lang="en"><filename moreinfo="none" lang="en">/dev/rsd3a</filename></para></entry><entry colname="column3" align="left" valign="top" lang="en"><para lang="en"><filename moreinfo="none" lang="en">/dev/rdsk/c0t0d0s0</filename></para></entry></row><row lang="en"><entry colname="column1" align="left" valign="top" lang="en"><para lang="en">Magnetic tape devices</para></entry><entry colname="column2" align="left" valign="top" lang="en"><para lang="en"><filename moreinfo="none" lang="en">/dev/nrmt8</filename></para></entry><entry colname="column3" align="left" valign="top" lang="en"><para lang="en"><filename moreinfo="none" lang="en">/dev/rmt/8hn</filename></para></entry></row><row lang="en"><entry colname="column1" align="left" valign="top" lang="en"><para lang="en"/></entry><entry colname="column2" align="left" valign="top" lang="en"><para lang="en"><filename moreinfo="none" lang="en">/dev/rst0</filename></para></entry><entry colname="column3" align="left" valign="top" lang="en"><para lang="en"><filename moreinfo="none" lang="en">/dev/rmt/0</filename></para></entry></row><row lang="en"><entry colname="column1" align="left" valign="top" lang="en"><para lang="en">CD-ROM device <indexterm significance="normal" id="devadm-ix905" lang="en"><primary lang="en">names</primary><secondary lang="en">device</secondary><tertiary lang="en">CD-ROMs</tertiary></indexterm> <indexterm significance="normal" id="devadm-ix906" lang="en"><primary lang="en">device naming</primary><secondary lang="en">CD-ROMS</secondary></indexterm> <indexterm significance="normal" id="devadm-ix907" lang="en"><primary lang="en">CD-ROM devices</primary><secondary lang="en">naming conventions</secondary></indexterm></para></entry><entry colname="column2" align="left" valign="top" lang="en"><para lang="en"><filename moreinfo="none" lang="en">/dev/sr0</filename></para></entry><entry colname="column3" align="left" valign="top" lang="en"><para lang="en"><filename moreinfo="none" lang="en">/dev/dsk/c0t6d0s2</filename> <indexterm significance="normal" id="devadm-ix908" lang="en"><primary lang="en">device administration</primary><secondary lang="en">naming conventions</secondary></indexterm> <indexterm significance="normal" id="devadm-ix909" lang="en"><primary lang="en">device naming</primary><secondary lang="en">changes in</secondary></indexterm> <indexterm significance="normal" id="devadm-ix910" lang="en"><primary lang="en">names</primary><secondary lang="en">device</secondary><tertiary lang="en">changes in</tertiary></indexterm></para></entry></row></tbody></tgroup></table></sect2></sect1><sect1 id="devadm-18505" lang="en"><title lang="en">Obtaining Disk Information</title><para lang="en">The commands that report disk information in the SunOS release 5.6 software have changed. <command moreinfo="none" lang="en">df</command>(1M) and <command moreinfo="none" lang="en">du</command>(1M) are still available, but have changed. <command moreinfo="none" lang="en">dkinfo</command>(8), and <command moreinfo="none" lang="en">devinfo</command>(1M) are replaced by <command moreinfo="none" lang="en">prtvtoc</command> and <command moreinfo="none" lang="en">sysdef</command> <option lang="en"><gentext type="text">-</gentext>d</option>. This section provides an overview of those changes. <indexterm significance="normal" id="devadm-ix911" lang="en"><primary lang="en">information reporting</primary><secondary lang="en">disk devices</secondary></indexterm> <indexterm significance="normal" id="devadm-ix912" lang="en"><primary lang="en">information reporting</primary><secondary lang="en">device administration</secondary></indexterm> <indexterm significance="normal" id="devadm-ix913" lang="en"><primary lang="en">disk devices</primary><secondary lang="en">information reporting</secondary></indexterm> <indexterm significance="normal" id="devadm-ix914" lang="en"><primary lang="en">device administration</primary><secondary lang="en">information reporting</secondary></indexterm> <indexterm significance="normal" id="devadm-ix915" lang="en"><primary lang="en">sysdef command</primary></indexterm> <indexterm significance="normal" id="devadm-ix916" lang="en"><primary lang="en">prtvtoc command</primary></indexterm> <indexterm significance="normal" id="devadm-ix917" lang="en"><primary lang="en">dkinfo command</primary></indexterm> <indexterm significance="normal" id="devadm-ix918" lang="en"><primary lang="en">devinfo command</primary></indexterm></para><para lang="en">If you have installed the compatibility packages, SunOS release 4.x command versions can be found under <filename moreinfo="none" lang="en">/usr/ucb/df</filename> and <filename moreinfo="none" lang="en">/usr/ucb/du</filename>. <indexterm significance="normal" id="devadm-ix919" lang="en"><primary lang="en">/usr/ucb/df command</primary></indexterm> <indexterm significance="normal" id="devadm-ix920" lang="en"><primary lang="en">/usr/ucb/du command</primary></indexterm> <indexterm significance="normal" id="devadm-ix921" lang="en"><primary lang="en">du command</primary></indexterm> <indexterm significance="normal" id="devadm-ix922" lang="en"><primary lang="en">df command</primary></indexterm></para><sect2 id="devadm-3" lang="en"><title lang="en"><command moreinfo="none" lang="en">df</command> Command</title><para lang="en">The <command moreinfo="none" lang="en">df</command> command has been changed to support the VFS architecture. As with the other VFS commands, there are generic and file-system versions of the command. The syntax in the SunOS release 5.6 command differs significantly from that used in the SunOS release 4.x version (see <link linkend="apxa-68645" lang="en">Appendix A, Commands Reference Table</link>, for more information). For more information on VFS, see <link linkend="fsadm-19196" lang="en">"Virtual File System Architecture"</link>. <indexterm significance="normal" id="devadm-ix923" lang="en"><primary lang="en">/usr/ucb/df command</primary></indexterm> <indexterm significance="normal" id="devadm-ix924" lang="en"><primary lang="en">df command</primary></indexterm></para><para lang="en">The <command moreinfo="none" lang="en">df</command> command now reports disk space in 512-byte blocks instead of kilobytes, but the <option lang="en"><gentext type="text">-</gentext>k</option> option can be used to report disk space in kilobytes. Also, the <option lang="en"><gentext type="text">-</gentext>t</option> option behaves differently; formerly, it restricted the output to file systems of a specified type (for example, "nfs" or "4.2"). The SunOS release 5.6 version produces a full listing with totals.</para><para lang="en">Finally, use the SunOS release 5.6 device naming conventions when specifying special device names to this command. See <link linkend="devadm-32137" lang="en">"Device Naming Conventions"</link> for details.</para></sect2><sect2 id="devadm-4" lang="en"><title lang="en"><command moreinfo="none" lang="en">du</command> Command</title><para lang="en">Like <command moreinfo="none" lang="en">df</command>, the <command moreinfo="none" lang="en">du</command> command reports disk usage in 512-byte blocks instead of kilobytes. There's also a <option lang="en"><gentext type="text">-</gentext>r</option> option that causes the normally "silent" command to generate messages when it has difficulty reading a directory or opening a file. <indexterm significance="normal" id="devadm-ix925" lang="en"><primary lang="en">/usr/ucb/du command</primary></indexterm> <indexterm significance="normal" id="devadm-ix926" lang="en"><primary lang="en">du command</primary></indexterm></para></sect2><sect2 id="devadm-5" lang="en"><title lang="en"><command moreinfo="none" lang="en">dkinfo</command> Command</title><para lang="en">The SunOS release 4.x <command moreinfo="none" lang="en">dkinfo</command> command is no longer available. To print device information, use <command moreinfo="none" lang="en">prtvtoc</command>(1M) instead of <command moreinfo="none" lang="en">dkinfo</command>. <indexterm significance="normal" id="devadm-ix927" lang="en"><primary lang="en">dkinfo command</primary></indexterm> <indexterm significance="normal" id="devadm-ix928" lang="en"><primary lang="en">prtvtoc command</primary></indexterm></para><para lang="en">The <command moreinfo="none" lang="en">prtvtoc</command> command reports the important information stored on a disk's label, including information on the disk's partitions. For more information about <command moreinfo="none" lang="en">prtvtoc</command>, see <olink targetpartnumber="802-5750"><citetitle lang="en">System Administration Guide</citetitle></olink>.</para><para lang="en">The following screen shows sample output for the SunOS release 5.6 <command moreinfo="none" lang="en">prtvtoc</command> command.</para><screen format="linespecific" lang="en"># <userinput moreinfo="none" lang="en">prtvtoc /dev/rdsk/c0t2d0s2</userinput>
* /dev/rdsk/c0t2d0s2 partition map
*
* Dimensions:
*     512 bytes/sector
*      36 sectors/track
*       9 tracks/cylinder
*     324 sectors/cylinder
*    1272 cylinders
*    1254 accessible cylinders
*
* Flags:
*   1: unmountable
*  10: read-only
*
*                         First      Sector   Last
* Partition  Tag  Flags   Sector     Count    Sector   Mount
Directory
     0       0    00          0       32724    32723   /
     1       0    00      32724       65448    98171
     2       0    00          0      406296   406295
     6       0    00      98172      308124   406295   /usr</screen></sect2><sect2 id="devadm-6" lang="en"><title lang="en"><command moreinfo="none" lang="en">devinfo</command> Command</title><para lang="en">The SunOS release 4.x version of <command moreinfo="none" lang="en">devinfo</command> is incompatible with the SunOS release 5.6 version. To produce output similar to the SunOS release 4.x version, use <command moreinfo="none" lang="en">prtconf</command> with the <option lang="en"><gentext type="text">-</gentext>v</option> option. <indexterm significance="normal" id="devadm-ix930" lang="en"><primary lang="en">devinfo command</primary></indexterm> <indexterm significance="normal" id="devadm-ix931" lang="en"><primary lang="en">prtconf command</primary></indexterm> <indexterm significance="normal" id="devadm-ix932" lang="en"><primary lang="en">device administration</primary><secondary lang="en">information reporting</secondary></indexterm> <indexterm significance="normal" id="devadm-ix933" lang="en"><primary lang="en">disk devices</primary><secondary lang="en">information reporting</secondary></indexterm> <indexterm significance="normal" id="devadm-ix934" lang="en"><primary lang="en">information reporting</primary><secondary lang="en">device administration</secondary></indexterm> <indexterm significance="normal" id="devadm-ix935" lang="en"><primary lang="en">information reporting</primary><secondary lang="en">disk devices</secondary></indexterm></para></sect2></sect1><sect1 id="devadm-32998" lang="en"><title lang="en">Adding Devices to the System</title><para lang="en">At boot time, the system does a self-test and checks for all devices that are attached to it. After you add a new device to the system, use <command moreinfo="none" lang="en">boot</command> <option lang="en"><gentext type="text">-</gentext>r</option> to activate dynamic reconfiguration of the kernel. A reconfiguration script is run to load all the device drivers listed in the module's directories and to create the corresponding hardware nodes. See the <command moreinfo="none" lang="en">kernel</command>(1M) man page for more information. <indexterm significance="normal" id="devadm-ix936" lang="en"><primary lang="en">device administration</primary><secondary lang="en">adding devices</secondary></indexterm> <indexterm significance="normal" id="devadm-ix937" lang="en"><primary lang="en">boot command</primary><secondary lang="en">device additions and</secondary></indexterm> <indexterm significance="normal" id="devadm-ix938" lang="en"><primary lang="en">adding</primary><secondary lang="en">devices</secondary></indexterm></para><para lang="en">You can also use <command moreinfo="none" lang="en">boot</command> <option lang="en"><gentext type="text">-</gentext>a</option> to interactively add drivers or modules to the system, but if you do, you will be asked to provide other boot parameters, including what to boot and where the root file system is.</para><para lang="en">Paths to the system files and kernel modules are stored in <filename moreinfo="none" lang="en">/etc/system</filename>. When the system boots, it reads the information in <filename moreinfo="none" lang="en">/etc/system</filename> to determine which modules to load. You can specify a different path by using the <systemitem class="environvar" moreinfo="none" lang="en">MODDIR</systemitem> syntax of the <filename moreinfo="none" lang="en">system</filename>(4) file or by using <command moreinfo="none" lang="en">boot</command> <option lang="en"><gentext type="text">-</gentext>a</option>. <indexterm significance="normal" id="devadm-ix939" lang="en"><primary lang="en">/etc/system file</primary><secondary lang="en">described</secondary></indexterm></para><para lang="en">For more information about <command moreinfo="none" lang="en">boot</command>(1m) or about adding devices and drivers, see <olink targetpartnumber="802-5750"><citetitle lang="en">System Administration Guide</citetitle></olink>. <indexterm significance="normal" id="devadm-ix940" lang="en"><primary lang="en">adding</primary><secondary lang="en">devices</secondary></indexterm> <indexterm significance="normal" id="devadm-ix941" lang="en"><primary lang="en">boot command</primary><secondary lang="en">device additions and</secondary></indexterm> <indexterm significance="normal" id="devadm-ix942" lang="en"><primary lang="en">device administration</primary><secondary lang="en">adding devices</secondary></indexterm></para></sect1><sect1 id="devadm-39715" lang="en"><title lang="en">Using Volume Management </title><para lang="en">Beginning with the Solaris 2.2 software, a new layer of software manages CD-ROM and diskette devices -- Volume Management. This software automates the interaction between you and your CDs and diskettes. <indexterm significance="normal" id="devadm-ix943" lang="en"><primary lang="en">Volume Management</primary><secondary lang="en">using</secondary></indexterm> <indexterm significance="normal" id="devadm-ix944" lang="en"><primary lang="en">Volume Management</primary><secondary lang="en">overview</secondary></indexterm> <indexterm significance="normal" id="devadm-ix945" lang="en"><primary lang="en">diskette devices, managing</primary></indexterm> <indexterm significance="normal" id="devadm-ix946" lang="en"><primary lang="en">device administration</primary><secondary lang="en">Volume Management for</secondary></indexterm> <indexterm significance="normal" id="devadm-ix947" lang="en"><primary lang="en">CD-ROM devices</primary><secondary lang="en">managing</secondary></indexterm></para><para lang="en">The OpenWindows and CDE File Manager applications have been modified to use Volume Management to provide immediate user access to CDs and diskettes with file systems. See <olink targetpartnumber="802-1986"><citetitle lang="en">Solaris User's Guide</citetitle></olink> for more information on File Manager's new features. <indexterm significance="normal" id="devadm-ix948" lang="en"><primary lang="en">OpenWindows</primary><secondary lang="en">File Manager changes</secondary></indexterm> <indexterm significance="normal" id="devadm-ix949" lang="en"><primary lang="en">File Manager</primary></indexterm></para><para lang="en">There are also several new commands to help you administer Volume Management on your system.</para><para lang="en">Volume Management automatically mounts CD and diskette file systems when removable media are inserted into the devices. Any CD or diskette file system will be automatically mounted in the locations described in <link linkend="devadm-32114" lang="en">Table 7-2</link>. <indexterm significance="normal" id="devadm-ix950" lang="en"><primary lang="en">HSFS (CD-ROM file system)</primary></indexterm> <indexterm significance="normal" id="devadm-ix951" lang="en"><primary lang="en">file systems</primary><secondary lang="en">diskette devices with</secondary></indexterm> <indexterm significance="normal" id="devadm-ix952" lang="en"><primary lang="en">file systems</primary><secondary lang="en">CD-ROM devices with</secondary></indexterm> <indexterm significance="normal" id="devadm-ix953" lang="en"><primary lang="en">diskette file system, automounting of</primary></indexterm> <indexterm significance="normal" id="devadm-ix954" lang="en"><primary lang="en">CD-ROM file system (HSFS)</primary></indexterm></para><table frame="topbot" id="devadm-32114" lang="en"><gentext type="text">Table 7-2 </gentext><title lang="en">Location of CD-ROM and Diskette With a File System</title><tgroup cols="2" colsep="0" rowsep="0" lang="en"><colspec colnum="1" colname="column1" colwidth="3*"/><colspec colnum="2" colname="column2" colwidth="6*"/><thead lang="en"><row rowsep="1" lang="en"><entry colname="column1" align="left" valign="bottom" lang="en"><para lang="en">Media</para></entry><entry colname="column2" align="left" valign="bottom" lang="en"><para lang="en">Location</para></entry></row></thead><tbody lang="en"><row lang="en"><entry colname="column1" align="left" valign="top" lang="en"><para lang="en">CD <indexterm significance="normal" id="devadm-ix955" lang="en"><primary lang="en">/cdrom directory</primary></indexterm></para></entry><entry colname="column2" align="left" valign="top" lang="en"><para lang="en"><filename moreinfo="none" lang="en">/cdrom/</filename><replaceable lang="en">cdrom_name</replaceable></para></entry></row><row lang="en"><entry colname="column1" align="left" valign="top" lang="en"><para lang="en">Diskette <indexterm significance="normal" id="devadm-ix956" lang="en"><primary lang="en">/floppy directory</primary></indexterm></para></entry><entry colname="column2" align="left" valign="top" lang="en"><para lang="en"><filename moreinfo="none" lang="en">/floppy/</filename><replaceable lang="en">floppy_name</replaceable></para></entry></row></tbody></tgroup></table><para lang="en">If the CD or diskette does not contain a file system, it will be accessible in the  locations described in <link linkend="devadm-12437" lang="en">Table 7-3</link>.</para><table frame="topbot" id="devadm-12437" lang="en"><gentext type="text">Table 7-3 </gentext><title lang="en">Location of CD-ROM and Diskette Without a File System</title><tgroup cols="2" colsep="0" rowsep="0" lang="en"><colspec colnum="1" colname="column1" colwidth="5*"/><colspec colnum="2" colname="column2" colwidth="5*"/><thead lang="en"><row rowsep="1" lang="en"><entry colname="column1" align="left" valign="bottom" lang="en"><para lang="en">Media</para></entry><entry colname="column2" align="left" valign="bottom" lang="en"><para lang="en">Location</para></entry></row></thead><tbody lang="en"><row lang="en"><entry colname="column1" align="left" valign="top" lang="en"><para lang="en">CD <indexterm significance="normal" id="devadm-ix957" lang="en"><primary lang="en">/vol/dev/aliases/cdrom0 file system</primary></indexterm></para></entry><entry colname="column2" align="left" valign="top" lang="en"><para lang="en"><filename moreinfo="none" lang="en">/vol/dev/aliases/cdrom0</filename></para></entry></row><row lang="en"><entry colname="column1" align="left" valign="top" lang="en"><para lang="en">Diskette <indexterm significance="normal" id="devadm-ix958" lang="en"><primary lang="en">/vol/dev/aliases/floppy0 file system</primary></indexterm></para></entry><entry colname="column2" align="left" valign="top" lang="en"><para lang="en"><filename moreinfo="none" lang="en">/vol/dev/aliases/floppy0</filename></para></entry></row></tbody></tgroup></table><para lang="en">For security reasons, these file systems are mounted <command moreinfo="none" lang="en">setuid</command>. See the <command moreinfo="none" lang="en">mount</command>(1M) man page for a description of this and other mount options.</para><para lang="en">For more information on configuring Volume Management and on using diskettes and CDs, see <olink targetpartnumber="802-5750"><citetitle lang="en">System Administration Guide</citetitle></olink>.</para><para lang="en">Man pages for Volume Management components are also available, See <command moreinfo="none" lang="en">rmmount</command>(1), <command moreinfo="none" lang="en">rmmount.conf</command>(4), <command moreinfo="none" lang="en">volcancel</command>(1), <command moreinfo="none" lang="en">volcheck</command>(1), <command moreinfo="none" lang="en">vold</command>(1M), <command moreinfo="none" lang="en">volmgt</command>(3), <command moreinfo="none" lang="en">vold.conf</command>(4), <command moreinfo="none" lang="en">volfs</command>(7), and <command moreinfo="none" lang="en">volmissing</command>(1).</para><note lang="en" role="note"><gentext type="text">Note - </gentext><para lang="en">Volume Management now controls these CD-ROM paths: <filename moreinfo="none" lang="en">/dev/dsk/c0t6d0s0</filename> and <filename moreinfo="none" lang="en">/dev/rdsk/c0t6d0s0</filename>; and these diskette paths: <filename moreinfo="none" lang="en">/dev/diskette</filename> and <filename moreinfo="none" lang="en">/dev/rdiskette</filename>. Attempts to mount or access a CD or diskette using these paths will result in an error message. <indexterm significance="normal" id="devadm-ix959" lang="en"><primary lang="en">Volume Management</primary><secondary lang="en">error messages</secondary></indexterm> <indexterm significance="normal" id="devadm-ix960" lang="en"><primary lang="en">error messages</primary><secondary lang="en">Volume Management</secondary></indexterm></para></note><para lang="en">There are several new commands to help you administer Volume Management on your system, as described in <link linkend="devadm-17766" lang="en">Table 7-4</link>. <indexterm significance="normal" id="devadm-ix961" lang="en"><primary lang="en">Volume Management</primary><secondary lang="en">commands</secondary></indexterm> <indexterm significance="normal" id="devadm-ix962" lang="en"><primary lang="en">commands</primary><secondary lang="en">Volume Management</secondary></indexterm></para><table frame="topbot" id="devadm-17766" lang="en"><gentext type="text">Table 7-4 </gentext><title lang="en">Volume Management Commands </title><tgroup cols="2" colsep="0" rowsep="0" lang="en"><colspec colnum="1" colname="column1" colwidth="2*"/><colspec colnum="2" colname="column2" colwidth="7*"/><thead lang="en"><row rowsep="1" lang="en"><entry colname="column1" align="left" valign="bottom" lang="en"><para lang="en">Command</para></entry><entry colname="column2" align="left" valign="bottom" lang="en"><para lang="en">Description </para></entry></row></thead><tbody lang="en"><row lang="en"><entry colname="column1" align="left" valign="top" lang="en"><para lang="en"><command moreinfo="none" lang="en">rmmount</command>(1) <indexterm significance="normal" id="devadm-ix963" lang="en"><primary lang="en">rmmount command</primary></indexterm></para></entry><entry colname="column2" align="left" valign="top" lang="en"><para lang="en">Removable media mounter. Used by <filename moreinfo="none" lang="en">vold</filename> to automatically mount <filename moreinfo="none" lang="en">/cdrom</filename> and <filename moreinfo="none" lang="en">/floppy</filename> when a CD or diskette is installed.</para></entry></row><row lang="en"><entry colname="column1" align="left" valign="top" lang="en"><para lang="en"><command moreinfo="none" lang="en">volcancel</command>(1) <indexterm significance="normal" id="devadm-ix964" lang="en"><primary lang="en">volcancel command</primary></indexterm></para></entry><entry colname="column2" align="left" valign="top" lang="en"><para lang="en">Cancels a user's request to access a particular CD-ROM or diskette file system</para></entry></row><row lang="en"><entry colname="column1" align="left" valign="top" lang="en"><para lang="en"><command moreinfo="none" lang="en">volcheck</command>(1) <indexterm significance="normal" id="devadm-ix965" lang="en"><primary lang="en">volcheck command</primary></indexterm></para></entry><entry colname="column2" align="left" valign="top" lang="en"><para lang="en">Checks drive for installed media. By default, checks drive pointed to by <filename moreinfo="none" lang="en">/dev/diskette</filename>.</para></entry></row><row lang="en"><entry colname="column1" align="left" valign="top" lang="en"><para lang="en"><command moreinfo="none" lang="en">volmissing</command>(1) <indexterm significance="normal" id="devadm-ix966" lang="en"><primary lang="en">volmissing command</primary></indexterm></para></entry><entry colname="column2" align="left" valign="top" lang="en"><para lang="en">Notifies user when an attempt is made to access a CD or diskette that is no longer in the drive</para></entry></row><row lang="en"><entry colname="column1" align="left" valign="top" lang="en"><para lang="en"><command moreinfo="none" lang="en">vold</command>(1) <indexterm significance="normal" id="devadm-ix967" lang="en"><primary lang="en">vold command</primary></indexterm></para></entry><entry colname="column2" align="left" valign="top" lang="en"><para lang="en">Volume Management daemon, controlled by <filename moreinfo="none" lang="en">/etc/vold.conf</filename></para></entry></row></tbody></tgroup></table><para lang="en">There are also two configuration files to define Volume Management's actions: <filename moreinfo="none" lang="en">/etc/vold.conf</filename> and <filename moreinfo="none" lang="en">/etc/rmmount.conf</filename>. See the <command moreinfo="none" lang="en">vold.conf</command>(4) and <command moreinfo="none" lang="en">rmmount.conf</command>(4) man pages for descriptions of these files, and see <olink targetpartnumber="802-5750"><citetitle lang="en">System Administration Guide</citetitle></olink> for information on managing CD-ROM and diskette devices. <indexterm significance="normal" id="devadm-ix968" lang="en"><primary lang="en">Volume Management</primary><secondary lang="en">configuration files</secondary></indexterm> <indexterm significance="normal" id="devadm-ix969" lang="en"><primary lang="en">vold.conf file</primary></indexterm> <indexterm significance="normal" id="devadm-ix970" lang="en"><primary lang="en">rmmount.conf file</primary></indexterm> <indexterm significance="normal" id="devadm-ix971" lang="en"><primary lang="en">/etc/vold.conf file</primary></indexterm> <indexterm significance="normal" id="devadm-ix972" lang="en"><primary lang="en">/etc/rmmount.conf file</primary></indexterm> <indexterm significance="normal" id="devadm-ix973" lang="en"><primary lang="en">Volume Management</primary><secondary lang="en">using</secondary></indexterm> <indexterm significance="normal" id="devadm-ix974" lang="en"><primary lang="en">diskette devices, managing</primary></indexterm> <indexterm significance="normal" id="devadm-ix975" lang="en"><primary lang="en">device administration</primary></indexterm> <indexterm significance="normal" id="devadm-ix976" lang="en"><primary lang="en">device administration</primary><secondary lang="en">Volume Management for</secondary></indexterm> <indexterm significance="normal" id="devadm-ix977" lang="en"><primary lang="en">CD-ROM devices</primary><secondary lang="en">managing</secondary></indexterm></para></sect1></chapter><chapter id="startup-69540" lang="en"><gentext type="text">Chapter 8</gentext><gentext type="toc">8.  Startup and Shutdown</gentext><title lang="en">Startup and Shutdown</title><highlights lang="en"><para lang="en">This chapter describes changes to procedures for booting and shutting down a system.</para><itemizedlist lang="en" mark="bullet"><listitem lang="en"><para lang="en"><link linkend="startup-35582" lang="en">"Booting"</link></para></listitem><listitem lang="en"><para lang="en"><link linkend="startup-71162" lang="en">"Using the <command moreinfo="none" lang="en">init</command> Command"</link></para></listitem><listitem lang="en"><para lang="en"><link linkend="startup-29571" lang="en">"Shutting Down"</link></para></listitem></itemizedlist><para lang="en">See <olink targetpartnumber="802-5750"><citetitle lang="en">System Administration Guide</citetitle></olink> for detailed descriptions of boot procedures. Man pages for each command are available on line in the "User Commands" section of <citetitle lang="en">SunOS 4.x Reference Manual</citetitle>, or in <citetitle lang="en">man Pages(1): User Commands</citetitle>.</para></highlights><indexterm significance="normal" id="startup-ix978" lang="en"><primary lang="en">startup</primary></indexterm><indexterm significance="normal" id="startup-ix979" lang="en"><primary lang="en">booting</primary></indexterm><sect1 id="startup-35582" lang="en"><title lang="en">Booting</title><para lang="en">The Solaris 2.6 boot process makes system administration easier. Some of the major changes include: <indexterm significance="normal" id="startup-ix980" lang="en"><primary lang="en">booting</primary><secondary lang="en">changes in</secondary></indexterm></para><itemizedlist lang="en" mark="bullet"><listitem lang="en"><para lang="en">The kernel is self-configuring so you no longer need to rebuild it manually.</para></listitem></itemizedlist><itemizedlist lang="en" mark="bullet"><listitem lang="en"><para lang="en">Kernel memory consumption is reduced by automatic loading of devices when first opened.</para></listitem></itemizedlist><itemizedlist lang="en" mark="bullet"><listitem lang="en"><para lang="en">File systems are checked only when necessary, improving boot time.</para></listitem></itemizedlist><itemizedlist lang="en" mark="bullet"><listitem lang="en"><para lang="en">The boot block can read UNIX file systems, eliminating boot errors when the boot program moves.</para></listitem></itemizedlist><itemizedlist lang="en" mark="bullet"><listitem lang="en"><para lang="en">Third-party bootable devices are supported.</para></listitem></itemizedlist><itemizedlist lang="en" mark="bullet"><listitem lang="en"><para lang="en">Secondary boot programs, <command moreinfo="none" lang="en">ufsboot</command> and <command moreinfo="none" lang="en">inetboot</command>, have been modified to read CacheFS file systems. This new booting capability enables Solstice AutoClient(TM) systems to boot more quickly and with less impact on network resources.</para></listitem></itemizedlist><itemizedlist lang="en" mark="bullet"><listitem lang="en"><para lang="en">The SunOS release 4.x <command moreinfo="none" lang="en">fastboot</command> command is available only on Solaris 2.6 systems that have the SunOS/BSD Source Compatibility Package installed. The <command moreinfo="none" lang="en">fastboot</command> command is obsolete in Solaris 2.6 systems because file systems are only checked if the file system state is identified as not clean. <indexterm significance="normal" id="startup-ix981" lang="en"><primary lang="en">shutting down</primary><secondary lang="en">fastboot command</secondary></indexterm> <indexterm significance="normal" id="startup-ix982" lang="en"><primary lang="en">fastboot command</primary></indexterm></para></listitem></itemizedlist><itemizedlist lang="en" mark="bullet"><listitem lang="en"><para lang="en">The SunOS release 4.x <command moreinfo="none" lang="en">halt</command> and <command moreinfo="none" lang="en">reboot</command> commands have <command moreinfo="none" lang="en">shutdown</command>(1M) and <command moreinfo="none" lang="en">init</command>(1M) equivalents in the SunOS release 5.6 software. <indexterm significance="normal" id="startup-ix983" lang="en"><primary lang="en">shutting down</primary><secondary lang="en">reboot command</secondary></indexterm> <indexterm significance="normal" id="startup-ix984" lang="en"><primary lang="en">shutting down</primary><secondary lang="en">halt command</secondary></indexterm> <indexterm significance="normal" id="startup-ix985" lang="en"><primary lang="en">/sbin/init command</primary></indexterm> <indexterm significance="normal" id="startup-ix986" lang="en"><primary lang="en">init command</primary><secondary lang="en">commands replaced by</secondary></indexterm> <indexterm significance="normal" id="startup-ix987" lang="en"><primary lang="en">halt command</primary></indexterm> <indexterm significance="normal" id="startup-ix988" lang="en"><primary lang="en">shutting down</primary><secondary lang="en">shutdown command</secondary></indexterm></para></listitem></itemizedlist><para lang="en">In the Solaris 2.6 operating environment, the <command moreinfo="none" lang="en">shutdown</command> and <command moreinfo="none" lang="en">init</command> commands are the preferred way to halt, shut down, or reboot your system. While the <command moreinfo="none" lang="en">reboot</command> command is available in the Solaris 2.6 operating environment, it brings the system down quickly without shutting down services in an orderly way. <link linkend="startup-41260" lang="en">Table 8-1</link> shows the SunOS release 5.6 commands that replace SunOS release 4.x commands.	 <indexterm significance="normal" id="startup-ix989" lang="en"><primary lang="en">shutdown command</primary></indexterm> <indexterm significance="normal" id="startup-ix990" lang="en"><primary lang="en">reboot command</primary></indexterm></para><table frame="topbot" id="startup-41260" lang="en"><gentext type="text">Table 8-1 </gentext><title lang="en">SunOS release 5.6 Replacements for <command moreinfo="none" lang="en">reboot</command> and <command moreinfo="none" lang="en">fastboot</command></title><tgroup cols="2" colsep="0" rowsep="0" lang="en"><colspec colnum="1" colname="column1" colwidth="5*"/><colspec colnum="2" colname="column2" colwidth="5*"/><thead lang="en"><row rowsep="1" lang="en"><entry colname="column1" align="left" valign="bottom" lang="en"><para lang="en">SunOS release 4.x Command</para></entry><entry colname="column2" align="left" valign="bottom" lang="en"><para lang="en">SunOS release 5.6	 Command Replacement</para></entry></row></thead><tbody lang="en"><row lang="en"><entry colname="column1" align="left" valign="top" lang="en"><para lang="en"><command moreinfo="none" lang="en">reboot</command></para></entry><entry colname="column2" align="left" valign="top" lang="en"><para lang="en"><command moreinfo="none" lang="en">shutdown</command> <option lang="en"><gentext type="text">-</gentext>i</option> <option lang="en"><gentext type="text">-</gentext>6</option>, <command moreinfo="none" lang="en">init 6</command> </para></entry></row><row lang="en"><entry colname="column1" align="left" valign="top" lang="en"><para lang="en"><command moreinfo="none" lang="en">fastboot</command></para></entry><entry colname="column2" align="left" valign="top" lang="en"><para lang="en"><command moreinfo="none" lang="en">boot</command>, <command moreinfo="none" lang="en">init 6</command> </para></entry></row></tbody></tgroup></table><sect2 id="startup-1" lang="en"><title lang="en"><command moreinfo="none" lang="en">boot</command> Command Changes</title><para lang="en">The SunOS release 5.6 software has these additional options for the <command moreinfo="none" lang="en">boot</command> command: <indexterm significance="normal" id="startup-ix991" lang="en"><primary lang="en">boot command</primary><secondary lang="en">changes in</secondary></indexterm></para><itemizedlist lang="en" mark="bullet"><listitem lang="en"><para lang="en">Type <command moreinfo="none" lang="en">boot</command> <option lang="en"><gentext type="text">-</gentext>r</option> when you add new hardware or alter its location. This option creates the physical and logical device names, with the logical device name linked to the physical device name. <indexterm significance="normal" id="startup-ix992" lang="en"><primary lang="en">boot command</primary><secondary lang="en">device additions and</secondary></indexterm></para></listitem></itemizedlist><itemizedlist lang="en" mark="bullet"><listitem lang="en"><para lang="en">Type <command moreinfo="none" lang="en">boot</command> <option lang="en"><gentext type="text">-</gentext>v</option> when you want to see all the system bootup messages; the default is to boot silently. The messages are always stored in the <filename moreinfo="none" lang="en">/var/adm/messages</filename> file.</para></listitem></itemizedlist><itemizedlist lang="en" mark="bullet"><listitem lang="en"><para lang="en">Type <command moreinfo="none" lang="en">boot</command> <option lang="en"><gentext type="text">-</gentext>a</option> when you want to be prompted for the name of an alternate kernel, <filename moreinfo="none" lang="en">/etc/system</filename> file, or path name for kernel module directories. <indexterm significance="normal" id="startup-ix993" lang="en"><primary lang="en">booting</primary><secondary lang="en">changes in</secondary></indexterm></para></listitem></itemizedlist></sect2><sect2 id="startup-2" lang="en"><title lang="en">Booting From the PROM</title><para lang="en">Be aware of these changes when booting from PROM: <indexterm significance="normal" id="startup-ix994" lang="en"><primary lang="en">PROM, booting from</primary></indexterm> <indexterm significance="normal" id="startup-ix995" lang="en"><primary lang="en">booting</primary><secondary lang="en">from PROM</secondary></indexterm></para><itemizedlist lang="en" mark="bullet"><listitem lang="en"><para lang="en">The PROM loads <filename moreinfo="none" lang="en">bootblk</filename> from the disk. This file is similar to the previous SunOS release 4.x boot block except that it is specific to the UFS file system. <indexterm significance="normal" id="startup-ix996" lang="en"><primary lang="en">boot block</primary></indexterm></para><para lang="en">As in the SunOS release 4.x software, you need to use <command moreinfo="none" lang="en">installboot</command>(1M) to install boot blocks on a partition to be used for booting.<indexterm significance="normal" id="startup-ix997" lang="en"><primary lang="en">installboot command</primary></indexterm></para></listitem></itemizedlist><itemizedlist lang="en" mark="bullet"><listitem lang="en"><para lang="en"><command moreinfo="none" lang="en">bootblk</command> opens the boot device and, using the file system you specify, finds and loads <filename moreinfo="none" lang="en">ufsboot</filename>.</para></listitem></itemizedlist><itemizedlist lang="en" mark="bullet"><listitem lang="en"><para lang="en">The boot PROM loads the kernel, <filename moreinfo="none" lang="en">/kernel/genunix</filename>, after <filename moreinfo="none" lang="en">ufsboot</filename> is loaded into memory.   SunOS release 4.x systems used <filename moreinfo="none" lang="en">/vmunix</filename>; however, in the SunOS release 5.6 software the <filename moreinfo="none" lang="en">/kernel</filename> directory contains all platform-independent kernel modules, including <filename moreinfo="none" lang="en">unix</filename>, needed to boot the system. <indexterm significance="normal" id="startup-ix998" lang="en"><primary lang="en">ufsboot command</primary></indexterm></para></listitem></itemizedlist><itemizedlist lang="en" mark="bullet"><listitem lang="en"><para lang="en">The kernel, in turn, loads other drivers, such as <command moreinfo="none" lang="en">esp</command>, from the <filename moreinfo="none" lang="en">/kernel/drv</filename> directory. These drivers had to be built as part of the SunOS release 4.x kernel but can be dynamically loaded in SunOS release 5.6 systems when they are needed. </para></listitem></itemizedlist><itemizedlist lang="en" mark="bullet"><listitem lang="en"><para lang="en">The <command moreinfo="none" lang="en">/sbin/init</command> command generates processes to set up the system based on the directions in <filename moreinfo="none" lang="en">/etc/inittab</filename>. The next section describes the run levels that <command moreinfo="none" lang="en">init</command> uses. <indexterm significance="normal" id="startup-ix999" lang="en"><primary lang="en">/sbin/init command</primary></indexterm> <indexterm significance="normal" id="startup-ix1000" lang="en"><primary lang="en">inittab file</primary></indexterm> <indexterm significance="normal" id="startup-ix1001" lang="en"><primary lang="en">init command</primary><secondary lang="en">described</secondary></indexterm> <indexterm significance="normal" id="startup-ix1002" lang="en"><primary lang="en">/etc/inittab file</primary></indexterm> <indexterm significance="normal" id="startup-ix1003" lang="en"><primary lang="en">booting</primary><secondary lang="en">from PROM</secondary></indexterm> <indexterm significance="normal" id="startup-ix1004" lang="en"><primary lang="en">PROM, booting from</primary></indexterm></para></listitem></itemizedlist></sect2><sect2 id="startup-3" lang="en"><title lang="en">Summary of Boot Differences</title><para lang="en"><link linkend="startup-68386" lang="en">Table 8-2</link> summarizes booting differences. <indexterm significance="normal" id="startup-ix1005" lang="en"><primary lang="en">booting</primary><secondary lang="en">changes in</secondary></indexterm> <indexterm significance="normal" id="startup-ix1006" lang="en"><primary lang="en">boot command</primary><secondary lang="en">changes in</secondary></indexterm></para><table frame="topbot" id="startup-68386" lang="en"><gentext type="text">Table 8-2 </gentext><title lang="en">Summary of Booting Differences </title><tgroup cols="3" colsep="0" rowsep="0" lang="en"><colspec colnum="1" colname="column1" colwidth="3*"/><colspec colnum="2" colname="column2" colwidth="3*"/><colspec colnum="3" colname="column3" colwidth="3*"/><thead lang="en"><row rowsep="1" lang="en"><entry colname="column1" align="left" valign="bottom" lang="en"><para lang="en">SunOS release 4.x</para></entry><entry colname="column2" align="left" valign="bottom" lang="en"><para lang="en">SunOS release 5.6</para></entry><entry colname="column3" align="left" valign="bottom" lang="en"><para lang="en">Feature</para></entry></row></thead><tbody lang="en"><row lang="en"><entry colname="column1" align="left" valign="top" lang="en"><para lang="en"><command moreinfo="none" lang="en">bootsd</command> <indexterm significance="normal" id="startup-ix1007" lang="en"><primary lang="en">bootsd command</primary></indexterm></para></entry><entry colname="column2" align="left" valign="top" lang="en"><para lang="en"><command moreinfo="none" lang="en"/><command moreinfo="none" lang="en">b</command><command moreinfo="none" lang="en">ootblk</command> <indexterm significance="normal" id="startup-ix1008" lang="en"><primary lang="en">ufsbootblk command</primary></indexterm></para></entry><entry colname="column3" align="left" valign="top" lang="en"><para lang="en">Now loads <filename moreinfo="none" lang="en">ufsboot</filename> from disk</para></entry></row><row lang="en"><entry colname="column1" align="left" valign="top" lang="en"><para lang="en"><command moreinfo="none" lang="en">boot</command> program</para></entry><entry colname="column2" align="left" valign="top" lang="en"><para lang="en"><command moreinfo="none" lang="en">ufsboot</command></para></entry><entry colname="column3" align="left" valign="top" lang="en"><para lang="en">Now loads <filename moreinfo="none" lang="en">unix</filename> from disk</para></entry></row><row lang="en"><entry colname="column1" align="left" valign="top" lang="en"><para lang="en"><filename moreinfo="none" lang="en">/vmunix</filename> <indexterm significance="normal" id="startup-ix1009" lang="en"><primary lang="en">/vmunix file</primary></indexterm> <indexterm significance="normal" id="startup-ix1010" lang="en"><primary lang="en">kernel</primary><secondary lang="en">booting and</secondary></indexterm></para></entry><entry colname="column2" align="left" valign="top" lang="en"><para lang="en"><filename moreinfo="none" lang="en">/kernel/genunix</filename> <indexterm significance="normal" id="startup-ix1011" lang="en"><primary lang="en">/kernel/unix directory</primary></indexterm> <indexterm significance="normal" id="startup-ix1012" lang="en"><primary lang="en">/unix directory</primary></indexterm></para></entry><entry colname="column3" align="left" valign="top" lang="en"><para lang="en">Bootable kernel image</para></entry></row><row lang="en"><entry colname="column1" align="left" valign="top" lang="en"><para lang="en"><command moreinfo="none" lang="en">boot.sun4c.sunos.4.1</command> <indexterm significance="normal" id="startup-ix1013" lang="en"><primary lang="en">networks</primary><secondary lang="en">booting over</secondary></indexterm> <indexterm significance="normal" id="startup-ix1014" lang="en"><primary lang="en">boot.sun4c.sunos.4.1 command</primary></indexterm></para></entry><entry colname="column2" align="left" valign="top" lang="en"><para lang="en"><command moreinfo="none" lang="en">inetboot</command> <indexterm significance="normal" id="startup-ix1015" lang="en"><primary lang="en">inetboot command</primary></indexterm></para></entry><entry colname="column3" align="left" valign="top" lang="en"><para lang="en">Mounts and copies <filename moreinfo="none" lang="en">unix</filename> from network</para></entry></row><row lang="en"><entry colname="column1" align="left" valign="top" lang="en"><para lang="en"><command moreinfo="none" lang="en">rc.boot</command>  <command moreinfo="none" lang="en">rc.single <indexterm significance="normal" id="startup-ix1016" lang="en"><primary lang="en">scripts</primary><secondary lang="en">rc</secondary></indexterm></command> <indexterm significance="normal" id="startup-ix1017" lang="en"><primary lang="en">rc.boot script</primary></indexterm> <indexterm significance="normal" id="startup-ix1018" lang="en"><primary lang="en">rc scripts</primary></indexterm> <indexterm significance="normal" id="startup-ix1019" lang="en"><primary lang="en">/etc/rc.boot script</primary></indexterm> <indexterm significance="normal" id="startup-ix1020" lang="en"><primary lang="en">/etc/rc scripts</primary></indexterm> <indexterm significance="normal" id="startup-ix1021" lang="en"><primary lang="en">rc.single script</primary></indexterm> <indexterm significance="normal" id="startup-ix1022" lang="en"><primary lang="en">/etc/rc.single script</primary></indexterm></para></entry><entry colname="column2" align="left" valign="top" lang="en"><para lang="en"><filename moreinfo="none" lang="en">/etc/rcS</filename> <indexterm significance="normal" id="startup-ix1023" lang="en"><primary lang="en">/etc/rcS script</primary></indexterm> <indexterm significance="normal" id="startup-ix1024" lang="en"><primary lang="en">rcS script</primary></indexterm></para></entry><entry colname="column3" align="left" valign="top" lang="en"><para lang="en">Mounts <filename moreinfo="none" lang="en">/usr</filename> and checks file systems</para></entry></row><row lang="en"><entry colname="column1" align="left" valign="top" lang="en"><para lang="en"><command moreinfo="none" lang="en">rc.local</command> <indexterm significance="normal" id="startup-ix1025" lang="en"><primary lang="en">rc.local script</primary></indexterm> <indexterm significance="normal" id="startup-ix1026" lang="en"><primary lang="en">/etc/rc.local script</primary></indexterm></para></entry><entry colname="column2" align="left" valign="top" lang="en"><para lang="en"><filename moreinfo="none" lang="en">/etc/rc2</filename>  <filename moreinfo="none" lang="en">/etc/rc3</filename> <indexterm significance="normal" id="startup-ix1027" lang="en"><primary lang="en">/etc/rc scripts</primary></indexterm> <indexterm significance="normal" id="startup-ix1028" lang="en"><primary lang="en">rc scripts</primary></indexterm></para></entry><entry colname="column3" align="left" valign="top" lang="en"><para lang="en">System config scripts</para></entry></row><row lang="en"><entry colname="column1" align="left" valign="top" lang="en"><para lang="en"><filename moreinfo="none" lang="en">/etc/config</filename> <indexterm significance="normal" id="startup-ix1029" lang="en"><primary lang="en">system command</primary></indexterm> <indexterm significance="normal" id="startup-ix1030" lang="en"><primary lang="en">kernel</primary><secondary lang="en">customizing</secondary></indexterm> <indexterm significance="normal" id="startup-ix1031" lang="en"><primary lang="en">/etc/config command</primary></indexterm> <indexterm significance="normal" id="startup-ix1032" lang="en"><primary lang="en">customizing</primary><secondary lang="en">kernel</secondary></indexterm> <indexterm significance="normal" id="startup-ix1033" lang="en"><primary lang="en">config command</primary></indexterm></para></entry><entry colname="column2" align="left" valign="top" lang="en"><para lang="en"><command moreinfo="none" lang="en">modload</command>  <filename moreinfo="none" lang="en">/etc/system</filename> <indexterm significance="normal" id="startup-ix1034" lang="en"><primary lang="en">/etc/system file</primary><secondary lang="en">described</secondary></indexterm></para></entry><entry colname="column3" align="left" valign="top" lang="en"><para lang="en">Customizes system kernel, loads modules as needed</para></entry></row><row lang="en"><entry colname="column1" align="left" valign="top" lang="en"><para lang="en">Prom monitor, single user, multiuser</para></entry><entry colname="column2" align="left" valign="top" lang="en"><para lang="en">Run states 0 - 6, and S</para></entry><entry colname="column3" align="left" valign="top" lang="en"><para lang="en">System run levels</para></entry></row><row lang="en"><entry colname="column1" align="left" valign="top" lang="en"><para lang="en"><filename moreinfo="none" lang="en">/dev/sd1g</filename> <indexterm significance="normal" id="startup-ix1035" lang="en"><primary lang="en">sd1g command</primary></indexterm> <indexterm significance="normal" id="startup-ix1036" lang="en"><primary lang="en">/dev/sd1g command</primary></indexterm> <indexterm significance="normal" id="startup-ix1037" lang="en"><primary lang="en">/dev directory</primary><secondary lang="en">changes in</secondary></indexterm></para></entry><entry colname="column2" align="left" valign="top" lang="en"><para lang="en"><filename moreinfo="none" lang="en">/dev/dsk/c0t1d0s6</filename></para></entry><entry colname="column3" align="left" valign="top" lang="en"><para lang="en">More descriptive logical device names. See <link linkend="devadm-32137" lang="en">"Device Naming Conventions"</link>.</para></entry></row><row lang="en"><entry colname="column1" align="left" valign="top" lang="en"><para lang="en"><command moreinfo="none" lang="en">MAKEDEV</command> <indexterm significance="normal" id="startup-ix1038" lang="en"><primary lang="en">MAKEDEV environment variable</primary></indexterm></para></entry><entry colname="column2" align="left" valign="top" lang="en"><para lang="en"><command moreinfo="none" lang="en">boot</command> <option lang="en"><gentext type="text">-</gentext>r</option>,</para><para lang="en"><command moreinfo="none" lang="en">add_drv</command> <indexterm significance="normal" id="startup-ix1039" lang="en"><primary lang="en">add_drv command</primary></indexterm></para></entry><entry colname="column3" align="left" valign="top" lang="en"><para lang="en">Makes device nodes <indexterm significance="normal" id="startup-ix1040" lang="en"><primary lang="en">booting</primary><secondary lang="en">changes in</secondary></indexterm></para></entry></row></tbody></tgroup></table></sect2></sect1><sect1 id="startup-71162" lang="en"><title lang="en">Using the <command moreinfo="none" lang="en">init</command> Command</title><para lang="en">The <command moreinfo="none" lang="en">init</command>(1M) command replaces the SunOS release 4.x <command moreinfo="none" lang="en">fasthalt</command> command in the SunOS release 5.6 software. Use it to shut down a single-user system. You can use <command moreinfo="none" lang="en">init</command> to place the system in a power-down state (<command moreinfo="none" lang="en">init 0</command>) or into single-user state (<command moreinfo="none" lang="en">init 1</command>). <indexterm significance="normal" id="startup-ix1041" lang="en"><primary lang="en">/sbin/init command</primary></indexterm> <indexterm significance="normal" id="startup-ix1042" lang="en"><primary lang="en">initialization states, changing</primary></indexterm> <indexterm significance="normal" id="startup-ix1043" lang="en"><primary lang="en">fasthalt command</primary></indexterm> <indexterm significance="normal" id="startup-ix1044" lang="en"><primary lang="en">init command</primary><secondary lang="en">using</secondary></indexterm> <indexterm significance="normal" id="startup-ix1045" lang="en"><primary lang="en">shutting down</primary><secondary lang="en">fasthalt command</secondary></indexterm> <indexterm significance="normal" id="startup-ix1046" lang="en"><primary lang="en">single-user systems, shutting down</primary></indexterm></para><sect2 id="startup-4" lang="en"><title lang="en"><command moreinfo="none" lang="en">init</command> Command Changes</title><para lang="en">Note the following changes to the <command moreinfo="none" lang="en">init</command> command: <indexterm significance="normal" id="startup-ix1047" lang="en"><primary lang="en">init command</primary><secondary lang="en">changes in</secondary></indexterm></para><itemizedlist lang="en" mark="bullet"><listitem lang="en"><para lang="en">SunOS release 5.6 system software has eight initialization states (<command moreinfo="none" lang="en">init</command> states or run levels). The default <command moreinfo="none" lang="en">init</command> state is defined in the <filename moreinfo="none" lang="en">/etc/inittab</filename> file. <indexterm significance="normal" id="startup-ix1048" lang="en"><primary lang="en">inittab file</primary></indexterm> <indexterm significance="normal" id="startup-ix1049" lang="en"><primary lang="en">/etc/inittab file</primary></indexterm></para></listitem></itemizedlist><itemizedlist lang="en" mark="bullet"><listitem lang="en"><para lang="en">The SunOS release 5.6 <command moreinfo="none" lang="en">init</command> command uses a different script for each run level instead of grouping all the run levels together in the <filename moreinfo="none" lang="en">/etc/rc</filename>, <filename moreinfo="none" lang="en">/etc/rc.boot</filename>, and <filename moreinfo="none" lang="en">/etc/rc.local</filename> files. The files, named by run level, are located in the <filename moreinfo="none" lang="en">/sbin</filename> directory.  <indexterm significance="normal" id="startup-ix1050" lang="en"><primary lang="en">scripts</primary><secondary lang="en">rc</secondary></indexterm> <indexterm significance="normal" id="startup-ix1051" lang="en"><primary lang="en">/sbin/rc scripts</primary></indexterm> <indexterm significance="normal" id="startup-ix1052" lang="en"><primary lang="en">rc scripts</primary></indexterm></para></listitem></itemizedlist><para lang="en"><olink targetpartnumber="802-5750"><citetitle lang="en">System Administration Guide</citetitle></olink> describes this command in detail. </para></sect2><sect2 id="startup-44371" lang="en"><title lang="en">Changing System Run Levels</title><para lang="en">The SunOS release 5.6 <command moreinfo="none" lang="en">init</command> command enables you to control the run level (initialization state) of your system and move easily between various modes of operation. The SunOS release 5.6 <filename moreinfo="none" lang="en">/sbin/rc</filename> scripts control each individual run level instead of putting all system states into one file. This enables you to make changes in a unique file if you create new scripts or modify existing ones. SunOS release 4.x systems controlled run levels using <filename moreinfo="none" lang="en">/etc/rc</filename>, <filename moreinfo="none" lang="en">/etc/rc.boot</filename>, and <filename moreinfo="none" lang="en">/etc/rc.local</filename> files. <indexterm significance="normal" id="startup-ix1053" lang="en"><primary lang="en">changing</primary><secondary lang="en">system run levels</secondary></indexterm> <indexterm significance="normal" id="startup-ix1054" lang="en"><primary lang="en">booting</primary></indexterm> <indexterm significance="normal" id="startup-ix1055" lang="en"><primary lang="en">startup</primary></indexterm> <indexterm significance="normal" id="startup-ix1056" lang="en"><primary lang="en">rc.local script</primary></indexterm> <indexterm significance="normal" id="startup-ix1057" lang="en"><primary lang="en">rc.boot script</primary></indexterm> <indexterm significance="normal" id="startup-ix1058" lang="en"><primary lang="en">/etc/rc.local script</primary></indexterm> <indexterm significance="normal" id="startup-ix1059" lang="en"><primary lang="en">/etc/rc.boot script</primary></indexterm> <indexterm significance="normal" id="startup-ix1060" lang="en"><primary lang="en">/etc/rc scripts</primary></indexterm></para><para lang="en">The SunOS release 4.x software had three run levels: prom monitor, single user, and multiuser. These correspond to run levels 0, 1, and 3 in the SunOS release 5.6 software. <indexterm significance="normal" id="startup-ix1061" lang="en"><primary lang="en">single-user run levels</primary></indexterm> <indexterm significance="normal" id="startup-ix1062" lang="en"><primary lang="en">/sbin/rc scripts</primary></indexterm> <indexterm significance="normal" id="startup-ix1063" lang="en"><primary lang="en">rc scripts</primary></indexterm> <indexterm significance="normal" id="startup-ix1064" lang="en"><primary lang="en">multiuser run levels</primary></indexterm></para><para lang="en"><link linkend="startup-60645" lang="en">Table 8-3</link> gives an overview of what each run level's <filename moreinfo="none" lang="en">/sbin/rc</filename> script does.</para><table frame="topbot" id="startup-60645" lang="en"><gentext type="text">Table 8-3 </gentext><title lang="en">SunOS release 5.6 System Initialization Run Levels</title><tgroup cols="2" colsep="0" rowsep="0" lang="en"><colspec colnum="1" colname="column1" colwidth="2*"/><colspec colnum="2" colname="column2" colwidth="7*"/><thead lang="en"><row rowsep="1" lang="en"><entry colname="column1" align="left" valign="bottom" lang="en"><para lang="en">Run Level</para></entry><entry colname="column2" align="left" valign="bottom" lang="en"><para lang="en">Default SunOS release 5.6 Function</para></entry></row></thead><tbody lang="en"><row lang="en"><entry colname="column1" align="left" valign="top" lang="en"><para lang="en">0</para></entry><entry colname="column2" align="left" valign="top" lang="en"><para lang="en">Shuts down the system so it is safe to turn off power.  Stops system services and daemons.  Terminates all running processes.  Unmounts all file systems.</para></entry></row><row lang="en"><entry colname="column1" align="left" valign="top" lang="en"><para lang="en">1</para></entry><entry colname="column2" align="left" valign="top" lang="en"><para lang="en">Single-user (system administrator) state for tasks that allow only one user on the system.  Stops system services and daemons.  Terminates all running processes.  Unmounts all file systems.</para></entry></row><row lang="en"><entry colname="column1" align="left" valign="top" lang="en"><para lang="en">2</para></entry><entry colname="column2" align="left" valign="top" lang="en"><para lang="en">Normal multiuser operation without NFS systems exported.  Sets the <replaceable lang="en">timezone</replaceable> variable.  Mounts the <filename moreinfo="none" lang="en">/usr</filename> file system.  Cleans up the <filename moreinfo="none" lang="en">/tmp</filename> and <filename moreinfo="none" lang="en">/var/tmp</filename> directories.  Loads the network interfaces and starts processes.  Starts the <filename moreinfo="none" lang="en">cron</filename> daemon.  Cleans
up the <filename moreinfo="none" lang="en">uucp</filename> tmp files.  Starts the <filename moreinfo="none" lang="en">lp</filename> system.  Starts the <filename moreinfo="none" lang="en">sendmail</filename> daemon.</para></entry></row><row lang="en"><entry colname="column1" align="left" valign="top" lang="en"><para lang="en">3</para></entry><entry colname="column2" align="left" valign="top" lang="en"><para lang="en">Normal multiuser operation of a file server with NFS systems exported.  Completes all of the tasks in run level 2.  Starts the NFS system daemons.</para></entry></row><row lang="en"><entry colname="column1" align="left" valign="top" lang="en"><para lang="en">4</para></entry><entry colname="column2" align="left" valign="top" lang="en"><para lang="en">Alternative multiuser state (not used).</para></entry></row><row lang="en"><entry colname="column1" align="left" valign="top" lang="en"><para lang="en">5</para></entry><entry colname="column2" align="left" valign="top" lang="en"><para lang="en">Software reboot,
prompts for a boot device other than the EEPROM default.</para></entry></row><row lang="en"><entry colname="column1" align="left" valign="top" lang="en"><para lang="en">r</para></entry><entry colname="column2" align="left" valign="top" lang="en"><para lang="en">Reboot.  Kills all active processes.  Unmounts the file systems and reboots to the <replaceable lang="en">initdefault</replaceable> entries in <filename moreinfo="none" lang="en">/etc/inittab</filename>. <indexterm significance="normal" id="startup-ix1065" lang="en"><primary lang="en">rc scripts</primary></indexterm> <indexterm significance="normal" id="startup-ix1066" lang="en"><primary lang="en">/sbin/rc scripts</primary></indexterm></para></entry></row><row lang="en"><entry colname="column1" align="left" valign="top" lang="en"><para lang="en">S,s <indexterm significance="normal" id="startup-ix1067" lang="en"><primary lang="en">single-user run levels</primary></indexterm> <indexterm significance="normal" id="startup-ix1068" lang="en"><primary lang="en">/sbin/rcS scripts</primary></indexterm> <indexterm significance="normal" id="startup-ix1069" lang="en"><primary lang="en">rcS script</primary></indexterm></para></entry><entry colname="column2" align="left" valign="top" lang="en"><para lang="en">Single-user state, running with some file systems mounted and accessible. <indexterm significance="normal" id="startup-ix1070" lang="en"><primary lang="en">changing</primary><secondary lang="en">system run levels</secondary></indexterm> <indexterm significance="normal" id="startup-ix1071" lang="en"><primary lang="en">init command</primary><secondary lang="en">using</secondary></indexterm> <indexterm significance="normal" id="startup-ix1072" lang="en"><primary lang="en">initialization states, changing</primary></indexterm> <indexterm significance="normal" id="startup-ix1073" lang="en"><primary lang="en">rc scripts</primary></indexterm> <indexterm significance="normal" id="startup-ix1074" lang="en"><primary lang="en">/sbin/init command</primary></indexterm> <indexterm significance="normal" id="startup-ix1075" lang="en"><primary lang="en">/sbin/rc scripts</primary></indexterm> <indexterm significance="normal" id="startup-ix1076" lang="en"><primary lang="en">scripts</primary><secondary lang="en">rc</secondary></indexterm></para></entry></row></tbody></tgroup></table></sect2></sect1><sect1 id="startup-29571" lang="en"><title lang="en">Shutting Down</title><para lang="en">Use the <command moreinfo="none" lang="en">shutdown</command>(1M) command when shutting down a system with multiple users. The command sends a warning to all logged-in users and, after 60 seconds, shuts the system down to single-user state. <indexterm significance="normal" id="startup-ix1077" lang="en"><primary lang="en">shutting down</primary><secondary lang="en">shutdown command</secondary></indexterm> <indexterm significance="normal" id="startup-ix1078" lang="en"><primary lang="en">shutdown command</primary></indexterm> <indexterm significance="normal" id="startup-ix1079" lang="en"><primary lang="en">multiuser systems, shutting down</primary></indexterm></para><itemizedlist lang="en" mark="bullet"><listitem lang="en"><para lang="en">The SunOS release 4.x <command moreinfo="none" lang="en">fasthalt</command> commands are available only on SunOS release 5.6 systems that have the SunOS /BSD Source Compatibility Package installed. <indexterm significance="normal" id="startup-ix1080" lang="en"><primary lang="en">shutting down</primary><secondary lang="en">fasthalt command</secondary></indexterm> <indexterm significance="normal" id="startup-ix1081" lang="en"><primary lang="en">fasthalt command</primary></indexterm></para></listitem></itemizedlist><itemizedlist lang="en" mark="bullet"><listitem lang="en"><para lang="en">The SunOS release 4.x <command moreinfo="none" lang="en">halt</command> and <command moreinfo="none" lang="en">reboot</command> commands have <command moreinfo="none" lang="en">shutdown</command> and <command moreinfo="none" lang="en">init</command> equivalents. <indexterm significance="normal" id="startup-ix1082" lang="en"><primary lang="en">shutting down</primary><secondary lang="en">reboot command</secondary></indexterm> <indexterm significance="normal" id="startup-ix1083" lang="en"><primary lang="en">shutting down</primary><secondary lang="en">halt command</secondary></indexterm> <indexterm significance="normal" id="startup-ix1084" lang="en"><primary lang="en">reboot command</primary></indexterm> <indexterm significance="normal" id="startup-ix1085" lang="en"><primary lang="en">halt command</primary></indexterm></para></listitem></itemizedlist><para lang="en">See <olink targetpartnumber="802-5750"><citetitle lang="en">System Administration Guide</citetitle></olink> for detailed descriptions of shutdown procedures. .</para><para lang="en">In the SunOS release 5.6 software, the <command moreinfo="none" lang="en">shutdown</command> command is the preferred way to halt or shut down a system. <command moreinfo="none" lang="en">shutdown</command> and <command moreinfo="none" lang="en">init</command> use <command moreinfo="none" lang="en">rc</command> scripts to kill running processes. While the <command moreinfo="none" lang="en">halt</command> command is available in the SunOS release 5.6 software, it stops the system quickly without shutting down services in an orderly way. <link linkend="startup-34844" lang="en">Table 8-4</link> shows the SunOS release 5.6 commands that replace those in the SunOS release 4.x system.  </para><table frame="topbot" id="startup-34844" lang="en"><gentext type="text">Table 8-4 </gentext><title lang="en">SunOS release 5.6 Replacements for <command moreinfo="none" lang="en">halt</command> and <command moreinfo="none" lang="en">fasthalt</command></title><tgroup cols="2" colsep="0" rowsep="0" lang="en"><colspec colnum="1" colname="column1" colwidth="5*"/><colspec colnum="2" colname="column2" colwidth="5*"/><thead lang="en"><row rowsep="1" lang="en"><entry colname="column1" align="left" valign="bottom" lang="en"><para lang="en">SunOS release 4.x Command</para></entry><entry colname="column2" align="left" valign="bottom" lang="en"><para lang="en">SunOS release 5.6 Command Replacement</para></entry></row></thead><tbody lang="en"><row lang="en"><entry colname="column1" align="left" valign="top" lang="en"><para lang="en"><command moreinfo="none" lang="en">halt</command></para></entry><entry colname="column2" align="left" valign="top" lang="en"><para lang="en"><command moreinfo="none" lang="en">shutdown -i 0</command>, <command moreinfo="none" lang="en">init 0</command></para></entry></row><row lang="en"><entry colname="column1" align="left" valign="top" lang="en"><para lang="en"><command moreinfo="none" lang="en">fasthalt</command></para></entry><entry colname="column2" align="left" valign="top" lang="en"><para lang="en"><command moreinfo="none" lang="en">shutdown
-i 0</command>, <command moreinfo="none" lang="en">init 0</command></para></entry></row></tbody></tgroup></table><para lang="en">The <command moreinfo="none" lang="en">shutdown</command> and <command moreinfo="none" lang="en">init</command> commands accept a numerical "run-level" argument that controls the shutdown sequence. See the <command moreinfo="none" lang="en">shutdown</command> and <command moreinfo="none" lang="en">init</command> man pages for information about the run-level numbers. <indexterm significance="normal" id="startup-ix1086" lang="en"><primary lang="en">multiuser systems, shutting down</primary></indexterm> <indexterm significance="normal" id="startup-ix1087" lang="en"><primary lang="en">shutdown command</primary></indexterm> <indexterm significance="normal" id="startup-ix1088" lang="en"><primary lang="en">shutting down</primary><secondary lang="en">shutdown command</secondary></indexterm></para><sect2 id="startup-5" lang="en"><title lang="en">Changes to the <command moreinfo="none" lang="en">shutdown</command> Command</title><para lang="en">The SunOS release 5.6 <command moreinfo="none" lang="en">shutdown</command> command includes only the options in <link linkend="startup-26660" lang="en">Table 8-5</link>. This command and its options are described in <olink targetpartnumber="802-5750"><citetitle lang="en">System Administration Guide</citetitle></olink>.</para><table frame="topbot" id="startup-26660" lang="en"><gentext type="text">Table 8-5 </gentext><title lang="en">SunOS release 5.6 <command moreinfo="none" lang="en">shutdown</command> Command Options</title><tgroup cols="2" colsep="0" rowsep="0" lang="en"><colspec colnum="1" colname="column1" colwidth="2*"/><colspec colnum="2" colname="column2" colwidth="7*"/><thead lang="en"><row rowsep="1" lang="en"><entry colname="column1" align="left" valign="bottom" lang="en"><para lang="en">Option</para></entry><entry colname="column2" align="left" valign="bottom" lang="en"><para lang="en">Description</para></entry></row></thead><tbody lang="en"><row lang="en"><entry colname="column1" align="left" valign="top" lang="en"><para lang="en"><option lang="en"><gentext type="text">-</gentext>g</option></para></entry><entry colname="column2" align="left" valign="top" lang="en"><para lang="en">Selects "grace" period before <command moreinfo="none" lang="en">shutdown</command> begins.</para></entry></row><row lang="en"><entry colname="column1" align="left" valign="top" lang="en"><para lang="en"><option lang="en"><gentext type="text">-</gentext>i</option> [<replaceable lang="en">init state</replaceable>]</para></entry><entry colname="column2" align="left" valign="top" lang="en"><para lang="en">Specifies
an initial run level (see <link linkend="startup-60645" lang="en">Table 8-3</link>).</para></entry></row><row lang="en"><entry colname="column1" align="left" valign="top" lang="en"><para lang="en"><option lang="en"><gentext type="text">-</gentext>y</option></para></entry><entry colname="column2" align="left" valign="top" lang="en"><para lang="en">Runs <command moreinfo="none" lang="en">shutdown</command> without asking confirmation questions.</para><para lang="en">Assumes a "yes" response to all questions.</para></entry></row><row lang="en"><entry colname="column1" align="left" valign="top" lang="en"><para lang="en"><option lang="en"><gentext type="text">-</gentext>message</option></para></entry><entry colname="column2" align="left" valign="top" lang="en"><para lang="en">Specifies user-supported message. If more than one word, use quotes around the message.</para></entry></row></tbody></tgroup></table><para lang="en">By default, the SunOS release 5.6 <command moreinfo="none" lang="en">shutdown</command> command asks you to confirm before an actual <command moreinfo="none" lang="en">shutdown</command> begins. You can use the <option lang="en"><gentext type="text">-</gentext>y</option> option to run it without operator intervention.</para><para lang="en">The <command moreinfo="none" lang="en">shutdown</command> options are available only in BSD source compatibility mode on Solaris 2.6 systems.</para><para lang="en">See <link linkend="apxa-68645" lang="en">Appendix A, Commands Reference Table</link>, for a summary of changes. See <command moreinfo="none" lang="en">shutdown</command>(1M) for information about how the command works.</para></sect2><sect2 id="startup-6" lang="en"><title lang="en">Using the <command moreinfo="none" lang="en">fasthalt</command> and <command moreinfo="none" lang="en">fastboot</command> Commands</title><para lang="en">The SunOS release 4.x <command moreinfo="none" lang="en">fastboot</command> and <command moreinfo="none" lang="en">fasthalt</command> commands are available if you are running the SunOS/BSD Source Compatibility Package on Solaris 2.6 systems. The file-system checking features of these commands are not appropriate to a Solaris 2.6 system. <indexterm significance="normal" id="startup-ix1089" lang="en"><primary lang="en">shutting down</primary><secondary lang="en">fasthalt command</secondary></indexterm> <indexterm significance="normal" id="startup-ix1090" lang="en"><primary lang="en">shutting down</primary><secondary lang="en">fastboot command</secondary></indexterm> <indexterm significance="normal" id="startup-ix1091" lang="en"><primary lang="en">fasthalt command</primary></indexterm> <indexterm significance="normal" id="startup-ix1092" lang="en"><primary lang="en">fastboot command</primary></indexterm></para></sect2><sect2 id="startup-7" lang="en"><title lang="en">Using the <command moreinfo="none" lang="en">halt</command> and <command moreinfo="none" lang="en">reboot</command> Commands</title><para lang="en">The <command moreinfo="none" lang="en">halt</command> and <command moreinfo="none" lang="en">reboot</command> commands do not run the <command moreinfo="none" lang="en">rc</command> scripts in <filename moreinfo="none" lang="en">/sbin</filename>, so they are not recommended. Since the <command moreinfo="none" lang="en">halt</command> and <command moreinfo="none" lang="en">reboot</command> commands in SunOS release 5.6 systems are not available on other AT&amp;T SVR4 systems, both commands have <command moreinfo="none" lang="en">shutdown</command> and <command moreinfo="none" lang="en">init</command> equivalents. <indexterm significance="normal" id="startup-ix1093" lang="en"><primary lang="en">shutting down</primary><secondary lang="en">reboot command</secondary></indexterm> <indexterm significance="normal" id="startup-ix1094" lang="en"><primary lang="en">shutting down</primary><secondary lang="en">halt command</secondary></indexterm> <indexterm significance="normal" id="startup-ix1095" lang="en"><primary lang="en">reboot command</primary></indexterm> <indexterm significance="normal" id="startup-ix1096" lang="en"><primary lang="en">halt command</primary></indexterm></para></sect2></sect1></chapter><chapter id="fsadm-43404" lang="en"><gentext type="text">Chapter 9</gentext><gentext type="toc">9.  File System Administration</gentext><title lang="en">File System Administration</title><highlights lang="en"><para lang="en">This chapter familiarizes you with changes to file system layout and the changes to file systems, virtual file systems, directories, and files. The chapter also describes changes to file system administration including:</para><itemizedlist lang="en" mark="bullet"><listitem lang="en"><para lang="en">Mounting file systems</para></listitem><listitem lang="en"><para lang="en">Monitoring file systems</para></listitem><listitem lang="en"><para lang="en">Sharing file systems</para></listitem><listitem lang="en"><para lang="en">Creating new file systems</para></listitem><listitem lang="en"><para lang="en">Checking file systems</para></listitem><listitem lang="en"><para lang="en">Backing up and restoring files</para></listitem></itemizedlist><itemizedlist lang="en" mark="bullet"><listitem lang="en"><para lang="en"><link linkend="fsadm-65196" lang="en">"File System Changes"</link></para></listitem><listitem lang="en"><para lang="en"><link linkend="fsadm-26658" lang="en">"Default File Systems and Directories"</link></para></listitem><listitem lang="en"><para lang="en"><link linkend="fsadm-19196" lang="en">"Virtual File System Architecture"</link></para></listitem><listitem lang="en"><para lang="en"><link linkend="fsadm-52187" lang="en">"Directory and File Changes"</link></para></listitem><listitem lang="en"><para lang="en"><link linkend="fsadm-37665" lang="en">" Using File System Administration Commands"</link></para></listitem></itemizedlist><para lang="en">For more information on understanding and managing file systems, see <olink targetpartnumber="802-5750"><citetitle lang="en">System Administration Guide</citetitle></olink>. </para></highlights><indexterm significance="normal" id="fsadm-ix1097" lang="en"><primary lang="en">file systems</primary></indexterm><sect1 id="fsadm-65196" lang="en"><title lang="en">File System Changes</title><para lang="en">SunOS release 5.6 and SunOS release 4.x file systems are similar, but there are changes in the locations and names of system directories and files. There are also new file systems and new pseudo file systems, and one directory was removed. <indexterm significance="normal" id="fsadm-ix1098" lang="en"><primary lang="en">file systems</primary><secondary lang="en">changes in</secondary><tertiary lang="en">names</tertiary></indexterm> <indexterm significance="normal" id="fsadm-ix1099" lang="en"><primary lang="en">file systems</primary><secondary lang="en">changes in</secondary><tertiary lang="en">location</tertiary></indexterm> <indexterm significance="normal" id="fsadm-ix1100" lang="en"><primary lang="en">file systems</primary><secondary lang="en">changes in</secondary></indexterm> <indexterm significance="normal" id="fsadm-ix1101" lang="en"><primary lang="en">directories</primary><secondary lang="en">names</secondary></indexterm> <indexterm significance="normal" id="fsadm-ix1102" lang="en"><primary lang="en">directories</primary><secondary lang="en">changes in</secondary></indexterm> <indexterm significance="normal" id="fsadm-ix1103" lang="en"><primary lang="en">files</primary><secondary lang="en">names</secondary></indexterm> <indexterm significance="normal" id="fsadm-ix1104" lang="en"><primary lang="en">names</primary><secondary lang="en">directories</secondary></indexterm> <indexterm significance="normal" id="fsadm-ix1105" lang="en"><primary lang="en">names</primary><secondary lang="en">file</secondary></indexterm></para><para lang="en">Some of the changes to file system locations and names are: </para><itemizedlist lang="en" mark="bullet"><listitem lang="en"><para lang="en">The <filename moreinfo="none" lang="en">/dev</filename> directory has changed from a flat directory to a hierarchical one.</para></listitem></itemizedlist><itemizedlist lang="en" mark="bullet"><listitem lang="en"><para lang="en">The <filename moreinfo="none" lang="en">/etc</filename> directory has changed and contains specific system configuration information. Several files and subdirectories have been added, removed, or changed. <indexterm significance="normal" id="fsadm-ix1106" lang="en"><primary lang="en">/etc directory</primary><secondary lang="en">changes in</secondary></indexterm></para></listitem></itemizedlist><itemizedlist lang="en" mark="bullet"><listitem lang="en"><para lang="en">The <filename moreinfo="none" lang="en">/etc/vfstab</filename> tab file replaces <filename moreinfo="none" lang="en">/etc/fstab</filename>.</para></listitem></itemizedlist><itemizedlist lang="en" mark="bullet"><listitem lang="en"><para lang="en">The <filename moreinfo="none" lang="en">/etc/lp</filename> directory replaces <filename moreinfo="none" lang="en">/etc/printcap</filename>. <indexterm significance="normal" id="fsadm-ix1107" lang="en"><primary lang="en">/etc/printcap database, replacement of</primary></indexterm> <indexterm significance="normal" id="fsadm-ix1108" lang="en"><primary lang="en">/etc/lp directory</primary></indexterm> <indexterm significance="normal" id="fsadm-ix1109" lang="en"><primary lang="en">databases</primary><secondary lang="en">printcap</secondary></indexterm></para></listitem></itemizedlist><itemizedlist lang="en" mark="bullet"><listitem lang="en"><para lang="en">The SunOS release 5.6 <filename moreinfo="none" lang="en">/sbin</filename> directory contains the <command moreinfo="none" lang="en">rc</command> scripts used to alter system run levels as well as the <command moreinfo="none" lang="en">rcs</command> script used to initialize the system prior to mounting file systems. <indexterm significance="normal" id="fsadm-ix1110" lang="en"><primary lang="en">/sbin/rc scripts</primary></indexterm> <indexterm significance="normal" id="fsadm-ix1111" lang="en"><primary lang="en">/sbin/rc scripts</primary></indexterm> <indexterm significance="normal" id="fsadm-ix1112" lang="en"><primary lang="en">/sbin directory</primary><secondary lang="en">changes in</secondary></indexterm> <indexterm significance="normal" id="fsadm-ix1113" lang="en"><primary lang="en">rcS script</primary></indexterm> <indexterm significance="normal" id="fsadm-ix1114" lang="en"><primary lang="en">rc scripts</primary></indexterm> <indexterm significance="normal" id="fsadm-ix1115" lang="en"><primary lang="en">/sbin/rcS scripts scripts</primary></indexterm> <indexterm significance="normal" id="fsadm-ix1116" lang="en"><primary lang="en">scripts</primary><secondary lang="en">rc</secondary></indexterm></para></listitem></itemizedlist><itemizedlist lang="en" mark="bullet"><listitem lang="en"><para lang="en">The SunOS release 5.6 <filename moreinfo="none" lang="en">/usr</filename> directory contains sharable files and executables provided by the system. <indexterm significance="normal" id="fsadm-ix1117" lang="en"><primary lang="en">/usr directory</primary><secondary lang="en">described</secondary></indexterm></para></listitem></itemizedlist><itemizedlist lang="en" mark="bullet"><listitem lang="en"><para lang="en">The <filename moreinfo="none" lang="en">/var</filename> directory contains files that change size during normal operation. Several files and subdirectories in the <command moreinfo="none" lang="en">/var</command> directory have been added, removed, or changed. <indexterm significance="normal" id="fsadm-ix1118" lang="en"><primary lang="en">/var directory</primary><secondary lang="en">described</secondary></indexterm> <indexterm significance="normal" id="fsadm-ix1119" lang="en"><primary lang="en">/var directory</primary><secondary lang="en">changes in</secondary></indexterm></para></listitem></itemizedlist><itemizedlist lang="en" mark="bullet"><listitem lang="en"><para lang="en">The <filename moreinfo="none" lang="en">/var/mail</filename> directory replaces <filename moreinfo="none" lang="en">/var/spool/mail</filename>. <indexterm significance="normal" id="fsadm-ix1120" lang="en"><primary lang="en">/var/spool/mail directory</primary></indexterm> <indexterm significance="normal" id="fsadm-ix1121" lang="en"><primary lang="en">/var/mail directory</primary></indexterm></para></listitem></itemizedlist><itemizedlist lang="en" mark="bullet"><listitem lang="en"><para lang="en">The <filename moreinfo="none" lang="en">/sys</filename> directory is no longer needed because the kernel is dynamically loaded. <indexterm significance="normal" id="fsadm-ix1122" lang="en"><primary lang="en">/sys directory</primary></indexterm> <indexterm significance="normal" id="fsadm-ix1123" lang="en"><primary lang="en">/sys</primary></indexterm></para></listitem></itemizedlist><itemizedlist lang="en" mark="bullet"><listitem lang="en"><para lang="en">The <filename moreinfo="none" lang="en">/RFS</filename> file system has been removed. <indexterm significance="normal" id="fsadm-ix1124" lang="en"><primary lang="en">/RFS file system</primary></indexterm></para></listitem></itemizedlist><itemizedlist lang="en" mark="bullet"><listitem lang="en"><para lang="en">The <filename moreinfo="none" lang="en">terminfo</filename> database replaces <filename moreinfo="none" lang="en">termcap</filename>. <indexterm significance="normal" id="fsadm-ix1125" lang="en"><primary lang="en">/usr/share/lib/terminfo database</primary></indexterm> <indexterm significance="normal" id="fsadm-ix1126" lang="en"><primary lang="en">terminfo database</primary></indexterm> <indexterm significance="normal" id="fsadm-ix1127" lang="en"><primary lang="en">termcap database</primary></indexterm> <indexterm significance="normal" id="fsadm-ix1128" lang="en"><primary lang="en">databases</primary><secondary lang="en">terminfo</secondary></indexterm> <indexterm significance="normal" id="fsadm-ix1129" lang="en"><primary lang="en">databases</primary><secondary lang="en">termcap</secondary></indexterm></para></listitem></itemizedlist><sect2 id="fsadm-1" lang="en"><title lang="en">Pseudo File Systems</title><para lang="en">The TFS pseudo file system is not included in the SunOS release 5.6 software. <indexterm significance="normal" id="fsadm-ix1130" lang="en"><primary lang="en">translucent file system (TFS)</primary></indexterm> <indexterm significance="normal" id="fsadm-ix1131" lang="en"><primary lang="en">TFS (translucent file system)</primary></indexterm> <indexterm significance="normal" id="fsadm-ix1132" lang="en"><primary lang="en">pseudo file systems</primary></indexterm> <indexterm significance="normal" id="fsadm-ix1133" lang="en"><primary lang="en">file systems</primary><secondary lang="en">pseudo</secondary></indexterm></para><para lang="en">The added pseudo file systems are:</para><itemizedlist lang="en" mark="bullet"><listitem lang="en"><para lang="en">The CACHEFS pseudo file system can be used to improve performance of slow devices such as CD-ROM. <indexterm significance="normal" id="fsadm-ix1134" lang="en"><primary lang="en">speed of devices, improving</primary></indexterm> <indexterm significance="normal" id="fsadm-ix1135" lang="en"><primary lang="en">slow devices, improving performance</primary></indexterm> <indexterm significance="normal" id="fsadm-ix1136" lang="en"><primary lang="en">device administration</primary><secondary lang="en">improving performance</secondary></indexterm> <indexterm significance="normal" id="fsadm-ix1137" lang="en"><primary lang="en">CD-ROM devices</primary><secondary lang="en">improving performance</secondary></indexterm> <indexterm significance="normal" id="fsadm-ix1138" lang="en"><primary lang="en">CACHEFS (cache file system)</primary></indexterm></para></listitem></itemizedlist><itemizedlist lang="en" mark="bullet"><listitem lang="en"><para lang="en">The PROCFS pseudo file system resides in memory and contains a list of active processes, by process number, in the <filename moreinfo="none" lang="en">/proc</filename> directory. See the <command moreinfo="none" lang="en">proc</command>(4) man page. <indexterm significance="normal" id="fsadm-ix1139" lang="en"><primary lang="en">PROCFS (process access file system)</primary></indexterm> <indexterm significance="normal" id="fsadm-ix1140" lang="en"><primary lang="en">process management</primary><secondary lang="en">pseudo file systems for</secondary></indexterm> <indexterm significance="normal" id="fsadm-ix1141" lang="en"><primary lang="en">/proc directory</primary></indexterm></para></listitem></itemizedlist><itemizedlist lang="en" mark="bullet"><listitem lang="en"><para lang="en">The FDFS pseudo file system provides explicit names for opening files using file descriptors. <indexterm significance="normal" id="fsadm-ix1142" lang="en"><primary lang="en">opening files, using file descriptors</primary></indexterm> <indexterm significance="normal" id="fsadm-ix1143" lang="en"><primary lang="en">names</primary><secondary lang="en">explicit, for opening files using file descriptors</secondary></indexterm> <indexterm significance="normal" id="fsadm-ix1144" lang="en"><primary lang="en">files</primary><secondary lang="en">opening using file descriptors</secondary></indexterm> <indexterm significance="normal" id="fsadm-ix1145" lang="en"><primary lang="en">file descriptor file system (FDFS)</primary></indexterm> <indexterm significance="normal" id="fsadm-ix1146" lang="en"><primary lang="en">FDFS (file descriptor file system)</primary></indexterm></para></listitem></itemizedlist><itemizedlist lang="en" mark="bullet"><listitem lang="en"><para lang="en">The FIFOFS pseudo file system contains pipe files that give processes common access to data. <indexterm significance="normal" id="fsadm-ix1147" lang="en"><primary lang="en">pipe files, pseudo file system for</primary></indexterm> <indexterm significance="normal" id="fsadm-ix1148" lang="en"><primary lang="en">files</primary><secondary lang="en">pipe, pseudo file system for</secondary></indexterm> <indexterm significance="normal" id="fsadm-ix1149" lang="en"><primary lang="en">FIFOFS (FIFO/pipe file system)</primary></indexterm> <indexterm significance="normal" id="fsadm-ix1150" lang="en"><primary lang="en">data access, common</primary></indexterm></para></listitem></itemizedlist><itemizedlist lang="en" mark="bullet"><listitem lang="en"><para lang="en">The NAMEFS pseudo file system is used mostly by STREAMS for dynamic mounts of file descriptors on top of files. <indexterm significance="normal" id="fsadm-ix1151" lang="en"><primary lang="en">STREAMS</primary><secondary lang="en">pseudo file system for</secondary></indexterm> <indexterm significance="normal" id="fsadm-ix1152" lang="en"><primary lang="en">NAMEFS (name file system)</primary></indexterm></para></listitem></itemizedlist><itemizedlist lang="en" mark="bullet"><listitem lang="en"><para lang="en">The SWAPFS pseudo file system is the default swap device when the system boots or you create additional swap space. <indexterm significance="normal" id="fsadm-ix1153" lang="en"><primary lang="en">SWAPFS (swap file system)</primary></indexterm> <indexterm significance="normal" id="fsadm-ix1154" lang="en"><primary lang="en">swap device, default</primary></indexterm> <indexterm significance="normal" id="fsadm-ix1155" lang="en"><primary lang="en">defaults</primary><secondary lang="en">swap device</secondary></indexterm> <indexterm significance="normal" id="fsadm-ix1156" lang="en"><primary lang="en">file systems</primary><secondary lang="en">pseudo</secondary></indexterm> <indexterm significance="normal" id="fsadm-ix1157" lang="en"><primary lang="en">pseudo file systems</primary></indexterm></para></listitem></itemizedlist></sect2><sect2 id="fsadm-2" lang="en"><title lang="en">Added File Systems</title><para lang="en">The following file systems are included in the SunOS release 5.6 directory structure: <indexterm significance="normal" id="fsadm-ix1158" lang="en"><primary lang="en">file systems</primary><secondary lang="en">added</secondary></indexterm></para><itemizedlist lang="en" mark="bullet"><listitem lang="en"><para lang="en">The kernel (now called <filename moreinfo="none" lang="en">unix</filename>) and the kernel modules are stored in the <filename moreinfo="none" lang="en">/kernel</filename> directory. <indexterm significance="normal" id="fsadm-ix1159" lang="en"><primary lang="en">unix kernel name</primary></indexterm> <indexterm significance="normal" id="fsadm-ix1160" lang="en"><primary lang="en">/kernel directory</primary></indexterm> <indexterm significance="normal" id="fsadm-ix1161" lang="en"><primary lang="en">kernel</primary></indexterm> <indexterm significance="normal" id="fsadm-ix1162" lang="en"><primary lang="en">unix</primary></indexterm> <indexterm significance="normal" id="fsadm-ix1163" lang="en"><primary lang="en">kernel</primary><secondary lang="en">modules</secondary></indexterm> <indexterm significance="normal" id="fsadm-ix1164" lang="en"><primary lang="en">/kernel</primary></indexterm></para></listitem></itemizedlist><itemizedlist lang="en" mark="bullet"><listitem lang="en"><para lang="en">The optional <filename moreinfo="none" lang="en">/opt</filename> file system can be used to store third-party or unbundled software. If <filename moreinfo="none" lang="en">/opt</filename> is not a separate file system, it may be a symbolic link to <filename moreinfo="none" lang="en">/usr/opt</filename>. <indexterm significance="normal" id="fsadm-ix1165" lang="en"><primary lang="en">unbundled software, file system for</primary></indexterm> <indexterm significance="normal" id="fsadm-ix1166" lang="en"><primary lang="en">third-party software, file system for</primary></indexterm> <indexterm significance="normal" id="fsadm-ix1167" lang="en"><primary lang="en">software</primary><secondary lang="en">third-party and unbundled</secondary></indexterm> <indexterm significance="normal" id="fsadm-ix1168" lang="en"><primary lang="en">/opt file system</primary></indexterm> <indexterm significance="normal" id="fsadm-ix1169" lang="en"><primary lang="en">/opt</primary></indexterm> <indexterm significance="normal" id="fsadm-ix1170" lang="en"><primary lang="en">unbundled software</primary></indexterm> <indexterm significance="normal" id="fsadm-ix1171" lang="en"><primary lang="en">/usr/opt file</primary></indexterm> <indexterm significance="normal" id="fsadm-ix1172" lang="en"><primary lang="en">/usr/opt</primary></indexterm></para></listitem></itemizedlist><itemizedlist lang="en" mark="bullet"><listitem lang="en"><para lang="en">The <filename moreinfo="none" lang="en">/vol</filename> file system provides the default file system for the Volume Management daemon, <command moreinfo="none" lang="en">vold</command>(1M). See the <command moreinfo="none" lang="en">volfs</command>(7) man page. <indexterm significance="normal" id="fsadm-ix1173" lang="en"><primary lang="en">vold command</primary></indexterm> <indexterm significance="normal" id="fsadm-ix1174" lang="en"><primary lang="en">/vol file system</primary></indexterm> <indexterm significance="normal" id="fsadm-ix1175" lang="en"><primary lang="en">Volume Management</primary><secondary lang="en">default file system for</secondary></indexterm> <indexterm significance="normal" id="fsadm-ix1176" lang="en"><primary lang="en">device administration</primary><secondary lang="en">Volume Management for</secondary></indexterm> <indexterm significance="normal" id="fsadm-ix1177" lang="en"><primary lang="en">defaults</primary><secondary lang="en">Volume Management file system</secondary></indexterm> <indexterm significance="normal" id="fsadm-ix1178" lang="en"><primary lang="en">file systems</primary><secondary lang="en">changes in</secondary></indexterm></para></listitem></itemizedlist></sect2></sect1><sect1 id="fsadm-26658" lang="en"><title lang="en">Default File Systems and Directories</title><para lang="en">The SunOS release 5.6 file system is hierarchical. <link linkend="fsadm-fig-3" lang="en">Figure 9-1</link> graphically depicts SunOS release 5.6 default directories and file systems (indicated by dotted lines). Subdirectories shown are just a sample of what the directory or file system actually holds. <link linkend="fsadm-42109" lang="en">Table 9-1</link> gives a brief description of each.</para><indexterm significance="normal" id="fsadm-ix1179" lang="en"><primary lang="en">file systems</primary><secondary lang="en">default</secondary></indexterm><indexterm significance="normal" id="fsadm-ix1180" lang="en"><primary lang="en">directories</primary><secondary lang="en">default</secondary></indexterm><indexterm significance="normal" id="fsadm-ix1181" lang="en"><primary lang="en">defaults</primary><secondary lang="en">file systems</secondary></indexterm><indexterm significance="normal" id="fsadm-ix1182" lang="en"><primary lang="en">defaults</primary><secondary lang="en">directories</secondary></indexterm><figure float="0" id="fsadm-fig-3" lang="en"><gentext type="text">Figure 9-1 </gentext><title id="fsadm-21058" lang="en">Solaris 2.6 Default File Systems and Directory Hierarchy</title><graphic filename="figures/fs_adm.fig344.epsi.gif" width="550" depth="777" scale="70" id="gr5" lang="en"/></figure><para lang="en">The Solaris 2.6 software contains a default set of file systems and directories, and uses a set of conventions to group similar types of files together. <link linkend="fsadm-42109" lang="en">Table 9-1</link> lists the default file systems and directories with a brief description.</para><table frame="topbot" id="fsadm-42109" lang="en"><gentext type="text">Table 9-1 </gentext><title lang="en">Solaris 2.6 File Systems and Directories</title><tgroup cols="3" colsep="0" rowsep="0" lang="en"><colspec colnum="1" colname="column1" colwidth="2*"/><colspec colnum="2" colname="column2" colwidth="1*"/><colspec colnum="3" colname="column3" colwidth="6*"/><thead lang="en"><row rowsep="1" lang="en"><entry colname="column1" align="left" valign="bottom" lang="en"><para lang="en">File System or Directory</para></entry><entry colname="column2" align="left" valign="bottom" lang="en"><para lang="en">Type</para></entry><entry colname="column3" align="left" valign="bottom" lang="en"><para lang="en">Description</para></entry></row></thead><tbody lang="en"><row lang="en"><entry colname="column1" align="left" valign="top" lang="en"><para lang="en"><filename moreinfo="none" lang="en">/</filename> <indexterm significance="normal" id="fsadm-ix1183" lang="en"><primary lang="en">root file system (/)</primary></indexterm> <indexterm significance="normal" id="fsadm-ix1184" lang="en"><primary lang="en">/ file system</primary></indexterm></para></entry><entry colname="column2" align="left" valign="top" lang="en"><para lang="en">File system</para></entry><entry colname="column3" align="left" valign="top" lang="en"><para lang="en">The top of the hierarchical file tree. The root directory contains the directories
and files critical for system operation, such as the kernel (<filename moreinfo="none" lang="en">/kernel/unix</filename>), the device drivers, and the programs used to boot the system. It also contains the mount point directories where local and remote file systems can be attached to the file tree.</para></entry></row><row lang="en"><entry colname="column1" align="left" valign="top" lang="en"><para lang="en"><filename moreinfo="none" lang="en">/etc</filename> <indexterm significance="normal" id="fsadm-ix1185" lang="en"><primary lang="en">/etc directory</primary><secondary lang="en">described</secondary></indexterm></para></entry><entry colname="column2" align="left" valign="top" lang="en"><para lang="en">Directory</para></entry><entry colname="column3" align="left" valign="top" lang="en"><para lang="en">Contains system files used in system administration</para></entry></row><row lang="en"><entry colname="column1" align="left" valign="top" lang="en"><para lang="en"><filename moreinfo="none" lang="en">/usr</filename> <indexterm significance="normal" id="fsadm-ix1186" lang="en"><primary lang="en">/usr file system</primary><secondary lang="en">described</secondary></indexterm></para></entry><entry colname="column2" align="left" valign="top" lang="en"><para lang="en">File system</para></entry><entry colname="column3" align="left" valign="top" lang="en"><para lang="en">Contains architecture-dependent and -independent sharable files. Files such as man pages that can be used on all types of systems are in <filename moreinfo="none" lang="en">/usr/share</filename>.</para></entry></row><row lang="en"><entry colname="column1" align="left" valign="top" lang="en"><para lang="en"><filename moreinfo="none" lang="en">/home</filename> <indexterm significance="normal" id="fsadm-ix1187" lang="en"><primary lang="en">/home file system</primary></indexterm></para></entry><entry colname="column2" align="left" valign="top" lang="en"><para lang="en">File system</para></entry><entry colname="column3" align="left" valign="top" lang="en"><para lang="en">The mount point for the users' home directories, which store users' work files. By default, <filename moreinfo="none" lang="en">/home</filename> is now an automounted file system. <indexterm significance="normal" id="fsadm-ix1188" lang="en"><primary lang="en">defaults</primary><secondary lang="en">automounting</secondary></indexterm></para></entry></row><row lang="en"><entry colname="column1" align="left" valign="top" lang="en"><para lang="en"><filename moreinfo="none" lang="en">/var</filename> <indexterm significance="normal" id="fsadm-ix1189" lang="en"><primary lang="en">/var directory</primary><secondary lang="en">described</secondary></indexterm></para></entry><entry colname="column2" align="left" valign="top" lang="en"><para lang="en">Directory</para></entry><entry colname="column3" align="left" valign="top" lang="en"><para lang="en">Contains system files and directories that are likely to change or grow over the life of the local system. These include system
logs, <filename moreinfo="none" lang="en">vi</filename> and <filename moreinfo="none" lang="en">ex</filename> backup files, and <filename moreinfo="none" lang="en">uucp</filename> files.</para></entry></row><row lang="en"><entry colname="column1" align="left" valign="top" lang="en"><para lang="en"><filename moreinfo="none" lang="en">/opt</filename> <indexterm significance="normal" id="fsadm-ix1190" lang="en"><primary lang="en">unbundled software, file system for</primary></indexterm> <indexterm significance="normal" id="fsadm-ix1191" lang="en"><primary lang="en">third-party software, file system for</primary></indexterm> <indexterm significance="normal" id="fsadm-ix1192" lang="en"><primary lang="en">software</primary><secondary lang="en">third-party and unbundled</secondary></indexterm> <indexterm significance="normal" id="fsadm-ix1193" lang="en"><primary lang="en">/opt file system</primary></indexterm></para></entry><entry colname="column2" align="left" valign="top" lang="en"><para lang="en">File system</para></entry><entry colname="column3" align="left" valign="top" lang="en"><para lang="en">Mount point for optional third-party software. On some systems <filename moreinfo="none" lang="en">/opt</filename> may be a UFS file system on a local disk partition.</para></entry></row><row lang="en"><entry colname="column1" align="left" valign="top" lang="en"><para lang="en"><filename moreinfo="none" lang="en">/tmp</filename> <indexterm significance="normal" id="fsadm-ix1194" lang="en"><primary lang="en">/tmp file system (TMPFS)</primary><secondary lang="en">described</secondary></indexterm></para></entry><entry colname="column2" align="left" valign="top" lang="en"><para lang="en">File system</para></entry><entry colname="column3" align="left" valign="top" lang="en"><para lang="en">Temporary files, cleared each time the system is booted or <filename moreinfo="none" lang="en">/tmp</filename> is unmounted</para></entry></row><row lang="en"><entry colname="column1" align="left" valign="top" lang="en"><para lang="en"><filename moreinfo="none" lang="en">/vol</filename> <indexterm significance="normal" id="fsadm-ix1195" lang="en"><primary lang="en">/vol file system</primary></indexterm></para></entry><entry colname="column2" align="left" valign="top" lang="en"><para lang="en">File system</para></entry><entry colname="column3" align="left" valign="top" lang="en"><para lang="en">Contains directories for removable media, managed by <command moreinfo="none" lang="en">vold</command>(1M)</para></entry></row><row lang="en"><entry colname="column1" align="left" valign="top" lang="en"><para lang="en"><filename moreinfo="none" lang="en">/proc</filename> <indexterm significance="normal" id="fsadm-ix1196" lang="en"><primary lang="en">/proc file system</primary></indexterm></para></entry><entry colname="column2" align="left" valign="top" lang="en"><para lang="en">File system</para></entry><entry colname="column3" align="left" valign="top" lang="en"><para lang="en">Contains a list of active system processes, by number. Does not use any disk space.</para></entry></row><row lang="en"><entry colname="column1" align="left" valign="top" lang="en"><para lang="en"><filename moreinfo="none" lang="en">/sbin</filename> <indexterm significance="normal" id="fsadm-ix1197" lang="en"><primary lang="en">/sbin directory</primary><secondary lang="en">described</secondary></indexterm></para></entry><entry colname="column2" align="left" valign="top" lang="en"><para lang="en">Directory</para></entry><entry colname="column3" align="left" valign="top" lang="en"><para lang="en">Essential executables used in the booting process and in manual system recovery <indexterm significance="normal" id="fsadm-ix1198" lang="en"><primary lang="en">defaults</primary><secondary lang="en">directories</secondary></indexterm> <indexterm significance="normal" id="fsadm-ix1199" lang="en"><primary lang="en">defaults</primary><secondary lang="en">file systems</secondary></indexterm> <indexterm significance="normal" id="fsadm-ix1200" lang="en"><primary lang="en">directories</primary><secondary lang="en">default</secondary></indexterm> <indexterm significance="normal" id="fsadm-ix1201" lang="en"><primary lang="en">file systems</primary><secondary lang="en">default</secondary></indexterm></para></entry></row></tbody></tgroup></table></sect1><sect1 id="fsadm-19196" lang="en"><title lang="en">Virtual File System Architecture</title><para lang="en">The SunOS release 5.6 software features a virtual file system (VFS) architecture that simplifies file system management for systems that support multiple file systems. <indexterm significance="normal" id="fsadm-ix1202" lang="en"><primary lang="en">virtual file-system architecture (VFS)</primary></indexterm> <indexterm significance="normal" id="fsadm-ix1203" lang="en"><primary lang="en">VFS (virtual file-system architecture)</primary></indexterm> <indexterm significance="normal" id="fsadm-ix1204" lang="en"><primary lang="en">file systems</primary><secondary lang="en">virtual architecture (VFS)</secondary></indexterm></para><para lang="en">Over the years, several different UNIX file systems were developed, with each  its own set of commands for file system management. Learning all the variations can be confusing and difficult. The SunOS release 5.6 software addresses this issue with a set of generic commands for file system management. These commands are a part of a common VFS interface that makes differences between file systems transparent with respect to maintenance. The subsections below list a summary of supported file systems and the generic file system commands.</para><sect2 id="fsadm-4" lang="en"><title lang="en">Supported File System Types</title><para lang="en">Most file system types included in the SunOS release 4.x software are also included in the SunOS release 5.6 software. There is one exception: The translucent file system (TFS) type has been withdrawn from the SunOS release 5.6 software. <link linkend="fsadm-63778" lang="en">Table 9-2</link> summarizes file-system type availability in the SunOS release 4.x and SunOS release 5.6 environment. <indexterm significance="normal" id="fsadm-ix1205" lang="en"><primary lang="en">file systems</primary><secondary lang="en">supported types</secondary></indexterm></para><table frame="topbot" id="fsadm-63778" lang="en"><gentext type="text">Table 9-2 </gentext><title lang="en">Summary of File System Types </title><tgroup cols="5" colsep="0" rowsep="0" lang="en"><colspec colnum="1" colname="column1" colwidth="2*"/><colspec colnum="2" colname="column2" colwidth="1*"/><colspec colnum="3" colname="column3" colwidth="3*"/><colspec colnum="4" colname="column4" colwidth="1*"/><colspec colnum="5" colname="column5" colwidth="1*"/><thead lang="en"><row rowsep="1" lang="en"><entry colname="column1" align="left" valign="bottom" lang="en"><para lang="en">Category</para></entry><entry colname="column2" align="left" valign="bottom" lang="en"><para lang="en">Name</para></entry><entry colname="column3" align="left" valign="bottom" lang="en"><para lang="en">Description</para></entry><entry colname="column4" align="left" valign="bottom" lang="en"><para lang="en">SunOS release 4.x</para></entry><entry colname="column5" align="left" valign="bottom" lang="en"><para lang="en">SunOS release 5.6</para></entry></row></thead><tbody lang="en"><row lang="en"><entry colname="column1" morerows="2" align="left" valign="top" lang="en"><para lang="en">Disk-based</para></entry><entry colname="column2" align="left" valign="top" lang="en"><para lang="en"><filename moreinfo="none" lang="en">UFS</filename> <indexterm significance="normal" id="fsadm-ix1206" lang="en"><primary lang="en">Unix file systems (UFS)</primary><secondary lang="en">support for</secondary></indexterm></para></entry><entry colname="column3" align="left" valign="top" lang="en"><para lang="en">UNIX file system</para></entry><entry colname="column4" align="left" valign="top" lang="en"><para lang="en">Yes</para></entry><entry colname="column5" align="left" valign="top" lang="en"><para lang="en">Yes</para></entry></row><row lang="en"><entry colname="column2" align="left" valign="top" lang="en"><para lang="en"><filename moreinfo="none" lang="en">HSFS</filename> <indexterm significance="normal" id="fsadm-ix1207" lang="en"><primary lang="en">HSFS (CD-ROM file system)</primary></indexterm> <indexterm significance="normal" id="fsadm-ix1208" lang="en"><primary lang="en">CD-ROM file system (HSFS)</primary></indexterm></para></entry><entry colname="column3" align="left" valign="top" lang="en"><para lang="en">CD-ROM file system</para></entry><entry colname="column4" align="left" valign="top" lang="en"><para lang="en">Yes</para></entry><entry colname="column5" align="left" valign="top" lang="en"><para lang="en">Yes</para></entry></row><row lang="en"><entry colname="column2" align="left" valign="top" lang="en"><para lang="en"><filename moreinfo="none" lang="en">PCFS</filename> <indexterm significance="normal" id="fsadm-ix1209" lang="en"><primary lang="en">PCFS (PC file system)</primary></indexterm></para></entry><entry colname="column3" align="left" valign="top" lang="en"><para lang="en">PC file system</para></entry><entry colname="column4" align="left" valign="top" lang="en"><para lang="en">Yes</para></entry><entry colname="column5" align="left" valign="top" lang="en"><para lang="en">Yes</para></entry></row><row lang="en"><entry colname="column1" align="left" valign="top" lang="en"><para lang="en">Network-based <indexterm significance="normal" id="fsadm-ix1210" lang="en"><primary lang="en">NFS</primary><secondary lang="en">support for</secondary></indexterm></para></entry><entry colname="column2" align="left" valign="top" lang="en"><para lang="en"><filename moreinfo="none" lang="en">NFS</filename></para></entry><entry colname="column3" align="left" valign="top" lang="en"><para lang="en">Sun's distributed computing file system</para></entry><entry colname="column4" align="left" valign="top" lang="en"><para lang="en">Yes</para></entry><entry colname="column5" align="left" valign="top" lang="en"><para lang="en">Yes</para></entry></row><row lang="en"><entry colname="column1" morerows="3" align="left" valign="top" lang="en"><para lang="en">Pseudo <indexterm significance="normal" id="fsadm-ix1211" lang="en"><primary lang="en">pseudo file systems</primary></indexterm> <indexterm significance="normal" id="fsadm-ix1212" lang="en"><primary lang="en">file systems</primary><secondary lang="en">pseudo</secondary></indexterm></para></entry><entry colname="column2" align="left" valign="top" lang="en"><para lang="en"><filename moreinfo="none" lang="en">SPECFS</filename> <indexterm significance="normal" id="fsadm-ix1213" lang="en"><primary lang="en">SPECFS (device special file system)</primary></indexterm> <indexterm significance="normal" id="fsadm-ix1214" lang="en"><primary lang="en">device special file system (SPECFS)</primary></indexterm></para></entry><entry colname="column3" align="left" valign="top" lang="en"><para lang="en">Device special file system</para></entry><entry colname="column4" align="left" valign="top" lang="en"><para lang="en">Yes</para></entry><entry colname="column5" align="left" valign="top" lang="en"><para lang="en">Yes</para></entry></row><row lang="en"><entry colname="column2" align="left" valign="top" lang="en"><para lang="en"><filename moreinfo="none" lang="en">TMPFS</filename> <indexterm significance="normal" id="fsadm-ix1215" lang="en"><primary lang="en">/tmp file system (TMPFS)</primary><secondary lang="en">support for</secondary></indexterm></para></entry><entry colname="column3" align="left" valign="top" lang="en"><para lang="en"><filename moreinfo="none" lang="en">/tmp</filename> temporary file system</para></entry><entry colname="column4" align="left" valign="top" lang="en"><para lang="en">Yes</para></entry><entry colname="column5" align="left" valign="top" lang="en"><para lang="en">Yes</para></entry></row><row lang="en"><entry colname="column2" align="left" valign="top" lang="en"><para lang="en"><filename moreinfo="none" lang="en">LOFS</filename> <indexterm significance="normal" id="fsadm-ix1216" lang="en"><primary lang="en">loopback file system (LOFS)</primary></indexterm> <indexterm significance="normal" id="fsadm-ix1217" lang="en"><primary lang="en">LOFS (loopback file system)</primary></indexterm></para></entry><entry colname="column3" align="left" valign="top" lang="en"><para lang="en">Loopback file system</para></entry><entry colname="column4" align="left" valign="top" lang="en"><para lang="en">Yes</para></entry><entry colname="column5" align="left" valign="top" lang="en"><para lang="en">Yes</para></entry></row><row lang="en"><entry colname="column2" align="left" valign="top" lang="en"><para lang="en"><filename moreinfo="none" lang="en">TFS</filename> <indexterm significance="normal" id="fsadm-ix1218" lang="en"><primary lang="en">translucent file system (TFS)</primary></indexterm> <indexterm significance="normal" id="fsadm-ix1219" lang="en"><primary lang="en">TFS (translucent file system)</primary></indexterm></para></entry><entry colname="column3" align="left" valign="top" lang="en"><para lang="en">Translucent file system</para></entry><entry colname="column4" align="left" valign="top" lang="en"><para lang="en">Yes</para></entry><entry colname="column5" align="left" valign="top" lang="en"><para lang="en">No</para></entry></row><row lang="en"><entry colname="column1" align="left" valign="top" lang="en"><para lang="en"/></entry><entry colname="column2" align="left" valign="top" lang="en"><para lang="en"><filename moreinfo="none" lang="en">PROCFS</filename> <indexterm significance="normal" id="fsadm-ix1220" lang="en"><primary lang="en">PROCFS (process access file system)</primary></indexterm></para></entry><entry colname="column3" align="left" valign="top" lang="en"><para lang="en">Process access file system</para></entry><entry colname="column4" align="left" valign="top" lang="en"><para lang="en">No</para></entry><entry colname="column5" align="left" valign="top" lang="en"><para lang="en">Yes</para></entry></row><row lang="en"><entry colname="column1" align="left" valign="top" lang="en"><para lang="en"/></entry><entry colname="column2" align="left" valign="top" lang="en"><para lang="en"><filename moreinfo="none" lang="en">FDFS</filename> <indexterm significance="normal" id="fsadm-ix1221" lang="en"><primary lang="en">file descriptor file system (FDFS)</primary></indexterm> <indexterm significance="normal" id="fsadm-ix1222" lang="en"><primary lang="en">FDFS (file descriptor file system)</primary></indexterm></para></entry><entry colname="column3" align="left" valign="top" lang="en"><para lang="en">File descriptor file system</para></entry><entry colname="column4" align="left" valign="top" lang="en"><para lang="en">No </para></entry><entry colname="column5" align="left" valign="top" lang="en"><para lang="en">Yes</para></entry></row><row lang="en"><entry colname="column1" align="left" valign="top" lang="en"><para lang="en"/></entry><entry colname="column2" align="left" valign="top" lang="en"><para lang="en"><filename moreinfo="none" lang="en">FIFOFS</filename> <indexterm significance="normal" id="fsadm-ix1223" lang="en"><primary lang="en">FIFOFS (FIFO/pipe file system)</primary></indexterm></para></entry><entry colname="column3" align="left" valign="top" lang="en"><para lang="en">FIFO/Pipe file system</para></entry><entry colname="column4" align="left" valign="top" lang="en"><para lang="en">No </para></entry><entry colname="column5" align="left" valign="top" lang="en"><para lang="en">Yes</para></entry></row><row lang="en"><entry colname="column1" align="left" valign="top" lang="en"><para lang="en"/></entry><entry colname="column2" align="left" valign="top" lang="en"><para lang="en"><filename moreinfo="none" lang="en">NAMEFS</filename> <indexterm significance="normal" id="fsadm-ix1224" lang="en"><primary lang="en">NAMEFS (name file system)</primary></indexterm></para></entry><entry colname="column3" align="left" valign="top" lang="en"><para lang="en">Name file system</para></entry><entry colname="column4" align="left" valign="top" lang="en"><para lang="en">No</para></entry><entry colname="column5" align="left" valign="top" lang="en"><para lang="en">Yes</para></entry></row><row lang="en"><entry colname="column1" align="left" valign="top" lang="en"><para lang="en"/></entry><entry colname="column2" align="left" valign="top" lang="en"><para lang="en"><filename moreinfo="none" lang="en">SWAPFS</filename> <indexterm significance="normal" id="fsadm-ix1225" lang="en"><primary lang="en">SWAPFS (swap file system)</primary></indexterm></para></entry><entry colname="column3" align="left" valign="top" lang="en"><para lang="en">Swap file system</para></entry><entry colname="column4" align="left" valign="top" lang="en"><para lang="en">No</para></entry><entry colname="column5" align="left" valign="top" lang="en"><para lang="en">Yes</para></entry></row><row lang="en"><entry colname="column1" align="left" valign="top" lang="en"><para lang="en"/></entry><entry colname="column2" align="left" valign="top" lang="en"><para lang="en"><filename moreinfo="none" lang="en">CACHEFS</filename> <indexterm significance="normal" id="fsadm-ix1226" lang="en"><primary lang="en">CACHEFS (cache file system)</primary></indexterm></para></entry><entry colname="column3" align="left" valign="top" lang="en"><para lang="en">Cache file system</para></entry><entry colname="column4" align="left" valign="top" lang="en"><para lang="en">No</para></entry><entry colname="column5" align="left" valign="top" lang="en"><para lang="en">Yes <indexterm significance="normal" id="fsadm-ix1227" lang="en"><primary lang="en">file systems</primary><secondary lang="en">pseudo</secondary></indexterm> <indexterm significance="normal" id="fsadm-ix1228" lang="en"><primary lang="en">pseudo file systems</primary></indexterm></para></entry></row></tbody></tgroup></table><para lang="en">For more information on file systems, see the <command moreinfo="none" lang="en">proc</command>(4) and <command moreinfo="none" lang="en">fd</command>(4) man pages and <olink targetpartnumber="802-5750"><citetitle lang="en">System Administration Guide</citetitle></olink>.</para><sect3 id="fsadm-5" lang="en"><title lang="en">Cache File System (<filename moreinfo="none" lang="en">CACHEFS</filename>)</title><para lang="en">The Cache File System can be used to improve performance of remote file systems or slow devices such as CD-ROM. When a file system is cached, the data read from the remote file system or CD-ROM is stored in a cache on the local system. <indexterm significance="normal" id="fsadm-ix1229" lang="en"><primary lang="en">slow devices, improving performance</primary></indexterm> <indexterm significance="normal" id="fsadm-ix1230" lang="en"><primary lang="en">device administration</primary><secondary lang="en">improving performance</secondary></indexterm> <indexterm significance="normal" id="fsadm-ix1231" lang="en"><primary lang="en">CACHEFS (cache file system)</primary></indexterm> <indexterm significance="normal" id="fsadm-ix1232" lang="en"><primary lang="en">CD-ROM devices</primary><secondary lang="en">improving performance</secondary></indexterm> <indexterm significance="normal" id="fsadm-ix1233" lang="en"><primary lang="en">speed of devices, improving</primary></indexterm></para></sect3><sect3 id="fsadm-6" lang="en"><title lang="en">Swap File Changes</title><para lang="en">In the SunOS release 5.6 software SWAPFS is the default swap device when the system boots or you create additional swap space. This swap device uses physical memory as swap space, but also requires physical swap space on disk. <indexterm significance="normal" id="fsadm-ix1234" lang="en"><primary lang="en">swap device, default</primary></indexterm> <indexterm significance="normal" id="fsadm-ix1235" lang="en"><primary lang="en">defaults</primary><secondary lang="en">swap device</secondary></indexterm> <indexterm significance="normal" id="fsadm-ix1236" lang="en"><primary lang="en">SWAPFS (swap file system)</primary></indexterm></para><para lang="en">In SunOS release 4.x systems, the default physical swap device depends on the system configuration. Standalone systems default to <filename moreinfo="none" lang="en">sd0b</filename> and diskless systems get their swap files from the <filename moreinfo="none" lang="en">bootparam</filename> server. The SunOS release 5.6 software uses the swap file as the default dump device instead of specifying a file on disk.</para></sect3></sect2><sect2 id="fsadm-7" lang="en"><title lang="en">Unsupported SVR4 File System Types</title><para lang="en"><link linkend="fsadm-20096" lang="en">Table 9-3</link> shows SVR4 file system types that are not supported in the SunOS release 5.6 software. <indexterm significance="normal" id="fsadm-ix1237" lang="en"><primary lang="en">SVR4</primary><secondary lang="en">unsupported file system types</secondary></indexterm> <indexterm significance="normal" id="fsadm-ix1238" lang="en"><primary lang="en">file systems</primary><secondary lang="en">unsupported SVR4</secondary></indexterm></para><table frame="topbot" id="fsadm-20096" lang="en"><gentext type="text">Table 9-3 </gentext><title lang="en">Not Supported SVR4 File System Types</title><tgroup cols="2" colsep="0" rowsep="0" lang="en"><colspec colnum="1" colname="column1" colwidth="2*"/><colspec colnum="2" colname="column2" colwidth="7*"/><thead lang="en"><row rowsep="1" lang="en"><entry colname="column1" align="left" valign="bottom" lang="en"><para lang="en">Name</para></entry><entry colname="column2" align="left" valign="bottom" lang="en"><para lang="en">Description</para></entry></row></thead><tbody lang="en"><row lang="en"><entry colname="column1" align="left" valign="top" lang="en"><para lang="en"><filename moreinfo="none" lang="en">BFS</filename> <indexterm significance="normal" id="fsadm-ix1239" lang="en"><primary lang="en">boot file system (BFS)</primary></indexterm> <indexterm significance="normal" id="fsadm-ix1240" lang="en"><primary lang="en">BFS (boot file system)</primary></indexterm></para></entry><entry colname="column2" align="left" valign="top" lang="en"><para lang="en">Boot file system</para></entry></row><row lang="en"><entry colname="column1" align="left" valign="top" lang="en"><para lang="en"><filename moreinfo="none" lang="en">S5</filename> <indexterm significance="normal" id="fsadm-ix1241" lang="en"><primary lang="en">System V file system (S5)</primary></indexterm> <indexterm significance="normal" id="fsadm-ix1242" lang="en"><primary lang="en">S5 (System V file system)</primary></indexterm> <indexterm significance="normal" id="fsadm-ix1243" lang="en"><primary lang="en">file systems</primary><secondary lang="en">System V</secondary></indexterm></para></entry><entry colname="column2" align="left" valign="top" lang="en"><para lang="en">System V file system</para></entry></row><row lang="en"><entry colname="column1" align="left" valign="top" lang="en"><para lang="en"><filename moreinfo="none" lang="en">xnamefs</filename> <indexterm significance="normal" id="fsadm-ix1244" lang="en"><primary lang="en">xnamefs</primary></indexterm> <indexterm significance="normal" id="fsadm-ix1245" lang="en"><primary lang="en">XENIX semaphore file system (xnamefs)</primary></indexterm></para></entry><entry colname="column2" align="left" valign="top" lang="en"><para lang="en">XENIX semaphore file system <indexterm significance="normal" id="fsadm-ix1246" lang="en"><primary lang="en">file systems</primary><secondary lang="en">supported types</secondary></indexterm></para></entry></row></tbody></tgroup></table></sect2><sect2 id="fsadm-53292" lang="en"><title lang="en">Generic File System Commands</title><para lang="en">Most file system administration commands have a generic and a file system component. Use the generic commands, which call the file system component. <link linkend="fsadm-66302" lang="en">Table 9-4</link> lists the generic file-system administrative commands, which are located in the <filename moreinfo="none" lang="en">/usr/bin</filename> directory. <indexterm significance="normal" id="fsadm-ix1247" lang="en"><primary lang="en">generic file system commands</primary></indexterm> <indexterm significance="normal" id="fsadm-ix1248" lang="en"><primary lang="en">file systems</primary><secondary lang="en">commands</secondary><tertiary lang="en">described</tertiary></indexterm> <indexterm significance="normal" id="fsadm-ix1249" lang="en"><primary lang="en">commands</primary><secondary lang="en">file system</secondary></indexterm> <indexterm significance="normal" id="fsadm-ix1250" lang="en"><primary lang="en">/usr/bin directory</primary><secondary lang="en">generic file system administrative commands in</secondary></indexterm> <indexterm significance="normal" id="fsadm-ix1251" lang="en"><primary lang="en">/usr/bin directory</primary><secondary lang="en">described</secondary></indexterm></para><table frame="topbot" id="fsadm-66302" lang="en"><gentext type="text">Table 9-4 </gentext><title lang="en">Generic File-System Administrative Commands </title><tgroup cols="2" colsep="0" rowsep="0" lang="en"><colspec colnum="1" colname="column1" colwidth="2*"/><colspec colnum="2" colname="column2" colwidth="7*"/><thead lang="en"><row rowsep="1" lang="en"><entry colname="column1" valign="bottom" lang="en"><para lang="en">Command</para></entry><entry colname="column2" align="left" valign="bottom" lang="en"><para lang="en">Description</para></entry></row></thead><tbody lang="en"><row lang="en"><entry colname="column1" align="left" valign="top" lang="en"><para lang="en"><command moreinfo="none" lang="en">clri</command>(1M) <indexterm significance="normal" id="fsadm-ix1252" lang="en"><primary lang="en">inodes, clearing</primary></indexterm> <indexterm significance="normal" id="fsadm-ix1253" lang="en"><primary lang="en">clri command</primary></indexterm> <indexterm significance="normal" id="fsadm-ix1254" lang="en"><primary lang="en">clearing inodes</primary></indexterm></para></entry><entry colname="column2" align="left" valign="top" lang="en"><para lang="en">Clears inodes</para></entry></row><row lang="en"><entry colname="column1" align="left" valign="top" lang="en"><para lang="en"><command moreinfo="none" lang="en">df</command>(1M) <indexterm significance="normal" id="fsadm-ix1255" lang="en"><primary lang="en">/usr/ucb/df command</primary></indexterm> <indexterm significance="normal" id="fsadm-ix1256" lang="en"><primary lang="en">information reporting</primary><secondary lang="en">disk devices</secondary></indexterm> <indexterm significance="normal" id="fsadm-ix1257" lang="en"><primary lang="en">files</primary><secondary lang="en">information reporting</secondary></indexterm> <indexterm significance="normal" id="fsadm-ix1258" lang="en"><primary lang="en">disk devices</primary><secondary lang="en">information reporting</secondary></indexterm> <indexterm significance="normal" id="fsadm-ix1259" lang="en"><primary lang="en">df command</primary></indexterm></para></entry><entry colname="column2" align="left" valign="top" lang="en"><para lang="en">Reports the number of free disk blocks and files</para></entry></row><row lang="en"><entry colname="column1" align="left" valign="top" lang="en"><para lang="en"><command moreinfo="none" lang="en">ff</command>(1M) <indexterm significance="normal" id="fsadm-ix1260" lang="en"><primary lang="en">names</primary><secondary lang="en">file</secondary></indexterm> <indexterm significance="normal" id="fsadm-ix1261" lang="en"><primary lang="en">listing</primary><secondary lang="en">file names and statistics</secondary></indexterm> <indexterm significance="normal" id="fsadm-ix1262" lang="en"><primary lang="en">information reporting</primary><secondary lang="en">file systems</secondary></indexterm> <indexterm significance="normal" id="fsadm-ix1263" lang="en"><primary lang="en">files</primary><secondary lang="en">names</secondary></indexterm> <indexterm significance="normal" id="fsadm-ix1264" lang="en"><primary lang="en">ff command</primary></indexterm></para></entry><entry colname="column2" align="left" valign="top" lang="en"><para lang="en">Lists file names and statistics for a file system</para></entry></row><row lang="en"><entry colname="column1" align="left" valign="top" lang="en"><para lang="en"><command moreinfo="none" lang="en">fsck</command>(1M) <indexterm significance="normal" id="fsadm-ix1265" lang="en"><primary lang="en">fsck command</primary></indexterm> <indexterm significance="normal" id="fsadm-ix1266" lang="en"><primary lang="en">file systems</primary><secondary lang="en">checking</secondary></indexterm> <indexterm significance="normal" id="fsadm-ix1267" lang="en"><primary lang="en">checking</primary><secondary lang="en">file systems</secondary></indexterm></para></entry><entry colname="column2" align="left" valign="top" lang="en"><para lang="en">Checks the integrity of
a file system and repairs any damage found</para></entry></row><row lang="en"><entry colname="column1" align="left" valign="top" lang="en"><para lang="en"><command moreinfo="none" lang="en">fsdb</command>(1M) <indexterm significance="normal" id="fsadm-ix1268" lang="en"><primary lang="en">fsdb command</primary></indexterm> <indexterm significance="normal" id="fsadm-ix1269" lang="en"><primary lang="en">file systems</primary><secondary lang="en">debugger</secondary></indexterm> <indexterm significance="normal" id="fsadm-ix1270" lang="en"><primary lang="en">developers</primary><secondary lang="en">debuggers</secondary></indexterm> <indexterm significance="normal" id="fsadm-ix1271" lang="en"><primary lang="en">debuggers</primary></indexterm></para></entry><entry colname="column2" align="left" valign="top" lang="en"><para lang="en">File system debugger</para></entry></row><row lang="en"><entry colname="column1" align="left" valign="top" lang="en"><para lang="en"><command moreinfo="none" lang="en">fstyp</command>(1M) <indexterm significance="normal" id="fsadm-ix1272" lang="en"><primary lang="en">fstyp command</primary></indexterm> <indexterm significance="normal" id="fsadm-ix1273" lang="en"><primary lang="en">file systems</primary><secondary lang="en">type determination</secondary></indexterm></para></entry><entry colname="column2" align="left" valign="top" lang="en"><para lang="en">Determines the file-system type</para></entry></row><row lang="en"><entry colname="column1" align="left" valign="top" lang="en"><para lang="en"><command moreinfo="none" lang="en">labelit</command>(1M) <indexterm significance="normal" id="fsadm-ix1274" lang="en"><primary lang="en">labelit command</primary></indexterm> <indexterm significance="normal" id="fsadm-ix1275" lang="en"><primary lang="en">file systems</primary><secondary lang="en">labels</secondary></indexterm></para></entry><entry colname="column2" align="left" valign="top" lang="en"><para lang="en">Lists or provides labels for file systems when copied to tape (for use by the <command moreinfo="none" lang="en">volcopy</command> command only)</para></entry></row><row lang="en"><entry colname="column1" align="left" valign="top" lang="en"><para lang="en"><command moreinfo="none" lang="en">mkfs</command>(1M) <indexterm significance="normal" id="fsadm-ix1276" lang="en"><primary lang="en">mkfs command</primary></indexterm> <indexterm significance="normal" id="fsadm-ix1277" lang="en"><primary lang="en">file systems</primary><secondary lang="en">creating</secondary></indexterm> <indexterm significance="normal" id="fsadm-ix1278" lang="en"><primary lang="en">creating</primary><secondary lang="en">file systems</secondary></indexterm></para></entry><entry colname="column2" align="left" valign="top" lang="en"><para lang="en">Makes a new file system</para></entry></row><row lang="en"><entry colname="column1" align="left" valign="top" lang="en"><para lang="en"><command moreinfo="none" lang="en">mount</command>(1M) <indexterm significance="normal" id="fsadm-ix1279" lang="en"><primary lang="en">mounting</primary><secondary lang="en">remote resources</secondary></indexterm> <indexterm significance="normal" id="fsadm-ix1280" lang="en"><primary lang="en">mounting</primary><secondary lang="en">file systems</secondary></indexterm> <indexterm significance="normal" id="fsadm-ix1281" lang="en"><primary lang="en">mount command</primary></indexterm> <indexterm significance="normal" id="fsadm-ix1282" lang="en"><primary lang="en">file systems</primary><secondary lang="en">remote</secondary><tertiary lang="en">mounting</tertiary></indexterm> <indexterm significance="normal" id="fsadm-ix1283" lang="en"><primary lang="en">file systems</primary><secondary lang="en">mounting</secondary></indexterm> <indexterm significance="normal" id="fsadm-ix1284" lang="en"><primary lang="en">remote file systems</primary><secondary lang="en">mounting</secondary></indexterm></para></entry><entry colname="column2" align="left" valign="top" lang="en"><para lang="en">Mounts file systems and remote resources</para></entry></row><row lang="en"><entry colname="column1" align="left" valign="top" lang="en"><para lang="en"><command moreinfo="none" lang="en">mountall</command>(1M) <indexterm significance="normal" id="fsadm-ix1285" lang="en"><primary lang="en">mountall command</primary></indexterm></para></entry><entry colname="column2" align="left" valign="top" lang="en"><para lang="en">Mounts all file systems specified in a file-system table</para></entry></row><row lang="en"><entry colname="column1" align="left" valign="top" lang="en"><para lang="en"><command moreinfo="none" lang="en">ncheck</command>(1M) <indexterm significance="normal" id="fsadm-ix1286" lang="en"><primary lang="en">path names</primary><secondary lang="en">generating for file systems</secondary></indexterm> <indexterm significance="normal" id="fsadm-ix1287" lang="en"><primary lang="en">ncheck command</primary></indexterm> <indexterm significance="normal" id="fsadm-ix1288" lang="en"><primary lang="en">file systems</primary><secondary lang="en">path name list generation</secondary></indexterm> <indexterm significance="normal" id="fsadm-ix1289" lang="en"><primary lang="en">directories</primary><secondary lang="en">path name generation for file systems</secondary></indexterm></para></entry><entry colname="column2" align="left" valign="top" lang="en"><para lang="en">Generates a list of path names with their i-numbers</para></entry></row><row lang="en"><entry colname="column1" align="left" valign="top" lang="en"><para lang="en"><command moreinfo="none" lang="en">umount</command>(1M) <indexterm significance="normal" id="fsadm-ix1290" lang="en"><primary lang="en">unmounting</primary><secondary lang="en">remote resources</secondary></indexterm> <indexterm significance="normal" id="fsadm-ix1291" lang="en"><primary lang="en">unmounting</primary><secondary lang="en">file systems</secondary></indexterm> <indexterm significance="normal" id="fsadm-ix1292" lang="en"><primary lang="en">umount command</primary></indexterm> <indexterm significance="normal" id="fsadm-ix1293" lang="en"><primary lang="en">remote file systems</primary><secondary lang="en">unmounting</secondary></indexterm> <indexterm significance="normal" id="fsadm-ix1294" lang="en"><primary lang="en">file systems</primary><secondary lang="en">unmounting</secondary></indexterm> <indexterm significance="normal" id="fsadm-ix1295" lang="en"><primary lang="en">file systems</primary><secondary lang="en">remote</secondary><tertiary lang="en">unmounting</tertiary></indexterm></para></entry><entry colname="column2" align="left" valign="top" lang="en"><para lang="en">Unmounts file systems and remote resources</para></entry></row><row lang="en"><entry colname="column1" align="left" valign="top" lang="en"><para lang="en"><command moreinfo="none" lang="en">umountall</command>(1M) <indexterm significance="normal" id="fsadm-ix1296" lang="en"><primary lang="en">umountall command</primary></indexterm></para></entry><entry colname="column2" align="left" valign="top" lang="en"><para lang="en">Unmounts all file systems specified in a file-system table</para></entry></row><row lang="en"><entry colname="column1" align="left" valign="top" lang="en"><para lang="en"><command moreinfo="none" lang="en">volcopy</command>(1M) <indexterm significance="normal" id="fsadm-ix1297" lang="en"><primary lang="en">volcopy command</primary></indexterm> <indexterm significance="normal" id="fsadm-ix1298" lang="en"><primary lang="en">image copy, file systems</primary></indexterm> <indexterm significance="normal" id="fsadm-ix1299" lang="en"><primary lang="en">file systems</primary><secondary lang="en">image copy of</secondary></indexterm></para></entry><entry colname="column2" align="left" valign="top" lang="en"><para lang="en">Makes an image copy of a file system <indexterm significance="normal" id="fsadm-ix1300" lang="en"><primary lang="en">/usr/bin directory</primary><secondary lang="en">generic file system administrative commands in</secondary></indexterm></para></entry></row></tbody></tgroup></table><para lang="en">Most of these commands also have a file system counterpart.</para><caution lang="en" role="caution"><gentext type="text">Caution - </gentext><para lang="en">Do not use the file system commands directly. If you specify an operation on a file system that does not support it, the generic command displays this error message: <replaceable lang="en">command</replaceable><command moreinfo="none" lang="en">: Operation not applicable for FSType</command> <replaceable lang="en">type</replaceable>. <indexterm significance="normal" id="fsadm-ix1301" lang="en"><primary lang="en">"Operation not applicable for FSType " message</primary></indexterm> <indexterm significance="normal" id="fsadm-ix1302" lang="en"><primary lang="en">file systems</primary><secondary lang="en">error message</secondary></indexterm> <indexterm significance="normal" id="fsadm-ix1303" lang="en"><primary lang="en">error messages</primary><secondary lang="en">file system commands</secondary></indexterm></para></caution><sect3 id="fsadm-8" lang="en"><title lang="en">Syntax of Generic Commands</title><para lang="en">Most of these commands use this syntax: <indexterm significance="normal" id="fsadm-ix1304" lang="en"><primary lang="en">syntax, file system commands</primary></indexterm> <indexterm significance="normal" id="fsadm-ix1305" lang="en"><primary lang="en">file systems</primary><secondary lang="en">commands</secondary><tertiary lang="en">syntax</tertiary></indexterm></para><programlisting format="linespecific" lang="en" role="fragment"><replaceable lang="en">command</replaceable> [<option lang="en"><gentext type="text">-</gentext>F</option> <replaceable lang="en">type</replaceable>] [<option lang="en"><gentext type="text">-</gentext>V</option>] [<replaceable lang="en">generic-options</replaceable>] [<option lang="en"><gentext type="text">-</gentext>o</option> <replaceable lang="en">specific-options</replaceable>] [<replaceable lang="en">special</replaceable>|<replaceable lang="en">mount-point</replaceable>] [<replaceable lang="en">operands</replaceable>] </programlisting><para lang="en">The options and arguments to the generic commands are:</para><para lang="en"><option lang="en"><gentext type="text">-</gentext>F</option> <replaceable lang="en">type</replaceable> </para><para lang="en">Specifies the type of file system. If you do not use this option, the command looks for an entry that matches <filename moreinfo="none" lang="en">special</filename> or <filename moreinfo="none" lang="en">mount point</filename> in the <filename moreinfo="none" lang="en">/etc/vfstab</filename> file. Otherwise, the default is taken from the file <filename moreinfo="none" lang="en">/etc/default/fs</filename> for local file systems and from the file <filename moreinfo="none" lang="en">/etc/dfs/fstypes</filename> for remote file systems.</para><para lang="en"><option lang="en"><gentext type="text">-</gentext>V</option></para><para lang="en">Echoes the completed command line. The echoed line may include additional information derived from <filename moreinfo="none" lang="en">/etc/vfstab</filename>. Use this option to verify and validate the command line. The command is not run.</para><para lang="en"><replaceable lang="en">generic-options</replaceable></para><para lang="en">Options common to different types of file systems.</para><para lang="en"><option lang="en"><gentext type="text">-</gentext>o</option> <replaceable lang="en">specific-options</replaceable> </para><para lang="en">A list of options specific to the type of file system. The list must have the following format: <option lang="en"><gentext type="text">-</gentext>o</option> followed by a space, followed by a series of <replaceable lang="en">keyword</replaceable> [=<replaceable lang="en">value</replaceable>] pairs separated by commas with no intervening spaces.</para><para lang="en">special|<replaceable lang="en">mount-point</replaceable></para><para lang="en">Identifies the file system. The name must be either the mount point or the special device file for the slice holding the file system. For some commands, the <replaceable lang="en">special</replaceable> file must be the raw (character) device;  for other commands it must be the block device. In some cases, this argument is used as a key to search the file <filename moreinfo="none" lang="en">/etc/vfstab</filename> for a matching entry from which to obtain other information. In most cases, this argument is required and must come immediately after <replaceable lang="en">specific-options</replaceable>. However, the argument is not required when you want a command to act on all the file systems (optionally limited by type) listed in the <filename moreinfo="none" lang="en">/etc/vfstab</filename> file.</para><para lang="en"><replaceable lang="en">operands</replaceable></para><para lang="en">Arguments specific to a type of file system. See the specific man page of the command (for example, <command moreinfo="none" lang="en">mkfs_ufs</command>(4) for a detailed description. <indexterm significance="normal" id="fsadm-ix1306" lang="en"><primary lang="en">file systems</primary><secondary lang="en">commands</secondary><tertiary lang="en">syntax</tertiary></indexterm> <indexterm significance="normal" id="fsadm-ix1307" lang="en"><primary lang="en">syntax, file system commands</primary></indexterm></para></sect3><sect3 id="fsadm-37827" lang="en"><title lang="en">System-wide Default File System Type</title><para lang="en">The default remote file system type is <filename moreinfo="none" lang="en">/etc/dfs/fstype</filename>. The default local file system type is <filename moreinfo="none" lang="en">/etc/default/fs</filename>. See the <command moreinfo="none" lang="en">default_fs</command>(4) man page for more information. <indexterm significance="normal" id="fsadm-ix1308" lang="en"><primary lang="en">file systems</primary><secondary lang="en">default</secondary></indexterm> <indexterm significance="normal" id="fsadm-ix1309" lang="en"><primary lang="en">/etc/dfs/fstype file</primary></indexterm> <indexterm significance="normal" id="fsadm-ix1310" lang="en"><primary lang="en">/etc directory</primary><secondary lang="en">changes in</secondary></indexterm> <indexterm significance="normal" id="fsadm-ix1311" lang="en"><primary lang="en">defaults</primary><secondary lang="en">file systems</secondary></indexterm> <indexterm significance="normal" id="fsadm-ix1312" lang="en"><primary lang="en">file systems</primary><secondary lang="en">remote</secondary><tertiary lang="en">default type</tertiary></indexterm> <indexterm significance="normal" id="fsadm-ix1313" lang="en"><primary lang="en">remote file systems</primary><secondary lang="en">default type</secondary></indexterm> <indexterm significance="normal" id="fsadm-ix1314" lang="en"><primary lang="en">/etc/default/fs file</primary></indexterm></para></sect3><sect3 id="fsadm-9" lang="en"><title lang="en">Command Locations</title><para lang="en">In previous SunOS releases, all file system commands were located in the <filename moreinfo="none" lang="en">/etc</filename> directory. In the SunOS release 5.6 software, file system commands are organized into separate hierarchies for convenience. All of the file system commands are included in <filename moreinfo="none" lang="en">/usr/lib/fs/</filename><replaceable lang="en">fstype</replaceable>. Commands needed before <filename moreinfo="none" lang="en">/usr</filename> is mounted are duplicated in <filename moreinfo="none" lang="en">/etc/fs/</filename><replaceable lang="en">fstype</replaceable>. <indexterm significance="normal" id="fsadm-ix1315" lang="en"><primary lang="en">file systems</primary><secondary lang="en">commands</secondary><tertiary lang="en">locations</tertiary></indexterm> <indexterm significance="normal" id="fsadm-ix1316" lang="en"><primary lang="en">/fs directory</primary></indexterm> <indexterm significance="normal" id="fsadm-ix1317" lang="en"><primary lang="en">/usr/lib/fs directory</primary></indexterm> <indexterm significance="normal" id="fsadm-ix1318" lang="en"><primary lang="en">/etc/fs directory</primary></indexterm></para><para lang="en">The generic commands are located in <filename moreinfo="none" lang="en">/usr/sbin</filename>. The commands needed before <filename moreinfo="none" lang="en">/usr</filename> is mounted are duplicated in <filename moreinfo="none" lang="en">/sbin</filename>. <indexterm significance="normal" id="fsadm-ix1319" lang="en"><primary lang="en">/usr/sbin directory</primary></indexterm> <indexterm significance="normal" id="fsadm-ix1320" lang="en"><primary lang="en">/sbin directory</primary><secondary lang="en">described</secondary></indexterm></para><para lang="en"><link linkend="fsadm-78132" lang="en">Table 9-5</link> lists the locations of the file-system commands.</para><table frame="topbot" id="fsadm-78132" lang="en"><gentext type="text">Table 9-5 </gentext><title lang="en">Locations of File System Commands</title><tgroup cols="3" colsep="0" rowsep="0" lang="en"><colspec colnum="1" colname="column1" colwidth="2*"/><colspec colnum="2" colname="column2" colwidth="3*"/><colspec colnum="3" colname="column3" colwidth="4*"/><thead lang="en"><row rowsep="1" lang="en"><entry colname="column1" align="left" valign="bottom" lang="en"><para lang="en">Type</para></entry><entry colname="column2" align="left" valign="bottom" lang="en"><para lang="en">Location of  Primary Version</para></entry><entry colname="column3" align="left" valign="bottom" lang="en"><para lang="en">Location of Duplicate  Version (<command moreinfo="none" lang="en">root</command>)</para></entry></row></thead><tbody lang="en"><row lang="en"><entry colname="column1" align="left" valign="top" lang="en"><para lang="en">Generic</para></entry><entry colname="column2" align="left" valign="top" lang="en"><para lang="en"><filename moreinfo="none" lang="en">/usr/sbin</filename></para></entry><entry colname="column3" align="left" valign="top" lang="en"><para lang="en"><filename moreinfo="none" lang="en">/sbin</filename></para></entry></row><row lang="en"><entry colname="column1" align="left" valign="top" lang="en"><para lang="en">Specific</para></entry><entry colname="column2" align="left" valign="top" lang="en"><para lang="en"><filename moreinfo="none" lang="en">/usr/lib/fs</filename></para></entry><entry colname="column3" align="left" valign="top" lang="en"><para lang="en"><filename moreinfo="none" lang="en">/etc/fs</filename> <indexterm significance="normal" id="fsadm-ix1321" lang="en"><primary lang="en">file systems</primary><secondary lang="en">virtual architecture (VFS)</secondary></indexterm> <indexterm significance="normal" id="fsadm-ix1322" lang="en"><primary lang="en">VFS (virtual file-system architecture)</primary></indexterm> <indexterm significance="normal" id="fsadm-ix1323" lang="en"><primary lang="en">virtual file-system architecture (VFS)</primary></indexterm> <indexterm significance="normal" id="fsadm-ix1324" lang="en"><primary lang="en">commands</primary><secondary lang="en">file system</secondary></indexterm> <indexterm significance="normal" id="fsadm-ix1325" lang="en"><primary lang="en">file systems</primary><secondary lang="en">commands</secondary><tertiary lang="en">described</tertiary></indexterm> <indexterm significance="normal" id="fsadm-ix1326" lang="en"><primary lang="en">generic file system commands</primary></indexterm></para></entry></row></tbody></tgroup></table></sect3></sect2></sect1><sect1 id="fsadm-52187" lang="en"><title lang="en">Directory and File Changes</title><para lang="en">This section describes the changes to directories and files between the SunOS release 4.x and SunOS release 5.6 environment. <indexterm significance="normal" id="fsadm-ix1327" lang="en"><primary lang="en">directories</primary><secondary lang="en">changes in</secondary></indexterm></para><sect2 id="fsadm-10" lang="en"><title lang="en"><filename moreinfo="none" lang="en">/dev</filename> Directory</title><para lang="en">The <filename moreinfo="none" lang="en">/dev</filename> directory has changed from a flat directory to a hierarchical one. <link linkend="fsadm-52269" lang="en">Table 9-6</link> describes the subdirectories that have been added. <indexterm significance="normal" id="fsadm-ix1328" lang="en"><primary lang="en">/dev directory</primary><secondary lang="en">changes in</secondary></indexterm></para><table frame="topbot" id="fsadm-52269" lang="en"><gentext type="text">Table 9-6 </gentext><title lang="en">Additions to the <filename moreinfo="none" lang="en">/dev</filename> Directory</title><tgroup cols="2" colsep="0" rowsep="0" lang="en"><colspec colnum="1" colname="column1" colwidth="2*"/><colspec colnum="2" colname="column2" colwidth="7*"/><thead lang="en"><row rowsep="1" lang="en"><entry colname="column1" align="left" valign="bottom" lang="en"><para lang="en">Subdirectory</para></entry><entry colname="column2" align="left" valign="bottom" lang="en"><para lang="en">Description</para></entry></row></thead><tbody lang="en"><row lang="en"><entry colname="column1" align="left" valign="top" lang="en"><para lang="en"><filename moreinfo="none" lang="en">/dev/dsk</filename> <indexterm significance="normal" id="fsadm-ix1329" lang="en"><primary lang="en">/dsk directory</primary></indexterm> <indexterm significance="normal" id="fsadm-ix1330" lang="en"><primary lang="en">disk devices</primary><secondary lang="en">directories for</secondary></indexterm> <indexterm significance="normal" id="fsadm-ix1331" lang="en"><primary lang="en">/dev/dsk directory</primary></indexterm> <indexterm significance="normal" id="fsadm-ix1332" lang="en"><primary lang="en">block disk devices, directory for</primary></indexterm></para></entry><entry colname="column2" align="left" valign="top" lang="en"><para lang="en">Contains block disk devices</para></entry></row><row lang="en"><entry colname="column1" align="left" valign="top" lang="en"><para lang="en"><filename moreinfo="none" lang="en">/dev/rdsk</filename> <indexterm significance="normal" id="fsadm-ix1333" lang="en"><primary lang="en">/rdsk directory</primary></indexterm> <indexterm significance="normal" id="fsadm-ix1334" lang="en"><primary lang="en">raw disk devices, directory for</primary></indexterm> <indexterm significance="normal" id="fsadm-ix1335" lang="en"><primary lang="en">/dev/rdsk directory</primary></indexterm></para></entry><entry colname="column2" align="left" valign="top" lang="en"><para lang="en">Contains raw disk devices</para></entry></row><row lang="en"><entry colname="column1" align="left" valign="top" lang="en"><para lang="en"><filename moreinfo="none" lang="en">/dev/pts</filename> <indexterm significance="normal" id="fsadm-ix1336" lang="en"><primary lang="en">/pts directory</primary></indexterm> <indexterm significance="normal" id="fsadm-ix1337" lang="en"><primary lang="en">pseudo terminal (pty) slave devices, directory for</primary></indexterm> <indexterm significance="normal" id="fsadm-ix1338" lang="en"><primary lang="en">/dev/pts directory</primary></indexterm></para></entry><entry colname="column2" align="left" valign="top" lang="en"><para lang="en">Contains pseudo terminal (<command moreinfo="none" lang="en">pty</command>)
slave devices</para></entry></row><row lang="en"><entry colname="column1" align="left" valign="top" lang="en"><para lang="en"><filename moreinfo="none" lang="en">/dev/rmt</filename> <indexterm significance="normal" id="fsadm-ix1339" lang="en"><primary lang="en">raw tape devices, directory for</primary></indexterm> <indexterm significance="normal" id="fsadm-ix1340" lang="en"><primary lang="en">tape devices</primary><secondary lang="en">directory for raw</secondary></indexterm> <indexterm significance="normal" id="fsadm-ix1341" lang="en"><primary lang="en">/rmt directory</primary></indexterm> <indexterm significance="normal" id="fsadm-ix1342" lang="en"><primary lang="en">/usr/sbin directory</primary></indexterm> <indexterm significance="normal" id="fsadm-ix1343" lang="en"><primary lang="en">/dev/rmt directory</primary></indexterm></para></entry><entry colname="column2" align="left" valign="top" lang="en"><para lang="en">Contains raw tape devices</para></entry></row><row lang="en"><entry colname="column1" align="left" valign="top" lang="en"><para lang="en"><filename moreinfo="none" lang="en">/dev/sad</filename> <indexterm significance="normal" id="fsadm-ix1344" lang="en"><primary lang="en">STREAMS Administrative Driver, entry point directory</primary></indexterm> <indexterm significance="normal" id="fsadm-ix1345" lang="en"><primary lang="en">/sad directory</primary></indexterm> <indexterm significance="normal" id="fsadm-ix1346" lang="en"><primary lang="en">/dev/sad directory</primary></indexterm></para></entry><entry colname="column2" align="left" valign="top" lang="en"><para lang="en">Contains entry points for the STREAMS Administrative Driver</para></entry></row><row lang="en"><entry colname="column1" align="left" valign="top" lang="en"><para lang="en"><filename moreinfo="none" lang="en">/dev/term</filename> <indexterm significance="normal" id="fsadm-ix1347" lang="en"><primary lang="en">terminal devices, directory for</primary></indexterm> <indexterm significance="normal" id="fsadm-ix1348" lang="en"><primary lang="en">/term directory</primary></indexterm> <indexterm significance="normal" id="fsadm-ix1349" lang="en"><primary lang="en">/dev/term directory</primary></indexterm></para></entry><entry colname="column2" align="left" valign="top" lang="en"><para lang="en">Contains terminal devices</para></entry></row></tbody></tgroup></table></sect2><sect2 id="fsadm-11" lang="en"><title lang="en"><filename moreinfo="none" lang="en">/etc</filename> Directory</title><para lang="en">The <filename moreinfo="none" lang="en">/etc</filename> directory contains system configuration information. Several files and subdirectories have been added, removed, or changed. <indexterm significance="normal" id="fsadm-ix1350" lang="en"><primary lang="en">/etc directory</primary><secondary lang="en">described</secondary></indexterm> <indexterm significance="normal" id="fsadm-ix1351" lang="en"><primary lang="en">/rdsk directory</primary></indexterm> <indexterm significance="normal" id="fsadm-ix1352" lang="en"><primary lang="en">/etc directory</primary><secondary lang="en">changes in</secondary></indexterm></para><itemizedlist lang="en" mark="bullet"><listitem lang="en"><para lang="en">File system commands, such as <command moreinfo="none" lang="en">mount*</command>, have been moved to subdirectories of the <filename moreinfo="none" lang="en">/usr/lib/fs</filename> directory. <indexterm significance="normal" id="fsadm-ix1353" lang="en"><primary lang="en">/usr/lib/fs directory</primary></indexterm> <indexterm significance="normal" id="fsadm-ix1354" lang="en"><primary lang="en">/fs directory</primary></indexterm></para></listitem></itemizedlist><itemizedlist lang="en" mark="bullet"><listitem lang="en"><para lang="en">The SunOS release 4.x <filename moreinfo="none" lang="en">/etc/fstab</filename> file has been replaced by <filename moreinfo="none" lang="en">/etc/vfstab</filename>.</para><para lang="en">Initialization scripts, such as <command moreinfo="none" lang="en">rc</command>, <command moreinfo="none" lang="en">rc.boot</command>, <command moreinfo="none" lang="en">rc.local</command>, and <command moreinfo="none" lang="en">rc.single</command>, are not available in the SunOS release 5.6 software. They are replaced by the scripts shown in <link linkend="fsadm-38404" lang="en">Table 9-7</link>, which are run by their corresponding run control files.  <link linkend="fsadm-23358" lang="en">Table 9-8</link> describes the subdirectories that have been added to the SunOS release 5.6 <filename moreinfo="none" lang="en">/etc</filename> directory. <indexterm significance="normal" id="fsadm-ix1355" lang="en"><primary lang="en">/etc/rc.single script</primary></indexterm> <indexterm significance="normal" id="fsadm-ix1356" lang="en"><primary lang="en">/etc/rc.local script</primary></indexterm> <indexterm significance="normal" id="fsadm-ix1357" lang="en"><primary lang="en">/etc/rc.boot script</primary></indexterm> <indexterm significance="normal" id="fsadm-ix1358" lang="en"><primary lang="en">/etc/rc scripts</primary></indexterm> <indexterm significance="normal" id="fsadm-ix1359" lang="en"><primary lang="en">rc scripts</primary></indexterm> <indexterm significance="normal" id="fsadm-ix1360" lang="en"><primary lang="en">rc.boot script</primary></indexterm> <indexterm significance="normal" id="fsadm-ix1361" lang="en"><primary lang="en">rc.local script</primary></indexterm> <indexterm significance="normal" id="fsadm-ix1362" lang="en"><primary lang="en">rc.single script</primary></indexterm> <indexterm significance="normal" id="fsadm-ix1363" lang="en"><primary lang="en">/sbin/rc scripts</primary></indexterm> <indexterm significance="normal" id="fsadm-ix1364" lang="en"><primary lang="en">scripts</primary><secondary lang="en">rc</secondary></indexterm></para></listitem></itemizedlist><table frame="topbot" id="fsadm-38404" lang="en"><gentext type="text">Table 9-7 </gentext><title lang="en">Initialization Scripts and Their Run Control Files</title><tgroup cols="2" colsep="0" rowsep="0" lang="en"><colspec colnum="1" colname="column1" colwidth="2*"/><colspec colnum="2" colname="column2" colwidth="2*"/><thead lang="en"><row rowsep="1" lang="en"><entry colname="column1" align="left" valign="bottom" lang="en"><para lang="en">Scripts</para></entry><entry colname="column2" align="left" valign="bottom" lang="en"><para lang="en">Run Control Files</para></entry></row></thead><tbody lang="en"><row lang="en"><entry colname="column1" align="left" valign="top" lang="en"><para lang="en"><filename moreinfo="none" lang="en">/etc/rc0.d </filename> <indexterm significance="normal" id="fsadm-ix1365" lang="en"><primary lang="en">rc.d scripts</primary></indexterm> <indexterm significance="normal" id="fsadm-ix1366" lang="en"><primary lang="en">rc scripts</primary></indexterm> <indexterm significance="normal" id="fsadm-ix1367" lang="en"><primary lang="en">/etc/rc.d scripts</primary></indexterm> <indexterm significance="normal" id="fsadm-ix1368" lang="en"><primary lang="en">/etc/rc scripts</primary></indexterm> <indexterm significance="normal" id="fsadm-ix1369" lang="en"><primary lang="en">/sbin/rc scripts</primary></indexterm></para></entry><entry colname="column2" align="left" valign="top" lang="en"><para lang="en"><filename moreinfo="none" lang="en">/sbin/rc0</filename></para></entry></row><row lang="en"><entry colname="column1" align="left" valign="top" lang="en"><para lang="en"><filename moreinfo="none" lang="en">/etc/rc1.d</filename></para></entry><entry colname="column2" align="left" valign="top" lang="en"><para lang="en"><filename moreinfo="none" lang="en">/sbin/rc1</filename></para></entry></row><row lang="en"><entry colname="column1" align="left" valign="top" lang="en"><para lang="en"><filename moreinfo="none" lang="en">/etc/rc2.d</filename></para></entry><entry colname="column2" align="left" valign="top" lang="en"><para lang="en"><filename moreinfo="none" lang="en">/sbin/rc2</filename></para></entry></row><row lang="en"><entry colname="column1" align="left" valign="top" lang="en"><para lang="en"><filename moreinfo="none" lang="en">/etc/rc3.d</filename></para></entry><entry colname="column2" align="left" valign="top" lang="en"><para lang="en"><filename moreinfo="none" lang="en">/sbin/rc3</filename></para></entry></row><row lang="en"><entry colname="column1" align="left" valign="top" lang="en"><para lang="en"><filename moreinfo="none" lang="en">/etc/rc4.d</filename></para></entry><entry colname="column2" align="left" valign="top" lang="en"><para lang="en"><filename moreinfo="none" lang="en">/sbin/rc4</filename></para></entry></row><row lang="en"><entry colname="column1" align="left" valign="top" lang="en"><para lang="en"><filename moreinfo="none" lang="en">/etc/rc5.d</filename></para></entry><entry colname="column2" align="left" valign="top" lang="en"><para lang="en"><filename moreinfo="none" lang="en">/sbin/rc5</filename></para></entry></row><row lang="en"><entry colname="column1" align="left" valign="top" lang="en"><para lang="en"><filename moreinfo="none" lang="en">/etc/rc6.d</filename></para></entry><entry colname="column2" align="left" valign="top" lang="en"><para lang="en"><filename moreinfo="none" lang="en">/sbin/rc6</filename></para></entry></row><row lang="en"><entry colname="column1" align="left" valign="top" lang="en"><para lang="en"><filename moreinfo="none" lang="en">/etc/rcS.d</filename> <indexterm significance="normal" id="fsadm-ix1370" lang="en"><primary lang="en">rcS.d script</primary></indexterm> <indexterm significance="normal" id="fsadm-ix1371" lang="en"><primary lang="en">rcS script</primary></indexterm> <indexterm significance="normal" id="fsadm-ix1372" lang="en"><primary lang="en">/etc/rcS.d script</primary></indexterm> <indexterm significance="normal" id="fsadm-ix1373" lang="en"><primary lang="en">/etc/rcS script</primary></indexterm> <indexterm significance="normal" id="fsadm-ix1374" lang="en"><primary lang="en">/sbin/rcS scripts</primary></indexterm></para></entry><entry colname="column2" align="left" valign="top" lang="en"><para lang="en"><filename moreinfo="none" lang="en">/sbin/rcS</filename></para></entry></row></tbody></tgroup></table><para lang="en"> </para><table frame="topbot" id="fsadm-23358" lang="en"><gentext type="text">Table 9-8 </gentext><title lang="en">Additions to the <filename moreinfo="none" lang="en">/etc</filename> Directory</title><tgroup cols="2" colsep="0" rowsep="0" lang="en"><colspec colnum="1" colname="column1" colwidth="2*"/><colspec colnum="2" colname="column2" colwidth="7*"/><thead lang="en"><row rowsep="1" lang="en"><entry colname="column1" align="left" valign="bottom" lang="en"><para lang="en">Subdirectory</para></entry><entry colname="column2" align="left" valign="bottom" lang="en"><para lang="en">Description</para></entry></row></thead><tbody lang="en"><row lang="en"><entry colname="column1" align="left" valign="top" lang="en"><para lang="en"><filename moreinfo="none" lang="en">/etc/default</filename> <indexterm significance="normal" id="fsadm-ix1375" lang="en"><primary lang="en">system configuration</primary><secondary lang="en">default</secondary></indexterm> <indexterm significance="normal" id="fsadm-ix1376" lang="en"><primary lang="en">/etc/default directory</primary></indexterm> <indexterm significance="normal" id="fsadm-ix1377" lang="en"><primary lang="en">defaults</primary><secondary lang="en">directory for</secondary></indexterm></para></entry><entry colname="column2" align="left" valign="top" lang="en"><para lang="en">Defines default system configuration</para></entry></row><row lang="en"><entry colname="column1" align="left" valign="top" lang="en"><para lang="en"><filename moreinfo="none" lang="en">/etc/inet</filename> <indexterm significance="normal" id="fsadm-ix1378" lang="en"><primary lang="en">Internet services</primary><secondary lang="en">configuration information directory</secondary></indexterm> <indexterm significance="normal" id="fsadm-ix1379" lang="en"><primary lang="en">/inet directory</primary></indexterm> <indexterm significance="normal" id="fsadm-ix1380" lang="en"><primary lang="en">/etc/inet directory</primary></indexterm></para></entry><entry colname="column2" align="left" valign="top" lang="en"><para lang="en">Defines Internet services configuration</para></entry></row><row lang="en"><entry colname="column1" align="left" valign="top" lang="en"><para lang="en"><filename moreinfo="none" lang="en">/etc/lp</filename> <indexterm significance="normal" id="fsadm-ix1381" lang="en"><primary lang="en">printers</primary><secondary lang="en">configuration</secondary></indexterm> <indexterm significance="normal" id="fsadm-ix1382" lang="en"><primary lang="en">/etc/lp directory</primary></indexterm> <indexterm significance="normal" id="fsadm-ix1383" lang="en"><primary lang="en">device configuration</primary></indexterm></para></entry><entry colname="column2" align="left" valign="top" lang="en"><para lang="en">Defines LP system configuration</para></entry></row><row lang="en"><entry colname="column1" align="left" valign="top" lang="en"><para lang="en"><filename moreinfo="none" lang="en">/etc/opt</filename> <indexterm significance="normal" id="fsadm-ix1384" lang="en"><primary lang="en">/opt directory</primary></indexterm> <indexterm significance="normal" id="fsadm-ix1385" lang="en"><primary lang="en">/etc/opt directory</primary></indexterm></para></entry><entry colname="column2" align="left" valign="top" lang="en"><para lang="en">Defines installed optional software</para></entry></row><row lang="en"><entry colname="column1" align="left" valign="top" lang="en"><para lang="en"><filename moreinfo="none" lang="en">/etc/rcn.d</filename> <indexterm significance="normal" id="fsadm-ix1386" lang="en"><primary lang="en">run-state transition operations, directory for</primary></indexterm></para></entry><entry colname="column2" align="left" valign="top" lang="en"><para lang="en">Defines run-state transition operations</para></entry></row><row lang="en"><entry colname="column1" align="left" valign="top" lang="en"><para lang="en"><filename moreinfo="none" lang="en">/etc/saf</filename> <indexterm significance="normal" id="fsadm-ix1387" lang="en"><primary lang="en">Service Access Facility (SAF)</primary><secondary lang="en">directory for</secondary></indexterm> <indexterm significance="normal" id="fsadm-ix1388" lang="en"><primary lang="en">/etc/saf directory</primary></indexterm></para></entry><entry colname="column2" align="left" valign="top" lang="en"><para lang="en">Defines Service Access Facility (SAF) configuration</para></entry></row></tbody></tgroup></table><sect3 id="fsadm-59727" lang="en"><title lang="en"><filename moreinfo="none" lang="en">/etc/vfstab</filename> File </title><para lang="en">In the SunOS release 5.6 software, the virtual file system file <filename moreinfo="none" lang="en">/etc/vfstab</filename> replaces the <filename moreinfo="none" lang="en">/etc/fstab</filename> file. In the virtual file system architecture, the <filename moreinfo="none" lang="en">/etc/vfstab</filename> file provides default file system parameters used by the generic commands for file system management. For information about these commands, see <link linkend="fsadm-53292" lang="en">"Generic File System Commands"</link>. <indexterm significance="normal" id="fsadm-ix1389" lang="en"><primary lang="en">/etc/vfstab file</primary><secondary lang="en">described</secondary></indexterm> <indexterm significance="normal" id="fsadm-ix1390" lang="en"><primary lang="en">/etc/fstab file</primary><secondary lang="en">/etc/vfstab vs.</secondary></indexterm></para><para lang="en">In addition to the name change, the <filename moreinfo="none" lang="en">/etc/vfstab</filename> file is different from the <filename moreinfo="none" lang="en">/etc/fstab</filename> file in the following ways: <indexterm significance="normal" id="fsadm-ix1391" lang="en"><primary lang="en">/etc/vfstab file</primary><secondary lang="en">fields</secondary></indexterm></para><itemizedlist lang="en" mark="bullet"><listitem lang="en"><para lang="en">A <command moreinfo="none" lang="en">device</command> <command moreinfo="none" lang="en">to</command> <command moreinfo="none" lang="en">fsck</command> field has been added to specify the names of raw devices to be checked by <command moreinfo="none" lang="en">fsck</command>.</para></listitem></itemizedlist><itemizedlist lang="en" mark="bullet"><listitem lang="en"><para lang="en">An <command moreinfo="none" lang="en">automount</command> field has been added to control the routine mounting of file systems by <command moreinfo="none" lang="en">mountall</command> (the automount daemon does not use this field).</para></listitem></itemizedlist><itemizedlist lang="en" mark="bullet"><listitem lang="en"><para lang="en">The <command moreinfo="none" lang="en">freq</command> field, which specified the number of days between dumps, has been eliminated.</para><para lang="en">The file system table has seven fields, each separated by a tab. <link linkend="fsadm-56219" lang="en">Table 9-9</link> explains the field entries. <indexterm significance="normal" id="fsadm-ix1392" lang="en"><primary lang="en">directories</primary><secondary lang="en">changes in</secondary></indexterm> <indexterm significance="normal" id="fsadm-ix1393" lang="en"><primary lang="en">/etc directory</primary><secondary lang="en">changes in</secondary></indexterm></para><note lang="en" role="note"><gentext type="text">Note - </gentext><para lang="en">You must have an entry in each field in the <filename moreinfo="none" lang="en">/etc/vfstab</filename> file. If there is no value for a field, be sure to type a dash (-).</para></note></listitem></itemizedlist><table frame="topbot" id="fsadm-56219" lang="en"><gentext type="text">Table 9-9 </gentext><title lang="en"><filename moreinfo="none" lang="en">/etc/vfstab</filename> File Field Names and Content</title><tgroup cols="2" colsep="0" rowsep="0" lang="en"><colspec colnum="1" colname="column1" colwidth="3*"/><colspec colnum="2" colname="column2" colwidth="6*"/><thead lang="en"><row rowsep="1" lang="en"><entry colname="column1" align="left" valign="bottom" lang="en"><para lang="en">Field Name</para></entry><entry colname="column2" align="left" valign="bottom" lang="en"><para lang="en">Content</para></entry></row></thead><tbody lang="en"><row lang="en"><entry colname="column1" align="left" valign="top" lang="en"><para lang="en"><command moreinfo="none" lang="en">device to mount</command></para></entry><entry colname="column2" align="left" valign="top" lang="en"><para lang="en">The entry in this field may be any of the following:</para><para lang="en">The block special device for local UFS file systems (for example, <filename moreinfo="none" lang="en">/dev/dsk/c0t0d0s0</filename>)</para><para lang="en">The resource name for remote file systems (for example, <filename moreinfo="none" lang="en">myserver:/export/home</filename> for an NFS system)</para><para lang="en">The name of the slice on which to swap (for example, <filename moreinfo="none" lang="en">/dev/dsk/c0t3d0s1)</filename></para><para lang="en">The <filename moreinfo="none" lang="en">/proc</filename> directory and <filename moreinfo="none" lang="en">proc</filename> file system type</para><para lang="en">CD-ROM as <filename moreinfo="none" lang="en">hsfs</filename> file system type</para><para lang="en"><filename moreinfo="none" lang="en">/dev/diskette</filename> as <filename moreinfo="none" lang="en">pcfs</filename> or <filename moreinfo="none" lang="en">ufs</filename> file system type</para><para lang="en">This field is also used to specify swap file systems. For more information on remote file systems, see <olink targetpartnumber="802-5544"><citetitle lang="en">NFS Administration Guide</citetitle></olink> .</para></entry></row><row lang="en"><entry colname="column1" align="left" valign="top" lang="en"><para lang="en"><command moreinfo="none" lang="en">device to fsck</command></para></entry><entry colname="column2" align="left" valign="top" lang="en"><para lang="en">The raw (character) special device that corresponds to the file system identified by the <filename moreinfo="none" lang="en">device</filename> <filename moreinfo="none" lang="en">to</filename> <filename moreinfo="none" lang="en">mount</filename> field (for example, <filename moreinfo="none" lang="en">/dev/rdsk/c0t0d0s0</filename>). This field determines the raw interface that is used by <filename moreinfo="none" lang="en">fsck</filename>. Use a dash (<filename moreinfo="none" lang="en">-</filename>) when there is no applicable device, such as for a read-only file system or a network-based file system.</para></entry></row><row lang="en"><entry colname="column1" align="left" valign="top" lang="en"><para lang="en"><command moreinfo="none" lang="en">mount point</command></para></entry><entry colname="column2" align="left" valign="top" lang="en"><para lang="en">The default mount-point directory (for example, <filename moreinfo="none" lang="en">/usr</filename>
for <filename moreinfo="none" lang="en">/dev/dsk/c0t0d0s6</filename>).</para></entry></row><row lang="en"><entry colname="column1" align="left" valign="top" lang="en"><para lang="en"><command moreinfo="none" lang="en">FS type</command></para></entry><entry colname="column2" align="left" valign="top" lang="en"><para lang="en">The type of file system identified by the <filename moreinfo="none" lang="en">device</filename> <filename moreinfo="none" lang="en">to mount</filename> field.</para></entry></row><row lang="en"><entry colname="column1" align="left" valign="top" lang="en"><para lang="en"><command moreinfo="none" lang="en">fsck pass</command></para></entry><entry colname="column2" align="left" valign="top" lang="en"><para lang="en">The pass number used by fsck to determine whether to check a file system. When the field contains a dash (-), the file system is not checked. When the field contains a value of 1 or more, the file system is checked; non-UFS file systems with a 0 <filename moreinfo="none" lang="en">fsck</filename> <filename moreinfo="none" lang="en">pass</filename>
are checked. For UFS file systems only, when the field contains a 0, the file system is not checked. When <filename moreinfo="none" lang="en">fsck</filename> is run on multiple UFS file systems that have <filename moreinfo="none" lang="en">fsck pass</filename> values greater than 1 and the preen option (<option lang="en"><gentext type="text">-</gentext>o p</option>) is used, <command moreinfo="none" lang="en">fsck</command> automatically checks the file systems on different disks in parallel to maximize efficiency. When the field contains a value of <filename moreinfo="none" lang="en">1</filename>, the file system is checked sequentially. Otherwise, the value of the pass number does not have any effect. In SunOS 5.6 system software, the <command moreinfo="none" lang="en">fsck pass</command> field does not explicitly specify the order in which file systems are checked.</para></entry></row><row lang="en"><entry colname="column1" align="left" valign="top" lang="en"><para lang="en"><command moreinfo="none" lang="en">automount?</command></para></entry><entry colname="column2" align="left" valign="top" lang="en"><para lang="en"><command moreinfo="none" lang="en">yes</command> or <command moreinfo="none" lang="en">no</command> for whether the file system should be automatically mounted by mountall when the system is booted. An <filename moreinfo="none" lang="en">auto</filename> in the fourth column of your SunOS release 4.x <filename moreinfo="none" lang="en">/etc/fstab</filename> would translate to a "yes" in this column; a <command moreinfo="none" lang="en">noauto</command>, a "no." Note that this field has nothing to do with the <filename moreinfo="none" lang="en">automount</filename> program.</para></entry></row><row lang="en"><entry colname="column1" align="left" valign="top" lang="en"><para lang="en"><command moreinfo="none" lang="en">mount options</command></para></entry><entry colname="column2" align="left" valign="top" lang="en"><para lang="en">A list of comma-separated options (with no spaces) that are used in mounting the file system.
Use a dash (-) to show no options. See the <command moreinfo="none" lang="en">mount</command>(1M) man page for a list of the available options.</para></entry></row></tbody></tgroup></table><para lang="en">For detailed information about the <filename moreinfo="none" lang="en">/etc/vfstab</filename> file, see <olink targetpartnumber="802-5750"><citetitle lang="en">System Administration Guide</citetitle></olink>. <indexterm significance="normal" id="fsadm-ix1395" lang="en"><primary lang="en">/etc/vfstab file</primary><secondary lang="en">fields</secondary></indexterm></para></sect3><sect3 id="fsadm-12" lang="en"><title lang="en"><filename moreinfo="none" lang="en">/etc/shadow</filename> File</title><indexterm significance="normal" id="fsadm-ix1396" lang="en"><primary lang="en">shadow file</primary></indexterm><indexterm significance="normal" id="fsadm-ix1397" lang="en"><primary lang="en">/etc/shadow file</primary></indexterm><para lang="en">The SunOS release 5.6 software contains an <filename moreinfo="none" lang="en">/etc/shadow</filename> file, which includes entries that force password aging for individual user login accounts. The <filename moreinfo="none" lang="en">/etc/shadow</filename> file also contains encrypted passwords. The <filename moreinfo="none" lang="en">/etc/shadow</filename> file does not have general read permissions. This prevents general access to the encrypted passwords that formerly appeared in the <filename moreinfo="none" lang="en">/etc/passwd</filename> file. </para></sect3></sect2><sect2 id="fsadm-13" lang="en"><title lang="en"><filename moreinfo="none" lang="en">/sbin</filename> Directory</title><para lang="en">The SunOS release 5.6 <filename moreinfo="none" lang="en">/sbin</filename> directory contains the <command moreinfo="none" lang="en">rc</command> scripts used to alter system run levels as well as the <filename moreinfo="none" lang="en">rcs</filename> script used to initialize the system prior to mounting file systems. See the <command moreinfo="none" lang="en">rc</command> man pages and <link linkend="startup-44371" lang="en">"Changing System Run Levels"</link> for a description of the scripts. <indexterm significance="normal" id="fsadm-ix1398" lang="en"><primary lang="en">/sbin/rc scripts</primary></indexterm> <indexterm significance="normal" id="fsadm-ix1399" lang="en"><primary lang="en">/sbin/rc scripts</primary></indexterm> <indexterm significance="normal" id="fsadm-ix1400" lang="en"><primary lang="en">/sbin directory</primary><secondary lang="en">described</secondary></indexterm> <indexterm significance="normal" id="fsadm-ix1401" lang="en"><primary lang="en">rcS script</primary></indexterm> <indexterm significance="normal" id="fsadm-ix1402" lang="en"><primary lang="en">rc scripts</primary></indexterm> <indexterm significance="normal" id="fsadm-ix1403" lang="en"><primary lang="en">/sbin/rcS scripts</primary></indexterm> <indexterm significance="normal" id="fsadm-ix1404" lang="en"><primary lang="en">scripts</primary><secondary lang="en">rc</secondary></indexterm></para></sect2><sect2 id="fsadm-14" lang="en"><title lang="en"><filename moreinfo="none" lang="en">/usr</filename> Directory</title><para lang="en">The SunOS release 5.6 <filename moreinfo="none" lang="en">/usr</filename> directory contains sharable files and executables provided by the system. <link linkend="fsadm-44318" lang="en">Table 9-10</link> describes the subdirectories that have been added to the SunOS release 5.6 <filename moreinfo="none" lang="en">/usr</filename> directory. <indexterm significance="normal" id="fsadm-ix1405" lang="en"><primary lang="en">/usr directory</primary><secondary lang="en">described</secondary></indexterm> <indexterm significance="normal" id="fsadm-ix1406" lang="en"><primary lang="en">/usr directory</primary><secondary lang="en">changes in</secondary></indexterm></para><table frame="topbot" id="fsadm-44318" lang="en"><gentext type="text">Table 9-10 </gentext><title lang="en">Additions to the <filename moreinfo="none" lang="en">/usr</filename> Directory</title><tgroup cols="2" colsep="0" rowsep="0" lang="en"><colspec colnum="1" colname="column1" colwidth="2*"/><colspec colnum="2" colname="column2" colwidth="7*"/><thead lang="en"><row rowsep="1" lang="en"><entry colname="column1" align="left" valign="bottom" lang="en"><para lang="en">Subdirectory</para></entry><entry colname="column2" align="left" valign="bottom" lang="en"><para lang="en">Description</para></entry></row></thead><tbody lang="en"><row lang="en"><entry colname="column1" align="left" valign="top" lang="en"><para lang="en"><filename moreinfo="none" lang="en">/usr/ccs</filename> <indexterm significance="normal" id="fsadm-ix1407" lang="en"><primary lang="en">/usr/ccs directory</primary></indexterm> <indexterm significance="normal" id="fsadm-ix1408" lang="en"><primary lang="en">C compilation system, directory for</primary></indexterm></para></entry><entry colname="column2" align="left" valign="top" lang="en"><para lang="en">C compilation systems</para></entry></row><row lang="en"><entry colname="column1" align="left" valign="top" lang="en"><para lang="en"><filename moreinfo="none" lang="en">/usr/snadm</filename> <indexterm significance="normal" id="fsadm-ix1409" lang="en"><primary lang="en">/usr/snadm directory</primary></indexterm> <indexterm significance="normal" id="fsadm-ix1410" lang="en"><primary lang="en">/snadm directory</primary></indexterm> <indexterm significance="normal" id="fsadm-ix1411" lang="en"><primary lang="en">Administration Tool</primary><secondary lang="en">files directory</secondary></indexterm></para></entry><entry colname="column2" align="left" valign="top" lang="en"><para lang="en">Executables and other files used by <command moreinfo="none" lang="en">admintool</command> </para></entry></row></tbody></tgroup></table><para lang="en"><link linkend="fsadm-92073" lang="en">Table 9-11</link> shows files that  were in the SunOS release 4.x <filename moreinfo="none" lang="en">/usr</filename> directory but have been moved in the SunOS release 5.6 software. <indexterm significance="normal" id="fsadm-ix1412" lang="en"><primary lang="en">/usr/bin directory</primary><secondary lang="en">SunOS release 4.x files moved to</secondary></indexterm></para><table frame="topbot" id="fsadm-92073" lang="en"><gentext type="text">Table 9-11 </gentext><title lang="en">Files Changed in the <filename moreinfo="none" lang="en">/usr</filename> Directory </title><tgroup cols="2" colsep="0" rowsep="0" lang="en"><colspec colnum="1" colname="column1" colwidth="5*"/><colspec colnum="2" colname="column2" colwidth="5*"/><thead lang="en"><row rowsep="1" lang="en"><entry colname="column1" align="left" valign="bottom" lang="en"><para lang="en">SunOS release 4.x Location</para></entry><entry colname="column2" align="left" valign="bottom" lang="en"><para lang="en">SunOS release 5.6 Location</para></entry></row></thead><tbody lang="en"><row lang="en"><entry colname="column1" align="left" valign="top" lang="en"><para lang="en"><filename moreinfo="none" lang="en">/usr/5bin</filename> <indexterm significance="normal" id="fsadm-ix1413" lang="en"><primary lang="en">/usr/5bin directory</primary></indexterm> <indexterm significance="normal" id="fsadm-ix1414" lang="en"><primary lang="en">/5bin directory</primary></indexterm></para></entry><entry colname="column2" align="left" valign="top" lang="en"><para lang="en"><filename moreinfo="none" lang="en">/usr/bin</filename> <indexterm significance="normal" id="fsadm-ix1415" lang="en"><primary lang="en">/usr/sbin directory</primary></indexterm></para></entry></row><row lang="en"><entry colname="column1" align="left" valign="top" lang="en"><para lang="en"><filename moreinfo="none" lang="en">/usr/5include</filename> <indexterm significance="normal" id="fsadm-ix1416" lang="en"><primary lang="en">/usr/5include directory</primary></indexterm> <indexterm significance="normal" id="fsadm-ix1417" lang="en"><primary lang="en">/5include directory</primary></indexterm></para></entry><entry colname="column2" align="left" valign="top" lang="en"><para lang="en"><filename moreinfo="none" lang="en">/usr/include</filename> <indexterm significance="normal" id="fsadm-ix1418" lang="en"><primary lang="en">/usr/include directory</primary></indexterm> <indexterm significance="normal" id="fsadm-ix1419" lang="en"><primary lang="en">/include directory</primary></indexterm></para></entry></row><row lang="en"><entry colname="column1" align="left" valign="top" lang="en"><para lang="en"><filename moreinfo="none" lang="en">/usr/5lib</filename> <indexterm significance="normal" id="fsadm-ix1420" lang="en"><primary lang="en">/usr/5lib directory</primary></indexterm> <indexterm significance="normal" id="fsadm-ix1421" lang="en"><primary lang="en">/5lib directory</primary></indexterm></para></entry><entry colname="column2" align="left" valign="top" lang="en"><para lang="en"><filename moreinfo="none" lang="en">/usr/lib </filename> <indexterm significance="normal" id="fsadm-ix1422" lang="en"><primary lang="en">/usr/lib directory</primary></indexterm></para></entry></row><row lang="en"><entry colname="column1" align="left" valign="top" lang="en"><p