Makes a file system available for use on a device managed by cdromd.
cdmount [ -q ] [ -h | -? ] DeviceName
The cdmount command sends an appropriate command to the cdromd daemon which mounts the file system on the device specified by DeviceName if it is not already mounted. This command can be used to mount a file system that was previously unmounted by the cdumount command.
The mount point used is either the one found in /etc/cdromd.conf file for the specified DeviceName or the default one (/cdrom/cd0 for cd0, /cdrom/cd1 for cd1, etc...).
The file system type and options used (-o and -V flag for mount command) are those found in /etc/cdromd.conf file or the default ones: "-Vcdrfs -oro" for a CD-ROM and "-Vudfs -oro" or "-Vcdrfs -oro" for DVD-ROM.
Item | Description |
---|---|
-h or -? | Displays the command usage message. |
-q | Specifies silent mode: Doesn't print any information or error message. |
DeviceName | Specifies the name of the device. |
This command returns the following exit values:
cdmount cd0
cdmount -q cd1