1.Dd August 13, 2002 2.Dt AUTOCD 8 3.Os 4.Sh NAME 5.Nm autocd 6.Nd compact disc control daemon 7.Sh SYNOPSIS 8.Nm 9.Op Fl hc 10.Op Fl d Ar device 11.Op Fl p Ar mountpoint 12.Op Fl f Ar fstype 13.Op Fl o Ar options 14.Op Fl s Ar socket 15.Op Fl u Ar user 16.Op Fl g Ar group 17.Op Fl m Ar mode 18.Sh DESCRIPTION 19.Nm 20is a daemon for control compact disc drives. 21.Nm 22allows automatically playing, mounting of compact 23discs and controls them with 24.Xr cdctl 1 . 25.Sh OPTIONS 26The following options are available: 27.Bl -tag -width indent 28.It Fl h 29display the 30.Nm 31help information. 32.It Fl c 33do not close devices while playing is in progress. 34Required in NetBSD and OpenBSD. 35.It Fl d Ar device 36choose device for control. May be used multiply times. 37If the option 38.Op Fl d 39is not used, default 40.Ar /dev/cd0c 41is used. 42.It Fl p Ar mountpoint 43change mount point for the last device. Only 44avaible if running from root. If no option 45.Op Fl d 46used before, default device used. If option 47.Op Fl p 48is not used for device, mount point for this device used from 49.Xr fstab 5 . 50If no mount point in 51.Xr fstab 5 52for this device, mounting for this disabled. 53.It Fl f Ar fstype 54change fstype for last device. Only avaible if running 55from root. If no option 56.Op Fl d 57used before, default device used. If option 58.Op Fl f 59is not used for device, fstype for this device used from 60.Xr fstab 5 . 61If no mount point in 62.Xr fstab 5 63for this device default 64.Ar cd9660 65is used. 66.It Fl o Ar options 67Change mount options for last device. Only avaible if 68running from root. If no option 69.Op Fl d 70used before, default device used. If option 71.Op Fl o 72is not used for device, mount options for this device used from 73.Xr fstab 5 . 74If no mount point in 75.Xr fstab 5 76for this device default 77.Ar ro 78is used. 79.It Fl s Ar socket 80Path to a control socket. Default is 81.Pa /tmp/autocd . 82.It Fl u Ar user 83Change owner for a control socket. Default is 84.Ar root . 85Only avaible if running from root. 86.It Fl g Ar group 87Change group for a control socket. Default is 88.Ar wheel . 89Only avaible if running from root. 90.It Fl m Ar mode 91Change permissions for a control socket. Default is 92.Ar 666 . 93.Sh FILES 94.Bl -tag -width -compact 95.It Pa /tmp/autocd 96default location of a control socket. 97.It Pa /dev/cd0c 98default device for control. 99.Sh SEE ALSO 100.Xr cdctl 1 , 101.Xr acdplay 1 102.Sh AUTHORS 103.An MATPOCKuH <KOT@MATPOCKuH.Ru> 104