summaryrefslogtreecommitdiffstats
path: root/system/ivman/README
diff options
context:
space:
mode:
Diffstat (limited to 'system/ivman/README')
-rw-r--r--system/ivman/README35
1 files changed, 23 insertions, 12 deletions
diff --git a/system/ivman/README b/system/ivman/README
index 54d6a3bc41..72d8e7efcf 100644
--- a/system/ivman/README
+++ b/system/ivman/README
@@ -1,14 +1,25 @@
-Ivman is a generic handler for HAL events.
+ivman is a generic handler for HAL events. Originally for automounting,
+it can now be used to run arbitrary commands when events or conditions
+occur or properties are modified on your hardware (e.g., run a command
+when you close your laptop's lid, run a command when a particular
+device is attached or a particular CD is inserted, etc).
-Originally for automounting, it can now be used to run arbitrary
-commands when events or conditions occur or properties are modified on
-your hardware (e.g., run a command when you close your laptop's lid,
-run a command when a particular device is attached or a particular CD
-is inserted, etc).
+ivman allows you to have automount feature even if you don't use a
+volume manager like KDE, GNOME, or XFCE includes. Just run ivman in
+background, and if you're not root, be sure to also install pmount
+that allows you to mount without being root and having the devices
+listed on /etc/fstab.
-This package requires HAL, which is also available at SlackBuilds.org.
-
-If combined with 'pmount' instances can also be launched per user session
-(e.g., create a link to /usr/bin/ivman in ~/.kde/Autostart). When a device
-is attached, Ivman will call pmount to mount the device. Otherwise
-/etc/fstab are need to be there for the devices.
+NOTE FROM SUBMITTER:
+I've discovered a bug (possibly known) in ivman with pumount usage,
+since ivman doesn't have maintainer right now and I don't know where
+to report it, I'll explain here how to easily solve it.
+Note that this happens when using pumount as non-root; I haven't
+tried using ivman as root.
+It seems that when you remove a USB device without pumounting it
+(which ivman should care of), ivman locks the device when calling
+pumount.
+This can be easily fixed by correcting your ivman's config files.
+Set in $HOME/.ivman/IvmConfigBase.xml:
+<ivm:Option name="mountcommand" value="pmount-hal '$hal.info.udi$'" />
+<ivm:Option name="umountcommand" value="pumount -l '$hal.block.device$'" />