Language: [http://www.perl.org Perl]
attachment:driveplugger.png DrivePlugger is a tray icon with menus for managing removable media. I have always been unhappy with how cumbersome removable media can be on linux. Even modern distros with [http://www.freedesktop.org/wiki/Software/hal hal] support don't seem to have the simple and intuitive features I'd like. So, as often happens with people like me, I wrote my own.
Now I can plug in a thumb drive or memory stick, insert a CD or PCMCIA card, and use it without complication. Users can name their devices as they like, and browse or safely eject with a few clicks.
Another nice feature is that any locking processes are listed, with the option to kill them (provided the user has the necessary permissions, of course).
For CD/DVD support, you must run the included cdpolld polling daemon.
Floppy disks are not currently supported. If anyone knows how to poll for floppy disk change events without constantly running the drive, let me know. If you really need floppy support and don't mind the drive constantly running... well let me know that too and I'll add it in as an option. I'm inclined to say that for floppies, something like [http://submount.sourceforge.net/ submount] is more appropriate.
I just recently posted on [http://sourceforge.net/projects/driveplugger Sourceforge] and [http://freshmeat.net/projects/driveplugger/ Freshmeat], and as of right now I've had 34 downloads. I'm totally excited, as this is my first project I've listed publicly. I'm very interested in feedback, so don't be shy! calin at splitreflection dot com.
- Fixed a bug where multiple group numbers were listed in fstab
- Corrected uid/gid entries for unsupporting filesystems
- Removed Linux::CDROM dependency in favor of plain ioctl
- Added event caching to handle events that occur when the user agent is not running
- Added uid= and gid= options to fstab entries, to fix incorrect permissions with some filesystems.
- Create base mount directory if it does not exist.
- CDROM polling script now uses the CDROMREADTOCHDR ioctl to check for discs, which does not put messages in syslog.
- Rewrote device identification methods.
- Multiple partitions on a single device are no longer treated as seperate devices.
- Added cdrom support via a polling daemon.
- Added cdrom, scsi, and pcmcia eject signals on eject.
- Ditched 'Device Options' and 'Mounted Devices' menus in favor of 'Disconnected Devices' and 'Connected Devices'
- Events for devices listed in fstab will no longer be passed on to driveplugger (not counting lines added by driveplugger, of course).
- This keeps driveplugger from offering to mount your root partition in case of a hotplug system reset (such as when waking up after hibernation).
- When a new device is detected, the 'cancel' button on the popup now prevents driveplugger from taking any action on the device.
- Previously, cancel would accept default settings for the device, and then take the default actions.