Technical data

Customizing the Operating System
5.2 Modifying Site-Specific Startup Command Procedures
2. To prevent the command procedure from exiting if it invokes an error, include
the DCL command SET NOON at the beginning of the file. This command
disables error checking after the execution of each command in the procedure.
For more information about error checking, refer to the OpenVMS Users
Manual.
3. Add commands to perform site-specific operations. Sections 5.2.7.1 to 5.2.7.15
describe operations that are typically performed by this command procedure.
4. Exit the editor to create a new version of the file. The highest version will
automatically be invoked by STARTUP.COM each time the system boots.
5.2.7.1 Mounting Public Disks
A public volume is a disk that any process on the system can access. To make
disks available for public use, you must perform the following tasks:
Physically load and spin up the disk.
If the disk is new, initialize it.
Mount the disk for systemwide access using the DCL command MOUNT.
(Using the MOUNT command for the system disk is not necessary— the
system disk is already mounted when the system starts.)
How to Perform This Task
Add MOUNT commands in the following format to the command procedure:
MOUNT/SYSTEM device-name: volume_label logical_name
where:
device-name is the physical device name (including a colon immediately
after the device name). For information about physical device names, see
Section 8.1.
volume_label is an alphanumeric identification that you assign with the
INITIALIZE command.
logical_name is the logical name that you want to assign to the device.
Consider the advantages of using logical volume names to conceal the
physical device names. If you and the users consistently use the logical
volume name, it is not necessary to know on which physical drive the volume
is mounted. Thus, you can avoid including physical device names in programs
and command procedures.
The /SYSTEM qualifier makes the disk available for systemwide access.
Note that, by default, the system creates the following logical name when you use
the MOUNT command:
DISK$volume_label
In many cases, using the default logical name will meet your needs.
When mounting disks in a startup command procedure, do not specify the
/CLUSTER qualifier, even in a VAXcluster or an OpenVMS Cluster environment.
Each node executes its own startup command procedure, so each node mounts
disks for itself.
Note
When SYSTARTUP_VMS.COM executes (and only then), the MOUNT
command default includes the /NOASSIST qualifier. This qualifier means
Customizing the Operating System 5–11