All pastes #354217 Raw Edit

Someone

public text v1 · immutable
·published 2007-02-13 21:03 UTC
rendered paste body
---
Output from ivman --nofork --debug:

[...]

hal_interface.c:47 (hal_device_added) New Device: /org/freedesktop/Hal/devices/volume_uuid_010C_0000
IvmConfig/IvmConfigCommon.c:157 (ivm_device_is_mountable) UDI /org/freedesktop/Hal/devices/volume_uuid_010C_0000 is device /dev/sdc1
IvmConfig/IvmConfigCommon.c:319 (ivm_device_is_mountable) Device /dev/sdc1 appears to be mountable
manager.c:977 (ivm_media_changed) Giving other programs a chance to mount...
manager.c:988 (ivm_media_changed) Attempting to mount device /dev/sdc1
manager.c:768 (ivm_run_command) Running: pmount -u 007 '/dev/sdc1' 'usbdisk'
manager.c:1043 (ivm_media_changed) Device /dev/sdc1 is mounted at /media/usbdisk
IvmConfig/IvmConfigCommon.c:157 (ivm_device_is_mountable) UDI /org/freedesktop/Hal/devices/volume_uuid_010C_0000 is device /dev/sdc1
IvmConfig/IvmConfigCommon.c:312 (ivm_device_is_mountable) Won't try to mount device /dev/sdc1, as it is already mounted
manager.c:825 (ivm_is_dvd) Checking for video DVD in device '/dev/sdc1' mounted at '/media/usbdisk'
manager.c:844 (ivm_is_dvd) /dev/sdc1 does not look like a video DVD
IvmConfig/IvmConfigCommon.c:157 (ivm_device_is_mountable) UDI /org/freedesktop/Hal/devices/volume_uuid_010C_0000 is device /dev/sdc1
IvmConfig/IvmConfigCommon.c:312 (ivm_device_is_mountable) Won't try to mount device /dev/sdc1, as it is already mounted
hal_interface.c:163 (hal_device_property_modified) Mounted: /org/freedesktop/Hal/devices/volume_uuid_010C_0000
hal_interface.c:177 (hal_device_property_modified) Devices table has 1 entries
hal_interface.c:302 (print_device)      "/org/freedesktop/Hal/devices/volume_uuid_010C_0000"     "/dev/sdc1"
IvmConfig/IvmConfigCommon.c:157 (ivm_device_is_mountable) UDI /org/freedesktop/Hal/devices/volume_uuid_010C_0000 is device /dev/sdc1
IvmConfig/IvmConfigCommon.c:312 (ivm_device_is_mountable) Won't try to mount device /dev/sdc1, as it is already mounted

---
From IvmConfigConditions.xml:

    <ivm:Match name="hal.info.category" value="volume">
        <ivm:Property name='hal.volume.is_mounted'>
            <ivm:Action value="true" exec="echo DEVICE='$hal.block.device$' IS_MOUNTED='$hal.volume.is_mounted$' MOUNTPOINT='$hal.volume.mount_point$' CATEGORY='$hal.info.category$' &gt;&gt; /tmp/ivman-test.log" />
        </ivm:Property>
    </ivm:Match>


---
From IvmConfigActions.xml:

    <!-- try to mount any mountable volume at all -->
    <ivm:Match name="ivm.mountable" value="true">
        <ivm:Match name="hal.info.category" value="volume">
            <ivm:Option name="mount" value="true" />
        </ivm:Match>
    </ivm:Match>




---