CDDAEMON(1,C) AIX Commands Reference CDDAEMON(1,C)
-------------------------------------------------------------------------------
cddaemon
PURPOSE
Supports the CD-ROM device facility of AIX PS/2.
SYNTAX
/etc/cddaemon --- & ---|
Note: This command is for the PS/2 only.
DESCRIPTION
The cddaemon command enables the CD-ROM facility of AIX PS/2. If you have one
or more CD-ROM devices on your system, cddaemon must be running in order for
users on your system, or for users on other hosts connected to your system via
TCP/IP to access the files on your CD-ROM devices.
A recommended way to start cddaemon, so that it is running whenever your system
is in multi-user mode, is to put the following command line:
/etc/cddaemon &
into the file /local/local.init.dir/Singl2multi.
Once cddaemon is running, you can access the files on one of your CD-ROM
devices by using the commands cdls, cdcat, or cdcp:
cdls lists file names of files on CD-ROM devices.
cdcat copies one or more files from CD-Rom devices to the standard out file
stream.
cdcp copies one or more files from CD-ROM devices to an AIX file system.
Warning: No access protection is provided for CD-ROM devices. All files are
publicly readable and all directories are publicly searchable. If you have
TCP/IP enabled on your system, then as soon as you provide CD-ROM access by
running cddaemon, you are providing this access to any remote host who can
connect to your system via TCP/IP.
Files on a CD-ROM device can be named using a CD-ROM path name. The general
form of a CD-ROM path name is:
[hostd:]path[;version]
Processed November 8, 1990 CDDAEMON(1,C) 1
CDDAEMON(1,C) AIX Commands Reference CDDAEMON(1,C)
or
/localname/path[;version]
where
"host" is the optional TCP/IP hostname of the system where the CD-ROM
device is attached. If this is omitted, then the local system is
assumed.
"localname" is a name you established for a local or remote CD-ROM device by
using the cdmount command.
"path" is a relative pathname to a file on either the default CD-ROM
device (drive 0) of the specified host (first case) or to the named
device on the implied host (second case). "Path" is made up of one
or more filenames, separated by / characters. The filenames are
not case sensitive: while all files on the CD-ROM are named with
upper case letters, you may specify the file using upper case,
lower case or mixed case letters.
"version" is the optional version number of the file. If this is omitted,
the highest version of the named file is selected.
The cdmount command allows you to establish a localname for a specific CD-ROM
device on a specific host. It does so by maintaining the mount table in the
file /local/cdmtab, which remains intact even after a system reboot of either
your system or a remote host which is providing your CD-ROM service.
The cdmount command can be used even for local CD-ROM devices, especially if
you have more than one CD-ROM device on your system.
If you have the Transparent Computing facility on your system, you should note
that the local names established with cdmount may only be used by users and
programs running on your local cluster site. This is because each site in the
cluster maintains its own /local/cdmtab file. To avoid confusion, it is
recommended that you establish the same local names on each site in the cluster
by issuing the same cdmount commands on all sites.
The following commands are provided with the cdrom facility:
cdlook reports the volume label for each CD-ROM device on a selected host.
cdmount removes a localname established with cdmount.
cdshutdown signals the local cddaemon process and removes /local/cdmtab.
RELATED INFORMATION
See the following commands: "cdcat," "cdcp," "cdlook," "cdls," "cdmount,
cdumount," and "cdshutdown."
Processed November 8, 1990 CDDAEMON(1,C) 2