Documentation Home
> Solaris 1.x to 2.x Transition Guide
Solaris 1.x to 2.x Transition Guide
Book Information
Preface
Part I Transition Information for Users and System Administrators
Chapter 1 Introduction
Advantages of Migrating to the Solaris Operating Environment
Portability, Scalability, Interoperability, and Compatibility
Portability
Scalability
Interoperability
Compatibility
Advantages for Large Organizations
Comparison of SVR4 and the Solaris Operating Environment
Additional Features in the Solaris Operating Environment
Features for the User
Features for the System Administrator
Features for the Developer
SVR4 Features Excluded From the Solaris Environment
Chapter 2 Overview of Major Changes
Software Packages and Clusters
Package Administration
Graphical User Interface (admintool)
Command-Line Utilities
Patch Administration
Disk Slices (or Partitions)
Cylinder Groups
Device Naming
File Systems
Changes to File System Locations and Names
Pseudo File Systems
Added File Systems
Removed File Systems
Kernel Configuration
Kernel Layout
Automounting
Mail Administration
Admintool
Network Information Service Plus (NIS+)
Print Subsystem
PrintTool
Command Changes
Service Access Facility
Volume Management
Chapter 3 Converting a SunOS 4.x System to the Solaris 2.6 Environment
What's New About Installing
What to Do Before You Install Solaris Software
Saving Disk Partition Information
Saving File System Information
Saving Metadevice Configuration Information
Determining What To Back Up
Making a List of System Components to Back Up
Making a List of Files and File Systems to Back Up
Making a List of SunOS System Configuration Files to Back Up
Determining Disk Space Requirements
Deciding the Order of Installation for Networks
Backing Up Files and File Systems Before You Install
Installing Solaris Software
Preserve Option
Restoring Files and File Systems After You Install
Restoring SunOS 4.x File Systems and User Files
Restoring SunOS 4.x System Configuration Files
Files to Merge
Files to Convert
Chapter 4 Using the Compatibility Packages
Why Port Applications?
SunOS/BSD Source Compatibility Package
Binary Compatibility Package
Using the Binary Compatibility Package to Run SunOS Release 4.x Applications
Chapter 5 Security
Solaris 2.6 Security Features
/etc/passwd and /etc/shadow Files
/etc/default Files
Restricted Shells
Password Aging Changes
Access Control Lists (ACLs)
Automated Security Enhancement Tool (ASET)
Security Options
Kerberos 4.0 Security
SunSHIELD Package
PAM
Chapter 6 User Environment Administration
Selecting a Default Shell
Customizing User Environments
Using the SunOS 4.x Work Environment With the Solaris Software
Window Systems
User and Group Administration
User and Group Administration Choices
Adding User Accounts
Using Mail
Using Document Tools
Man Page Organization Differences
Customizing the man Command Search Path
whatis and windex Databases
Using the man Command
Chapter 7 Device Administration
Device Naming Conventions
Convention for Disks
Convention for Tape Drives
Obtaining Disk Information
df Command
du Command
dkinfo Command
devinfo Command
Adding Devices to the System
Using Volume Management
Chapter 8 Startup and Shutdown
Booting
boot Command Changes
Booting From the PROM
Summary of Boot Differences
Using the init Command
init Command Changes
Changing System Run Levels
Shutting Down
Changes to the shutdown Command
Using the fasthalt and fastboot Commands
Using the halt and reboot Commands
Chapter 9 File System Administration
File System Changes
Pseudo File Systems
Added File Systems
Default File Systems and Directories
Virtual File System Architecture
Supported File System Types
Cache File System (CACHEFS)
Swap File Changes
Unsupported SVR4 File System Types
Generic File System Commands
Syntax of Generic Commands
System-wide Default File System Type
Command Locations
Directory and File Changes
/dev Directory
/etc Directory
/etc/vfstab File
/etc/shadow File
/sbin Directory
/usr Directory
/var Directory
/kernel Directory
/opt Directory
/sys Directory
Using File System Administration Commands
Mounting File Systems and autofs
Changes to the mount Command
Automatic Mounting of /cdrom and /floppy
Specifying File Systems in the /etc/vfstab File
Monitoring File Systems
Sharing File Systems
Example of /etc/dfs/dfstab File Entries
Creating New File Systems
newfs Command
mkfs Command
Checking File Systems
Backing Up and Restoring Files
ufsdump Command
ufsrestore Command
dd Command
tar and cpio Commands
Chapter 10 Setting Up a Solaris 2.6 Server to Support SunOS Release 4.x Diskless/Dataless Clients
Adding SunOS Release 4.x Support to a Solaris 2.6 Server
Running discover4x
Setting Up the CD-ROM Drive for install4x
Using a Local CD-ROM Drive
Using a Remote CD-ROM Drive (Solaris 2.6 Software)
Using a Remote CD-ROM Drive (SunOS Release 4.x Software)
Running install4x
Choosing Software to Load
Running convert4x
Chapter 11 Managing Printers, Terminals, and Modems
Printing
Summary of Printing Differences
Print Commands and the Compatibility Package
Using Printer Commands
Using SunOS Release 5.6 Printer Administration Commands
Printing troff
Serial Port Management
Terminal and Modem Management
Service Access Facility (SAF)
Controlling Port Monitors
SAF Functions and Related Programs
Chapter 12 Network Service Administration
Changes to TCP/IP
Changes to NFS
PPP
UUCP
Checkpoint Restart
User Job Grades
Limits File
Config File
Log Files
Chapter 13 Using Name Services
Name Service Switch
NIS+
DNS
DNS and NIS+ Comparison
NIS and NIS+ Comparison
Planning an NIS+ Upgrade
Chapter 14 Solaris Common Desktop Environment
What Is the Solaris Common Desktop Environment?
Developers, End Users, and CDE
Overview of the Desktop
Front Panel
Style Manager
File Manager
Application Manager
Moving From the OpenWindows Environment to CDE
Desktop Services
Using Windows, Menus, Buttons, and the Mouse in CDE
Accessing the Workspace Programs Menu
Style Manager and Customizing the Workspace
Running OpenWindows Applications in CDE
Application Settings and Properties
Changing Keyboard Defaults
Changing Mouse Defaults
Part II Transition Information for Developers
Chapter 15 Compilers, Linkers, and Debuggers
Compilers
Compiler Option Differences
Linkers
Link Editor Option Differences
Building Shared Libraries
Building Executables
Specifying Library Search Paths
Search Path Rules
Version Numbering
Examples
Debuggers
dbx and dbxtool
adb and kadb
kadb Macros
moddebug
Debugging a Live Kernel
truss Command
Chapter 16 Tools and Resources
ioctl() Requests
ptrace() Request Values
Libraries
Reorganized Libraries
Shared Libraries
Resource Limits
Using make
Using SCCS
Determining Application Compatibility
Packaging Applications
Packaging Utilities
Toolkits
OLIT
XView
Finding SunOS Release 4.x Tools
Chapter 17 Networking and Internationalization
Networking
NIS, NIS+
nsswitch.conf File
Network Interface Tap
Sockets
Internationalization
Character Support
Message Catalogs
Locale Database
Commands
Libraries
Chapter 18 System and Device Configuration
System Configuration
Dynamically Loaded Kernel
Kernel Layout
config Command
/etc/system File
boot Command
Summary of Boot Differences
Reconfiguration Boot
Device Naming From a Developer's Perspective
/devices
/dev
Device Driver Naming
Physical Names
Logical Names
Disk Names
Instance Names
Chapter 19 Device Drivers and STREAMS
Device Drivers and STREAMS Device Drivers
Device Driver Interfaces
DDI/DKI
DKI
DDI
Documentation
devinfo Command
Porting Considerations
STREAMS
Transparent ioctl()s
autopush Command
Solaris 2.x Driver Architecture
Device Driver Commands
Appendix A Commands Reference Table
Using the Reference Table
Examples
Commands Reference Table
Appendix B System Calls Reference Table
Using the Reference Table
Examples
System Calls
Appendix C Library Routines Reference Table
Using the Reference Table
Examples
Library Routines
Appendix D System Files Reference Table
Using the Reference Table
System Files
Appendix E / and /usr File Systems Changes
Layout of the / File System
Layout of the /usr File System
Appendix F Quick Reference for Basic Changes
Summary Tables
Glossary
Index
Numbers and Symbols
A
B
C
D
E
F
G
H
I
J
K
L
M
N
O
P
Q
R
S
T
U
V
W
X
Y
Z
© 2010, Oracle Corporation and/or its affiliates