Package: usbmount Version: N/A; reported 2005-04-21 Severity: important
-- System Information Debian Release: 3.1 Architecture: dpkg: failed to open configuration file `/etc/dpkg/dpkg.cfg' for reading: Permission denied Kernel: Linux 2.6.8 #6 SMP Tue Apr 12 14:22:20 CEST 2005 Locale: LANG=C, LC_CTYPE=C usbmount does not mount my usb flashdisk the problem occurs when a hi-speed sub2 flashdisk is plugged into USB2 port It seems that the drive is not ready imediately after it has been plugged in. So I added two lines in /usr/share/usbmount/usbmount to wait for a while The time is set to 6s bud 5s worked as well. On other hand 4s turned out to be not sufficient. diff /usr/share/usbmount/usbmount.orig usbmount.new @@ -62,6 +63,9 @@ trap '( lockfile-remove /var/run/usbmount/.mount )' 0 log debug "acquired lock /var/run/usbmount/.mount.lock" + sleep 6 + touch $DEVNAME + # 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 thei partition table is read and partition output of user.log with original usbmount /var/log/user.log Apr 21 11:19:58 localhost usbmount[8115]: /dev/sdd is a USB device Apr 21 11:19:58 localhost usbmount[8115]: trying to acquire lock /var/run/usbmount/.mount.lock Apr 21 11:19:58 localhost usbmount[8115]: acquired lock /var/run/usbmount/.mount.lock Apr 21 11:19:58 localhost usbmount[8115]: /dev/sdd does not contain a filesystem or disklabel Apr 21 11:19:58 localhost usb.agent[8075]: usb-storage: already loaded Apr 21 11:19:59 localhost scsi.agent[8063]: sd_mod: blacklisted (for disk) output of syslog with original usbmount Apr 21 11:19:58 localhost kernel: usb 1-5: new high speed USB device using address 20 Apr 21 11:19:58 localhost kernel: scsi17 : SCSI emulation for USB Mass Storage devices Apr 21 11:19:58 localhost kernel: Vendor: Kingston Model: DT Elite HS 2.0 Rev: 5.02 Apr 21 11:19:58 localhost kernel: Type: Direct-Access ANSI SCSI revision: 02 Apr 21 11:19:58 localhost kernel: Attached scsi removable disk sdd at scsi17, channel 0, id 0, lun 0 Apr 21 11:19:58 localhost kernel: Attached scsi generic sg3 at scsi17, channel 0, id 0, lun 0, type 0 Apr 21 11:19:58 localhost kernel: USB Mass Storage device found at 20 Apr 21 11:19:58 localhost udev[8094]: creating device node '/dev/sdd' Apr 21 11:19:58 localhost udev[8112]: creating device node '/dev/sg3' Apr 21 11:19:58 localhost usbmount[8115]: /dev/sdd is a USB device Apr 21 11:19:58 localhost usbmount[8115]: trying to acquire lock /var/run/usbmount/.mount.lock Apr 21 11:19:58 localhost usbmount[8115]: acquired lock /var/run/usbmount/.mount.lock Apr 21 11:19:58 localhost usbmount[8115]: /dev/sdd does not contain a filesystem or disklabel Apr 21 11:19:58 localhost usb.agent[8075]: usb-storage: already loaded Apr 21 11:19:59 localhost scsi.agent[8063]: sd_mod: blacklisted (for disk) -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]