devmon(1)
π devmon β the manual page, but make it a group chat π
okay bestie, sit down, hydrate, and let me tell you about devmon(1) β she's the little Unix bestie who automounts and unmounts your optical and removable drives so you never have to think about it again. no cap. she's giving "I'll handle the drives, you handle the vibes." β¨
β¨ NAME β¨
devmon β Automounts and unmounts optical and removable drives π
π¦ SYNOPSIS π¦
devmon [AUTOMOUNT-OPTIONS] # Run as daemon to automount
devmon [MOUNT-OPTIONS] # Or run as client to manually un/mount
so literally you just pick a lane: run her as a daemon to automount, or run her as a client to manually un/mount. that's it. that's the whole vibe check. π
πΈ DESCRIPTION πΈ
devmon β Automounts and unmounts optical and removable drives.
periodt. that's the job. she sees a drive, she mounts it. she sees a drive leaving, she unmounts it. main character energy, zero drama. π
π USAGE π
π AUTOMOUNT-OPTIONS π
heads up bestie: these can be used only in daemon mode. daemon mode only. don't try it in client mode, she will not know you. π
--exec-on-device DEVICE COMMANDβ ExecuteCOMMANDafter mountingDEVICE--exec-on-label LABEL COMMANDβ ExecuteCOMMANDafter mountingLABEL--exec-on-video COMMANDβ ExecuteCOMMANDafter video DVD mount--exec-on-audio COMMANDβ ExecuteCOMMANDafter audio CD insertion--exec-on-disc COMMANDβ ExecuteCOMMANDafter data CD/DVD mount--exec-on-drive COMMANDβ ExecuteCOMMANDafter drive mount--exec-on-unmount COMMANDβ ExecuteCOMMANDafter unmount--exec-on-remove COMMANDβ ExecuteCOMMANDafter drive removal
Where the following in COMMAND will be replaced with:
%dβ mount point directory (eg/media/cd)%fβ device name (eg/dev/sdd1)%lβ label of mounted volume
Multiple --exec-on-XXX options may be used to execute multiple commands. Other exec-on-XXX commands are ignored if exec-on-device or -label executed. (yes, she plays favorites, we don't make the rules π)
--mount-options OPTIONSβ 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 π¦
and these ones? only in client mode. client mode only, bestie. iykyk. π
--unmount-removable,-rβ Sync and unmount all removable drives and show pop-up dialog (spacefmorzenityrequired)--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--unmount DIR|DEVICEβ UnmountDEVICEor mount pointDIR--eject DIR|DEVICEβ Unmount and ejectDEVICEor mount pointDIR--mount-all,-aβ Mount all removable and optical drives--mount DEVICEβ MountDEVICE--mount-options,--mount-fstype,--eject-options OPTIONSβ These options will be passed tomountoreject
π THE REST OF THE OPTIONS π
--ignore-device DEVICEβ IgnoreDEVICE(eg/dev/sdd1)--ignore-label LABELβ Ignore volume withLABEL--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 showspacefm/zenitypop-up dialogs
π AUTHOR π
This manual page was written by Mateusz Εukasik <mati75@linuxmint.pl>, for the Debian GNU/Linux system (but may be used by others). π«Ά
okay and that's the whole thing, bestie β devmon(1), dated March 2013, and honestly? she ate. go automount something. π
πΈβ¨
π¦ where this page comes from
- debian bookworm: udevil 0.4.4-3 Β· GPL-3.0-or-later
- debian trixie: udevil 0.4.4-4 Β· GPL-3.0-or-later
- ubuntu jammy: udevil 0.4.4-3 Β· GPL-3.0-or-later
- ubuntu noble: udevil 0.4.4-3build2 Β· GPL-3.0-or-later
- ubuntu questing: udevil 0.4.4-4
- ubuntu resolute: udevil 0.4.4-5 Β· GPL-3.0-or-later
- ubuntu stonking: udevil 0.4.4-5 Β· GPL-3.0-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms