| |
Preface | xxi |
Part 1-- Transition Information for Users and System Administrators |
1. Introduction | 3 |
| ...Advantages of Migrating to the Solaris Operating Environment | 3 |
| ......Portability, Scalability, Interoperability, and Compatibility | 5 |
| ......Advantages for Large Organizations | 6 |
| ...Comparison of SVR4 and the Solaris Operating Environment | 6 |
| ......Additional Features in the Solaris Operating Environment | 6 |
| ......SVR4 Features Excluded From the Solaris Environment | 9 |
2. Overview of Major Changes | 11 |
| ...Software Packages and Clusters | 12 |
| ......Package Administration | 12 |
| ...Disk Slices | 13 |
| ......Cylinder Groups | 14 |
| ...Device Naming | 14 |
| |
| ...File Systems | 15 |
| ......Changes | 15 |
| ......Pseudo File Systems | 16 |
| ......Added File Systems | 16 |
| ...Kernel Configuration | 16 |
| ......Kernel Layout | 17 |
| ...Automounting | 17 |
| ...Administration Tool | 18 |
| ...Network Information Service Plus (NIS+) | 21 |
| ...Print Subsystem | 21 |
| ......Printer Manager | 22 |
| ......PrintTool and Command Changes | 22 |
| ...Service Access Facility | 22 |
| ...Volume Management | 24 |
3. Installation and Configuration Changes | 25 |
| ...Installation Overview | 25 |
| ......What's New in Installation and Configuration | 26 |
| ...What to Do Before You Install Solaris Software | 27 |
| ......Saving Disk Partition Information | 28 |
| ......Making a List of System Components to Save | 29 |
| ......Saving File System Information | 29 |
| ......Making a List of Files and File Systems to Save | 30 |
| ......Saving Metadevice Configuration Information | 30 |
| ......Deciding the Order of Installation for Networks | 31 |
| |
| ......Backing Up the File Systems | 32 |
| ......Saving SunOS Release 4.x System Data | 32 |
| ...Installing Solaris Software | 33 |
| ...Restoring Data | 34 |
| ......Restoring SunOS Release 4.x User Data | 34 |
| ......Restoring SunOS Release 4.x System Data | 36 |
4. Using the Compatibility Packages | 41 |
| ...Why Port Applications? | 42 |
| ...SunOS/BSD Source Compatibility Package | 42 |
| ...Binary Compatibility Package | 42 |
5. Security | 45 |
| ...Solaris 2.4 Security Features | 46 |
| ....../etc/passwd and /etc/shadow Files | 46 |
| ....../etc/default Files | 47 |
| ......Restricted Shells | 47 |
| ......Administration Tool Security | 47 |
| ...Password Aging Changes | 48 |
| ...Automated Security Enhancement Tool (ASET) | 48 |
| ...Unbundled Security Options | 49 |
| ......Kerberos Security | 49 |
| ......SunShield | 50 |
6. User Environment Administration | 51 |
| ...Selecting a Default Shell | 51 |
| ...Customizing User Environments | 53 |
| |
| ...Window System | 54 |
| ...User and Group Administration | 55 |
| ......User and Group Administration Choices | 55 |
| ...... Adding User Accounts | 55 |
| ......The Administration Tool's User Account Manager | 56 |
| ...Using Mail | 58 |
| ...Using Document Tools | 59 |
| ...man Page Organization Differences | 60 |
| ......Customizing the man Command Search Path | 61 |
| ......whatis and windex Databases | 62 |
| ......Using the man Command | 63 |
7. Device Administration | 65 |
| ...Device Naming Conventions | 65 |
| ......Convention for Disks | 66 |
| ......Convention for Tape Drives | 67 |
| ...Obtaining Disk Information | 67 |
| ......df Command | 68 |
| ......du Command | 68 |
| ......dkinfo Command | 68 |
| ......devinfo Command | 69 |
| ...Adding Devices to the System | 69 |
| ...Using Volume Management | 70 |
8. Startup and Shutdown | 73 |
| ...Booting | 73 |
| |
| ......boot Command Changes | 74 |
| ......Booting From the PROM | 74 |
| ......Summary of Boot Differences | 75 |
| ...Using the init Command | 76 |
| ......init Command Changes | 76 |
| ......Changing System Run Levels | 76 |
| ...Shutting Down | 78 |
| ......Changes to the shutdown Command | 79 |
| ......Using the fasthalt and fastboot Commands | 79 |
| ......Using the halt and reboot Commands | 80 |
9. File-System Administration | 81 |
| ...File-System Changes | 82 |
| ...Default File Systems and Directories | 83 |
| ...Virtual File-System Architecture | 86 |
| ......Supported File-System Types | 86 |
| ......Unsupported SVR4 File System Types | 88 |
| ......Generic File-System Commands | 88 |
| ...Directory and File Changes | 91 |
| ....../dev Directory | 91 |
| ....../etc Directory | 91 |
| ....../sbin Directory | 96 |
| ....../usr Directory | 97 |
| ....../var Directory | 97 |
| ....../kernel Directory | 98 |
| |
| ....../opt Directory | 98 |
| ....../sys Directory | 99 |
| ... Using File System Administration Commands | 99 |
| ......Mounting File Systems and autofs | 99 |
| ......Monitoring File Systems | 102 |
| ......Sharing File Systems | 103 |
| ......Creating New File Systems | 104 |
| ......Checking File Systems | 104 |
| ......Backing Up and Restoring Files | 105 |
10. Setting Up a Solaris 2.4 Server to Support SunOS Release 4.x |
| ...Diskless/Dataless Clients | 111 |
| ...Adding SunOS Release 4.x Support to a Solaris 2.4 Server | 111 |
| ......Running discover4x | 113 |
| ......Setting Up the CD-ROM Drive for install4x | 114 |
| ......Running install4x | 115 |
| ......Running convert4x | 119 |
| ...Using Host Manager to Add SunOS Release 4.x Diskless/Dataless |
| ......Clients | 119 |
11. Setting Up and Using Printers | 121 |
| ...Summary of Printing Differences | 121 |
| ...The Administration Tool's Printer Manager | 122 |
| ...Setting Up a Printer | 124 |
| ...Print Commands and the Compatibility Package | 124 |
| ...Using Printer Commands | 125 |
| ......Using SunOS 5.4 Printer Administration Commands | 125 |
| |
| ......NIS Support in SunOS Release 5.4 | 143 |
| ...Planning an NIS+ Upgrade | 143 |
| ...Installing NIS+ on a SunOS Release 4.x System | 143 |
Part 2--Transition Information for Developers |
15. Compilers, Linkers, and Debuggers | 147 |
| ...Compilers | 147 |
| ......Compiler Option Differences | 148 |
| ...Linkers | 154 |
| ......Link Editor Option Differences | 154 |
| ......Building Shared Libraries | 156 |
| ......Building Executables | 156 |
| ......Specifying Library Search Paths | 157 |
| ......Search Path Rules | 158 |
| ......Version Numbering | 158 |
| ......Examples | 159 |
| ...Debuggers | 162 |
| ......dbx and dbxtool | 162 |
| ......adb and kadb | 162 |
| ......kadb Macros | 162 |
| ......Debugging a Live Kernel | 163 |
| ......truss Command | 163 |
16. Tools and Resources | 165 |
| ...ioctl() Requests | 165 |
| ...ptrace() Request Values | 168 |
| |
| ......Libraries | 184 |
18. System and Device Configuration | 187 |
| ...System Configuration | 187 |
| ......Dynamically Loaded Kernel | 187 |
| ......Kernel Layout | 188 |
| ......config Command | 188 |
| ....../etc/system File | 189 |
| ......boot Command | 189 |
| ......Summary of Boot Differences | 190 |
| ...Device Configuration: The Reconfiguration Boot | 191 |
| ...Device Naming From a Developer's Perspective | 191 |
| ....../devices | 191 |
| ....../dev | 192 |
| ......Device Driver Naming | 192 |
19. Device Drivers and STREAMS | 195 |
| ...Device Drivers and STREAMS Device Drivers | 195 |
| ......Device Driver Interfaces | 196 |
| ......devinfo Command | 198 |
| ......Porting Considerations | 199 |
| ......STREAMS | 201 |
| ......Solaris 2.x Driver Architecture | 202 |
| ...Device Driver Commands | 203 |
A. Commands Reference Table | 205 |
| ...Using the Reference Table | 205 |
| |
| ......Examples | 206 |
| ...The Commands Reference Table | 207 |
B. System Calls Reference Table | 249 |
| ...Using the Reference Table | 249 |
| ......Examples | 250 |
| ...System Calls | 251 |
C. Library Routines Reference Table | 275 |
| ...Using the Reference Table | 275 |
| ......Examples | 276 |
| ...Library Routines | 278 |
D. System Files Reference Table | 347 |
| ...Using the Reference Table | 347 |
| ...System Files | 348 |
E. / and /usr File Systems Changes | 353 |
| ...Layout of the / File System | 353 |
| ...Layout of the /usr File System | 356 |
| F. Quick Reference for Basic Changes | 359 |