1AUTORUN(1)                                                          AUTORUN(1)
2
3
4

NAME

6       autorun - automatically mounts/unmounts CDROMs and executes
7       /path_to_cdrom/autorun after mounting
8

SYNOPSIS

10       autorun [-lmqv?V] [-a EXEC] [-c CDPLAYER] [-e STRING] [-i MILLISEC]
11               [-n STRING] [-t STRING] [--autorun=EXEC] [--cdplayer=CDPLAYER]
12               [--interval=MILLISEC] [--lock] [--mountonly] [--daemon]
13               [--notify=STRING] [--notify-insert=STRING]
14               [--notify-eject=STRING] [--quiet] [--verbose] [--help]
15               [--usage] [--version] [cdromdevices...]
16

DESCRIPTION

18       autorun automagically recognises all available CDROMs in your system,
19       mounts them upon insertion and executes a possible 'autorun' executable
20       on the CD. To allow an ordinary user to do this you have to add the
21       options user,exec in /etc/fstab to the CDROMs you want to use.
22
23       You may also use Autorun.desktop for KDE. Just place it in your
24       Autostart folder.
25
26       Command strings are parsed and %P% is replaced by the mountpoint path.
27       %D% is replaced by the device path. After that the command string will
28       be executed using /bin/sh -c "command string";
29

OPTIONS

31       -a, --autorun=EXEC
32              Execute EXEC, if the CD changes. This executable must be located
33              on the CD. I.e. if you specify "--autorun=myprogram", and your
34              CD is mounted under /mnt/cdrom, after the CD is changed, autorun
35              will attempt to run "/mnt/cdrom/myprogram". (default "/autorun")
36
37       -c, --cdplayer=CDPLAYER
38              Run CDPLAYER, if an audio CD is inserted (default
39              "/usr/bin/kscd")
40
41       -i, --interval=MILLISEC
42              The time to wait in MILLISEC between checks (default 1000)
43
44       -l, --lock
45              Lock the mounted media (unmount by hand)
46
47       -m, --mountonly
48              mount/unmount only (do not execute anything)
49
50       -d, --daemon
51              Fork to background immediately
52
53       -n, --notify=STRING
54              Command STRING that will executed if the CD changes (default
55              "/usr/bin/kfmclient configureDesktop")
56
57       -t, --notify-insert=STRING
58              Command STRING that will executed if a CD was inserted and the
59              autorun executable "/autorun" or the one specified with
60              --autorun was NOT executed. (default "/usr/bin/kfmclient openURL
61              %P%")
62
63       -e, --notify-eject=STRING
64              Command STRING that will executed if a CD was ejected (default
65              "")
66
67       -q, --quiet
68              Don't produce any output
69
70       -v, --verbose
71              Produce verbose output
72
73       -?, --help
74              Give this help list
75
76       --usage
77              Give a short usage message
78
79       -V, --version
80              Print program version
81
82       Mandatory or optional arguments to long options are also mandatory or
83       optional for any corresponding short options.
84

AUTHOR

86       Harald Hoyer <Harald.Hoyer@redhat.de>
87
88       There is a project web page at [1] parzelle.de.
89

REFERENCES

91       1. parzelle.de
92          http://sourceforge.net/projects/autorun/
93
94
95
96                                  07/12/2006                        AUTORUN(1)
Impressum