IgnorantGuru's Blog

Linux software, news, and tips

devmon Update

devmon 0.8.1 is available. This update adds one feature and includes some very minor housekeeping:

  • added ––unmount-on-exit option which causes devmon to automatically unmount all removable drives on exit. This helps prevent vacant directories being left behind in /media when you reboot, for example.
  • if you try to run devmon as root, it will exit with an error
  • adjusted start udisks daemon trigger and timing to make it more universally functional (on systems without a CD drive, for example)
  • added trap to ignore SIGHUP signal (if you close the terminal you started devmon in, it should now keep running in the background)
  • the use and installation instructions have been updated

January 29, 2011 - Posted by | Scripts

3 Comments

  1. Does this script work in getting USB Floppy drives mounted/unmounted?

    Comment by Snowhog | April 25, 2011

    • Hey Snowhog. Floppy drives won’t be automatically mounted – they don’t provide notification. But you can manually mount and unmount the drive using devmon or udisks (eg “devmon ––mount /dev/fd0”), and assign it to a keyboard shortcut.

      Comment by IgnorantGuru | April 25, 2011

    • Oops – I missed where you specified USB. Not sure about that – might work. If not, if you send me the output of the following command while you are attaching, adding/removing media, and detaching the device, I might be able to accomodate it.

          udisks --monitor

      Comment by IgnorantGuru | April 25, 2011


Sorry, the comment form is closed at this time.