autocd

cdctl(1)                    General Commands Manual                   cdctl(1)



NAME
       autocd - compact disc control daemon


SYNOPSIS
       cdctl [ -hc ] [ -d device ] [ -p mountpoint ] [ -f fstype ] [ -o
       options ] [ -s socket ] [ -u user ] [ -g group ] [ -m mode ]


DESCRIPTION
       autocd is a daemon for control compact disc drives.  autocd allows
       automatically playing, mounting of compact discs and controls them with
       cdctl(1).


OPTIONS
       -h     Display the autocd help information.

       -c     Don't close devices while playing is in progress.  Required in
              NetBSD and OpenBSD.

       -d device
              Choose device for control. May be used multiply times. If the
              option -d is not used, default /dev/cd0c is used.

       -p mountpoint
              Change mount point for the last device. Only avaible if running
              from root.  If no option -d used before, default device used. If
              option -p is not used for device, mount point for this device
              used from fstab(5).  If no mount point in fstab(5) for this
              device, mounting for this disabled.

       -f fstype
              Change fstype for last device. Only avaible if running from
              root.  If no option -d used before, default device used. If
              option -f is not used for device, fstype for this device used
              from fstab(5).  If no mount point in fstab(5) for this device
              default cd9660 is used.

       -o options
              Change mount options for last device. Only avaible if running
              from root.  If no option -d used before, default device used. If
              option -o is not used for device, mount options for this device
              used from fstab(5).  If no mount point in fstab(5) for this
              device default ro is used.

       -s socket
              Path to a control socket. Default is /tmp/autocd.

       -u user
              Change owner for a control socket. Default is root.  Only
              avaible if running from root.

       -u group
              Change group for a control socket. Default is wheel.  Only
              avaible if running from root.

       -m mode
              Change permissions for a control socket. Default is 666.


FILES
       /tmp/autocd
              Default location of a control socket.

       /dev/cd0c
              Default device for control.


SEE ALSO
       cdctl(1)


AUTHORS
       MATPOCKuH <KOT@MATPOCKuH.SPb.Ru>



                                13 August 2002                        cdctl(1)