HP Servers and Workstations — HP-UX 10.20 and 11.x 17
H
P S
erv
ers an
d Wor
kst
at
io
ns
—
H
P-U
X 10
.2
0 an
d 11.
x
See the man page (
man 1m mksf
) for other options of the
mksf
command.
The
stape
section covers the SCSI tape driver options. The man page
man 7
mt
describes the long filenames used in HP-UX 10.
x
and later.
Example:
To create a device file with the following characteristics:
n
A hardware address specified by instance 5 (
-I 5
)
n
No rewind (
-n
)
n
Berkeley mode tape positioning on close (
-u
)
n
A filename of
4mnb
, where
4
is the tape device identifier (
/dev/rmt/
4mnb
)
You would execute the following:
% /sbin/mksf -d stape -I 4 -n -u /dev/rmt/4mnb
You can check that the appropriate device file was created using the
lssf
command as follows:
% /sbin/lssf /dev/rmt/4mnb
[-u]
Specifies Berkeley mode; absence of this parameter indicates AT&T mode.
Berkeley and AT&T modes differ in their read-only close behavior:
n
In Berkeley mode, the tape position will remain unchanged by a device
close operation.
n
In AT&T mode, a device close operation will cause the tape to be
repositioned just after the next tape filemark (the start of the next file).
In most cases, Berkeley mode should be used.
/dev/rmt/X<name>
Specifies the path of the device file, where:
X
Specifies the tape device identifier. Use the next available
identifier. You can examine the contents of
/dev/rmt
using the
ls
command to determine which identifiers have already been used.
<name>
Specifies the short name (in HP-UX 9.x-style) of the device file:
mnb
No rewind, compression disabled, Berkeley-mode device
hnb
No rewind, compression disabled, Berkeley-mode device
mnb
No rewind, compression disabled, Berkeley-mode device
hnb
No rewind, compression enabled, Berkeley-mode device
Argument
Description
Содержание C1537A
Страница 22: ...22 IBM AIX Servers and Workstations ...
Страница 26: ...26 Linux Servers and Workstations ...
Страница 32: ...32 Silicon Graphics SGI ...
Страница 44: ...44 Introduction to Configuration Switches ...
Страница 62: ...62 index ...