[ Bottom of Page | Previous Page | Next Page | Contents | Index | Library Home | Legal | Search ]

Files Reference

cdromd.conf File Format

Purpose

Defines for the cdromd daemon the managed devices and supported file system types.

Description

The /etc/cdromd.conf is the configuration file for the cdromd daemon. This file enables you to specify the devices to manage and the file system types to handle.

If you change the /etc/cdromd.conf file, run refresh -s cdromd or kill -1 CdromdPID command to inform the daemon of the changes to its configuration file.

The cdromd daemon reads its configuration file only when it starts, when the cdromd daemon receives a SIGHUP signal, or when the SRC refresh -s cdromd command is entered.

An information line in the cdromd configuration file defines either a device to manage or a file system type to handle. Lines starting with the pound sign (#) are comment lines. Fields in information lines must be separated by spaces or tabs. A device information line starts with <device> keyword and is of the form:

device   device_name   mount_point
device_name Contains a valid device name, as printed by the lsdev command, such as:
lsdev -Cc cdrom -F name
mount_point Contains the path of the directory for the mount operation. It must begin with a /

If there is no line in the configuration file beginning with the device keyword, all the CD-ROM and DVD devices available on the system will be managed by cdromd, and a media inserted in the cd<x> drive will be automatically mounted on /cdrom/cd<x> directory.

A file system type information line starts with the fstype keyword and is of the form:

fstype   VfsName     fs_options
VfsName Contains the VFS type used with the -V flag of the mount command.Only cdrfs and udfs types can be used.
fs_options Contains the comma separated list of options used with the -o flag of the mount command (see mount command man page).

If there is no line beginning with the fstype keyword in the configuration file, the mount command will be called with one of the following options:

-V cdrfs -o ro

or

-V udfs -o ro

If you want the UDFS file system to be mounted in read/write mode by default, add the following line to the cdromd.conf file:

fstype       udfs       rw

Examples

The following example of cdromd.conf file is for a cdromd daemon that:

       device       cd0       /mnt
       device       cd1       /install
       fstype       cdrfs      ro
       fstype       udfs       ro

Related Information

The cdmount, cdutil, cdeject, cdumount, cdcheck, mount commands.

The cdromd daemon.

[ Top of Page | Previous Page | Next Page | Contents | Index | Library Home | Legal | Search ]