| |
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 |
| ...Admintool | 18 |
| ...Network Information Service Plus (NIS+) | 19 |
| ...Print Subsystem | 20 |
| ......PrintTool | 20 |
| ......Command Changes | 20 |
| ...Service Access Facility | 21 |
| ...Volume Management | 22 |
3. Installation and Configuration Changes | 23 |
| ...Installation Overview | 23 |
| ......What's New in Installation and Configuration | 24 |
| ...What to Do Before You Install Solaris Software | 25 |
| ......Saving Disk Partition Information | 26 |
| ......Making a List of System Components to Save | 27 |
| ......Saving File System Information | 27 |
| ......Making a List of Files and File Systems to Save | 28 |
| ......Saving Metadevice Configuration Information | 28 |
| ......Deciding the Order of Installation for Networks | 29 |
| |
| ......Backing Up the File Systems | 30 |
| ......Saving SunOS Release 4.x System Data | 30 |
| ...Installing Solaris Software | 31 |
| ...Restoring Data | 32 |
| ......Restoring SunOS Release 4.x User Data | 32 |
| ......Restoring SunOS Release 4.x System Data | 34 |
4. Using the Compatibility Packages | 39 |
| ...Why Port Applications? | 40 |
| ...SunOS/BSD Source Compatibility Package | 40 |
| ...Binary Compatibility Package | 40 |
5. Security | 43 |
| ...Solaris 2.5 Security Features | 44 |
| ....../etc/passwd and /etc/shadow Files | 44 |
| ....../etc/default Files | 45 |
| ......Restricted Shells | 45 |
| ...Password Aging Changes | 45 |
| ...Automated Security Enhancement Tool (ASET) | 46 |
| ...Unbundled Security Options | 47 |
| ......Kerberos Security | 47 |
| ......SunShield | 47 |
6. User Environment Administration | 49 |
| ...Selecting a Default Shell | 49 |
| ...Customizing User Environments | 51 |
| ...Window System | 52 |
| |
| ...User and Group Administration | 53 |
| ......User and Group Administration Choices | 53 |
| ...... Adding User Accounts | 53 |
| ... Using Mail | 54 |
| ...Using Document Tools | 55 |
| ...man Page Organization Differences | 56 |
| ......Customizing the man Command Search Path | 57 |
| ......whatis and windex Databases | 58 |
| ......Using the man Command | 59 |
7. Device Administration | 61 |
| ...Device Naming Conventions | 61 |
| ......Convention for Disks | 62 |
| ......Convention for Tape Drives | 63 |
| ...Obtaining Disk Information | 63 |
| ......df Command | 64 |
| ......du Command | 64 |
| ......dkinfo Command | 64 |
| ......devinfo Command | 65 |
| ...Adding Devices to the System | 65 |
| ...Using Volume Management | 66 |
8. Startup and Shutdown | 69 |
| ...Booting | 69 |
| ......boot Command Changes | 70 |
| ......Booting From the PROM | 70 |
| |
| ......Summary of Boot Differences | 71 |
| ...Using the init Command | 72 |
| ......init Command Changes | 72 |
| ......Changing System Run Levels | 72 |
| ...Shutting Down | 74 |
| ......Changes to the shutdown Command | 75 |
| ......Using the fasthalt and fastboot Commands | 75 |
| ......Using the halt and reboot Commands | 76 |
9. File-System Administration | 77 |
| ...File-System Changes | 78 |
| ...Default File Systems and Directories | 79 |
| ...Virtual File-System Architecture | 82 |
| ......Supported File-System Types | 82 |
| ......Unsupported SVR4 File System Types | 84 |
| ......Generic File-System Commands | 84 |
| ...Directory and File Changes | 87 |
| ....../dev Directory | 87 |
| ....../etc Directory | 87 |
| ....../sbin Directory | 92 |
| ....../usr Directory | 93 |
| ....../var Directory | 93 |
| ....../kernel Directory | 94 |
| ....../opt Directory | 94 |
| ....../sys Directory | 95 |
| |
| ... Using File System Administration Commands | 95 |
| ......Mounting File Systems and autofs | 95 |
| ......Monitoring File Systems | 98 |
| ......Sharing File Systems | 99 |
| ......Creating New File Systems | 100 |
| ......Checking File Systems | 100 |
| ......Backing Up and Restoring Files | 101 |
10. Setting Up a Solaris 2.5 Server to Support SunOS Release 4.x |
| ...Diskless/Dataless Clients | 107 |
| ...Adding SunOS Release 4.x Support to a Solaris 2.4 Server | 107 |
| ......Running discover4x | 108 |
| ......Setting Up the CD-ROM Drive for install4x | 109 |
| ......Running install4x | 111 |
| ......Running convert4x | 115 |
11. Setting Up and Using Printers | 117 |
| ... Summary of Printing Differences | 117 |
| ...Print Commands and the Compatibility Package | 118 |
| ...Using Printer Commands | 118 |
| ......Using SunOS 5.5 Printer Administration Commands | 119 |
| ......Printing troff | 119 |
12. Managing Terminals and Modems | 121 |
| ...Terminal and Modem Management | 121 |
| ...Service Access Facility (SAF) | 122 |
| ......What's a Port Monitor? | 122 |
| |
| ......sacadm Command | 123 |
| ......pmadm Command | 123 |
| ...SAF Functions and Related Programs | 124 |
13. Network Service Administration | 125 |
| ...Changes to TCP/IP | 125 |
| ...Changes to NFS | 126 |
| ...PPP | 126 |
| ...UUCP | 126 |
| ......Checkpoint Restart | 128 |
| ......User Job Grades | 128 |
| ......Limits File | 128 |
| ......Config File | 129 |
| ......Log Files | 129 |
14. Using Name Services | 131 |
| ...Name Service Switch | 132 |
| ...NIS+ | 132 |
| ...DNS | 132 |
| ...DNS and NIS+ Comparison | 133 |
| ...NIS and NIS+ Comparison | 134 |
| ......NIS Support in SunOS Release 5.5 | 135 |
| ...Planning an NIS+ Upgrade | 135 |
| ...Installing NIS+ on a SunOS Release 4.x System | 135 |
Part 2--Transition Information for Developers |
15. Compilers, Linkers, and Debuggers | 139 |
| |
| ......Dynamically Loaded Kernel | 177 |
| ......Kernel Layout | 178 |
| ......config Command | 178 |
| ....../etc/system File | 179 |
| ......boot Command | 179 |
| ......Summary of Boot Differences | 180 |
| ...Device Configuration: The Reconfiguration Boot | 181 |
| ...Device Naming From a Developer's Perspective | 181 |
| ....../devices | 181 |
| ....../dev | 182 |
| ......Device Driver Naming | 182 |
19. Device Drivers and STREAMS | 185 |
| ...Device Drivers and STREAMS Device Drivers | 185 |
| ......Device Driver Interfaces | 186 |
| ......devinfo Command | 188 |
| ......Porting Considerations | 189 |
| ......STREAMS | 191 |
| ......Solaris 2.x Driver Architecture | 192 |
| ...Device Driver Commands | 193 |
A. Commands Reference Table | 195 |
| ...Using the Reference Table | 195 |
| ......Examples | 196 |
| ...The Commands Reference Table | 197 |
B. System Calls Reference Table | 237 |