home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Internet Standards
/
CD1.mdf
/
iso
/
9660
/
rockrdge
/
rrg.11
/
api.end.nr
< prev
next >
Wrap
Text File
|
1992-08-19
|
2KB
|
83 lines
.sp
.H 2 "Header"
.sp
.in 0
.ft 3
NAME
.ft 1
.br
.in 2
.ft 3
cdrom.h
.ft 1
- RRIP definitions
.sp
.in 0
.ft 3
SYNOPSIS
.ft 1
.in 2
.ft 3
.br
#include <sys/cdrom.h>
.sp
.ft 1
.in 0
.ft 3
DESCRIPTION
.ft 1
.in 2
.br
The
.I cdrom.h\^
header contains the RRIP constant definitions for the RRIP library functions.
If XCDR is supported, this header file will also contain
the XCDR constants and structure declarations for the XCDR library functions.
.sp
The function
.I cd_setdevmap()\^
uses the following values for the argument
.I cmd:\^
.sp
.TS
center;
l l.
CD_SETDMAP Set device file mapping
CD_UNSETDMAP Unset device file mapping
.TE
.sp
If an implementation imposes a limit on the number of device file mappings,
they will be defined by the following symbolic name.
The definition of this symbolic name may be omitted from
.I <sys/cdrom.h>\^
if the actual value of the limit is indeterminate but greater than
the stated minimum.
Applications should therefore only use this symbol in code
conditionally compiled on the existence of this symbol.
.sp
.TS
center;
l l.
Name Minimum Acceptable Value
\_ \_
CD_MAXDMAP 50
.TE
.sp
.sp
.bp
.sp
.H 2 "Recommendations for CD-ROM Publishers"
.sp
Unless the CD-ROM is targetted at a specific collection of systems, the
values for major and minor numbers of device files will not identify
the correct values on the receiving system.
Also the range of values for device file major and minor numbers
that a system can handle might be smaller than what can be recorded
on the CD-ROM.
When producing a CD-ROM to be used on various systems, it is recommended
that the publisher number the device major and minor numbers consecutively
starting at 0 and provide the System Administrator with sufficient
information to map each recorded major and minor number to the appropriate
values for the target system.
.sp