logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

devmon - Automounts and unmounts optical and removable drives

Author

       This manual page was written by Mateusz Łukasik <mati75@linuxmint.pl>, for the  Debian  GNU/Linux  system
       (but may be used by others).

                                                   March 2013                                          devmon(1)

Description

devmon - Automounts and unmounts optical and removable drives

Name

       devmon - Automounts and unmounts optical and removable drives

Synopsis

devmon[AUTOMOUNT-OPTIONS]#Runasdaemontoautomountdevmon[MOUNT-OPTIONS]#Orrunasclienttomanuallyun/mount

Usage

AUTOMOUNT-OPTIONS:(thesecanbeusedonlyindaemonmode)--exec-on-deviceDEVICECOMMAND  Execute  COMMAND  after  mounting  DEVICE  --exec-on-labelLABELCOMMAND  Execute  COMMAND after mounting LABEL --exec-on-videoCOMMANDExecuteCOMMANDaftervideoDVDmount--exec-on-audioCOMMAND Execute COMMAND after audio CD insertion --exec-on-discCOMMAND
              Execute  COMMAND after data CD/DVD mount --exec-on-driveCOMMAND Execute COMMAND after drive mount
              --exec-on-unmountCOMMAND Execute COMMAND after unmount --exec-on-removeCOMMAND  Execute  COMMAND
              after drive removal WherethefollowinginCOMMANDwillbereplacedwith:%dmountpointdirectory(eg/media/cd)%fdevicename(eg/dev/sdd1)%llabelofmountedvolumeMultiple--exec-on-XXXoptionsmaybeusedtoexecutemultiplecommands.Otherexec-on-XXXcommandsareignoredifexec-on-deviceor-labelexecuted.--mount-optionsOPTIONS Default: noexec,nosuid,nodev,noatime
              --info-on-mount Show mounted drive info in a popup dialog --no-mount Don't  mount  anything,  just
              exec (disables --exec-on-video) --no-unmount Don't unmount all removable drives on exit

       MOUNT-OPTIONS:(thesecanbeusedonlyinclientmode)--unmount-removable,-r  Sync and unmount all removable drives and show pop-up dialog (spacefm or
              zenity required) --unmount-recent,-c Unmount most recently  mounted  removable  drive  --unmount-optical,-o  Unmount  all optical drives (error pop-up only) --unmount-all,-u Same as --unmount-
              removable, --unmount-optical --unmountDIR|DEVICE  Unmount  DEVICE  or  mount  point  DIR  --ejectDIR|DEVICE  Unmount  and  eject  DEVICE or mount point DIR --mount-all,-a Mount all removable and
              optical drives  --mountDEVICE  Mount  DEVICE  --mount-options,--mount-fstype,--eject-optionsOPTIONS These options will be passed to mount or eject

       --ignore-deviceDEVICE
              Ignore  DEVICE  (eg  /dev/sdd1)  --ignore-labelLABEL Ignore volume with LABEL --sync,-s Add sync
              mount option for ext2-4 ntfs ufs, or flush for fat & vfat (slower writing  but  safer)  --internal
              Also  attempt to un/mount internal system drives (this is mostly a fix for esata issues) --no-gui,-g Do not show spacefm/zenity pop-up dialogs

See Also