NAME
autorun - automatic loading / unloading is performed after loading and CDROMs / path / to / cdrom / autorun
Overview
autorun [-lmqv?V] [-a EXEC] [-c CDPLAYER] [-e STRING] [-i MILLISEC] [-n STRING] [-t STRING] [--autorun=EXEC] [--cdplayer=CDPLAYER] [--interval=MILLISEC] [--lock] [--mountonly] [--notify=STRING] [--notify-insert=STRING] [--notify-eject=STRING] [--quiet] [--verbose] [--help] [--usage] [--version] [cdromdevices...]
description
All available on the autorun CDROMs automatic identification system, when loading them into the CD carrier, and performs 'autorun' executable file on the CD may contain. Let ordinary users to use this feature, add the option user, exec on CDROMs entry you have to want to use in the / etc / fstab in.
You can also use Autorun.kdelnk KDE. Just put it in your Autostart folder can be.
Analysis Program command string and replace% P% mount point path parameters. Path equipment to replace% D%. Then with / bin / sh -c "command string" to execute the command string;
Options
- -a, --autorun=EXEC
-
If you change the CD, then execute EXEC. The executable file must be on the CD. For example, if you specify "--autorun = myprogram", and your CD discs loaded into a speech under / mnt / cdrom, change in after-hours, autorun will try to run "/ mnt / cdrom / myprogram". (The default is "/ autorun")
- -c, --cdplayer=CDPLAYER
-
If you insert a record, then run CDPLAYER (default is "/ usr / bin / kscd")
- -i, --interval=MILLISEC
-
Each time interval between checks MILLISEC (default 1000000)
- -l, --lock
-
Locking the loaded medium (manual unloading)
- -m, --mountonly
-
Only for loading / unloading (does not perform any content)
- -n, --notify=STRING
-
If the disc changer command is executed STRING (default is "/ usr / bin / kfmclient refreshDesktop")
- -t, --notify-insert=STRING
-
If a disk is inserted Run STRING, not executed "/ autorun" and --autorun with the specified content (default is "/ usr / bin / kfmclient openURL% P%")
- -e, --notify-eject=STRING
-
Command STRING that will executed if a CD was ejected if the disc is removed execute the command STRING (default "")
- -q, --quiet
-
It does not produce any output
- -v, --verbose
-
Generate detailed output
- -?, --help,
-
This list help information
- --usage
-
Lists a brief usage information
- -V, --version
-
Listed version
All long options are also mandatory or optional parameters for any corresponding short options.