autocd
—
compact disc control daemon
autocd |
[-hc ] [-d
device] [-p
mountpoint] [-f
fstype] [-o
options] [-s
socket] [-u
user] [-g
group] [-m
mode] |
autocd
is a daemon for control compact disc drives.
autocd
allows automatically playing, mounting of
compact discs and controls them with
cdctl(1).
The following options are available:
-h
- display the
autocd
help information.
-c
- do not 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.
-g
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.
- /tmp/autocd
- default location of a control socket.
- /dev/cd0c
- default device for control.
MATPOCKuH <KOT@MATPOCKuH.Ru>