10.2 Tidbits
Prepared by Peggy Bruehl, based on work by Kees Cook (c-cook@uiuc.edu)
of the University of Illinois.
Swap
- Swap space is no longer listed in the entries of the
/etc/disktab file.
- Swap devices are listed in
/etc/fstab
(/etc/fstab replaces /etc/checklist in 10.X)
- File-system swap is the same as in 9.x and is still less efficient
than device swap.
- As in 9.x, device swap resides in its own reserved area on the
disk.
- If you are using the Logical Volume Manager (LVM), device swap
has its own logical volume.
- If you are using LVM, you can increase your device swap area
at any time without having to reformat the disk.
- The
/usr/sbin/swapinfo command can only
be run by root.
- The
/usr/sbin/swapinfo command now reports memory
usage as well as swap usage.
Libraries
- Shared and archive libraries still exist. Locations of libraries may
have changed; see the file system table
or use the
/opt/upgrade/bin/fnlookup for new locations.
- When a program is executed, the HP-UX dynamic loader (
dld.sl)
determines which libraries need to be loaded at run time.
Application software
The following software has been installed on 10.2 with little or no problems:
- GNU binutils 2.7 (contains GNU as)
- GNU make 3.74
- GNU gcc 2.7.2
- GNU gdb 4.16
- GNU bison 1.25
- GNU less 3.2.1
- GNU enscript 1.4.0
- GNU gzip 1.2.4
- NCSA httpd 1.5.0a
- UMN gopherd 2.3
- Perl 5.003
- RosettaMan 2.5a6
- HP cc 10.10 (from Applications CD)
- HP f77 10.10 (from Applications CD)
- HP softbench 10.10 (from Applications CD)
- nn 6.5.0b7
- Xemacs 19.14
- Netscape 3.0
If you encounter problems in compiling these programs for 10.2,
please re-read the installation instructions or README files.
Miscellaneous Features
- At bootup, root's shell (as set in
/etc/passwd) should
be /sbin/sh. You can choose another shell, however
it must be located on the root disk/partition. This is because
the /usr disk/partition is not mounted at the time that
the init program needs to access the shell.
- The filesystem has been completely changed in HP-UX 10.X.
The new organization is system V release 4 and is the
industry standard for UNIX systems. Linux users will note many
similarities. For help navigating, please see the following
table or use the
/opt/upgrade/bin/fnlookup command.
- If you are using LVM, the device files in
/dev
are organized differently.
- Each volume group has it's own subdirectory (i.e.
/dev/vg00)
- You may choose the name for your volume groups (i.e.
/dev/uservg or /dev/spoolvg)
- In each subdirectory, there is a block and character device file for
each logical volume in that group. (i.e.
/dev/vg00/lvol1 (block)
and /dev/vg00/rlvol1 (character) )
- HP application software is installed in the
/opt
directory (opt stands for optional software).
You may have to add /opt/package.name/bin to
your $PATH.
- By default, HP-UX core OS installs
/usr/local
and all subdirectories (bin, man, lib, etc.) as world-writable.
This is the HP default, but it is probably not a very secure
set up. You might consider changing world-writable files
back to user- & group-writable only. Be cautious about changing
permissions on some of those files (i.e. spool directories and
the like) as some may require the world-writable permission.