Skip Headers
Oracle® Secure Backup Reference
Release 10.1

Part Number B14236-03
Go to Documentation Home
Home
Go to Book List
Book List
Go to Table of Contents
Contents
Go to Index
Index
Go to Master Index
Master Index
Go to Feedback page
Contact Us

Go to previous page
Previous
Go to next page
Next
PDF · Mobi · ePub

makedev

Purpose

Use the makedev tool to configure devices for use with Oracle Secure Backup. This tool provides an alternative to creating device special files with installob.

Prerequisites

You must run this utility as root on a Linux or UNIX system.

Usage Notes

Note the following aspects of makedev usage:

Syntax

install/makedev [ -u unit ] [ -d  ] [ -b bus ] [ -t target ] [ -l lun ] [ -f ]
[ -n ] [ -x ] [ -y ] [ -z ] [ -h | ? | -? ] [ -dr | -mh ]

Semantics

-u unit

Creates the device special file for the device specified by Oracle Secure Backup logical unit number, which can range in value from 0 through 31. The Oracle Secure Backup logical unit number of a device is a number assigned by you and used by makedev to create unique filenames for the devices connected to the media server. Although it is not a requirement, unit numbers usually start at 0.

-d

Uses the default value for each unspecified option instead of prompting for it. Note that you must always specify a unit number (-u) even if you use this option.

-b bus

Specifies the SCSI bus number, address, or instance (depending on operating system type), to which the device is attached.

Table 5-1 lists the default SCSI bus designation for each supported operating system type.

Table 5-1 Default SCSI Bus Designations

Operating System Default SCSI Bus Type

Solaris

esp0 (driver name/instance)


-t target

Specifies the SCSI target ID of the device, which can range from 0 through 15. The default depends on the logical unit number that you specified with the -u option.

-l lun

Specifies the SCSI logical unit number (LUN) of the device. Most operating systems support only LUN 0 and 1.The default LUN is 0.

Be careful not to confuse the SCSI LUN with the Oracle Secure Backup logical unit number. The LUN is part of the hardware address of the device; the Oracle Secure Backup logical unit number is part of the device special file name.

-f

Replaces any existing files or drivers without prompting for confirmation. By default, makedev prompts you to confirm replacement of any existing device special files.

-n

Displays the commands that will be executed by makedev to generate device special files, but does not actually create the files.

-x

Displays all commands as they are executed by makedev.

-y

Traces entry and exit from each subscript as it is executed by makedev.

-z (AIX only)

Generates a trace file, makedev.trc, in the current directory. This file contains the output of the methods used to define and configure the device.

[ -h | | -? ]

Displays a summary of makedev usage. You might need to type -\? instead of -? to avoid shell wildcard expansion.

-dr

Creates special files for a tape drive. This the default.

-mh

Creates special files for a SCSI library.

Example

Example 5-4 uses makedev to create a device special file. The example creates a special file for a tape drive, unit 0, at the default SCSI bus and target.

Example 5-4 Creating a Device Special File for a Tape Drive

# install/makedev -u 0 -d