Hi,

I hope you can help me again with this bug: Please apply the patch below
to the original /usr/share/usbmount/usbmount file and report what is
logged in /var/log/user.log when you plug the device in.

Thanks!
Martin


--- usbmount.orig       2005-05-01 22:28:49.000000000 +0200
+++ usbmount    2005-05-01 22:47:15.000000000 +0200
@@ -62,6 +62,21 @@
        trap '( lockfile-remove /var/run/usbmount/.mount )' 0
        log debug "acquired lock /var/run/usbmount/.mount.lock"
 
+       log info "---- BEGIN DEBUGGING SECTION ---"
+       log info "ls -l $DEVNAME: `ls -l $DEVNAME 2&1 || :`"
+       log info "/sbin/udev_volume_id $DEVNAME: `/sbin/udev_volume_id $DEVNAME 
2>&1 || :`"
+       log info "fdisk -l $DEVNAME: `fdisk -l $DEVNAME 2>&1 || :`"
+       log info "ls /sys$DEVPATH/device: `ls /sys$DEVPATH/device 2>&1 || :`"
+       log info "cat /sys$DEVPATH/device/state: `cat /sys$DEVPATH/device/state 
2>&1 || :`"
+       log info "sleeping 6 seconds"
+       sleep 6
+       log info "ls -l $DEVNAME: `ls -l $DEVNAME 2>&1 || :`"
+       log info "/sbin/udev_volume_id $DEVNAME: `/sbin/udev_volume_id $DEVNAME 
2>&1 || :`"
+       log info "fdisk -l $DEVNAME: `fdisk -l $DEVNAME 2>&1 || :`"
+       log info "ls /sys$DEVPATH/device: `ls /sys$DEVPATH/device 2>&1 || :`"
+       log info "cat /sys$DEVPATH/device/state: `cat /sys$DEVPATH/device/state 
2>&1 || :`"
+       log info "---- END DEBUGGING SECTION ---"
+
        # Test if the device contains a filesystem.  If it doesn't, no
        # further action is required, but calling udev_volume_id has the
        # side effect that the partition table is read and partition


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to