linux-hotplug.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: metzench@ccux.de
To: linux-hotplug@vger.kernel.org
Subject: ude/hotplug/usbmount
Date: Fri, 25 Jun 2004 08:29:39 +0000	[thread overview]
Message-ID: <20040625082939.D5CE4304114@xedo.net> (raw)

Hi All!

We are now using udev and hotplug for some months now, and so far
everything works fine. But now i wanted to install the usb-mount
script but it won't work when plugging in for example a usb stick,
because hotplug generates the dive nodes too late! Here is what the
logs say:

DEVPATH=/devices/pci0000:00/0000:00:11.3/usb2/2-2/2-2.1/2-2.1:1.0
Jun 25 01:36:18 CCuxAMD usb-mount:
REMOVER=/var/run/usb/%sys%devices%pci0000:00%0000:00:11.3%usb2%2-2%2-
2.1%2-2.1:1.0
Jun 25 01:36:18 CCuxAMD usb-mount: PATH=/bin:/sbin:/usr/sbin:/usr/bin
Jun 25 01:36:18 CCuxAMD usb-mount: ACTION­d
Jun 25 01:36:18 CCuxAMD usb-mount: PWD=/etc/hotplug
Jun 25 01:36:18 CCuxAMD usb-mount: HOME=/
Jun 25 01:36:18 CCuxAMD usb-mount: SHLVL=3
Jun 25 01:36:18 CCuxAMD usb-mount: DEVICE=/proc/bus/usb/002/006
Jun 25 01:36:18 CCuxAMD usb-mount: INTERFACE=8/5/80
Jun 25 01:36:18 CCuxAMD usb-mount: PRODUCTTc/8b/1
Jun 25 01:36:18 CCuxAMD usb-mount: TYPE=0/0/0
Jun 25 01:36:18 CCuxAMD usb-mount: SEQNUM(9
Jun 25 01:36:18 CCuxAMD usb-mount: _=/usr/bin/env
Jun 25 01:36:18 CCuxAMD usb-mount: ------
Jun 25 01:36:18 CCuxAMD scsi1 : SCSI emulation for USB Mass Storage
devices
Jun 25 01:36:18 CCuxAMD usb-mount: Cleaning up mounts for detached
devices.
Jun 25 01:36:18 CCuxAMD Vendor: Sony	  Model: Storage Media	  
Rev: PROL
Jun 25 01:36:18 CCuxAMD Type:	Direct-Access			  
ANSI SCSI revision: 02
Jun 25 01:36:18 CCuxAMD usb-mount: Called to mount device
/devices/pci0000:00/0000:00:11.3/usb2/2-2/2-2.1/2-2.1:1.0
Jun 25 01:36:18 CCuxAMD usb-mount: DEVPATH yields SCSI host number 1
Jun 25 01:36:18 CCuxAMD usb-mount: SCSI disk device for 1 is UNKNOWN
Jun 25 01:36:18 CCuxAMD usb-mount: Disk device is UNKNOWN
Jun 25 01:36:18 CCuxAMD usb-mount: SCSI disk device is UNKNOWN
Jun 25 01:36:18 CCuxAMD usb-mount: Could not find device for
/devices/pci0000:00/0000:00:11.3/usb2/2-2/2-2.1/2-2.1:1.0
Jun 25 01:36:18 CCuxAMD usb-mount: Checking for unused mountpoints
Jun 25 01:36:18 CCuxAMD SCSI device sda: 256000 512-byte hdwr sectors
(131 MB)
Jun 25 01:36:18 CCuxAMD sda: assuming Write Enabled
Jun 25 01:36:18 CCuxAMD sda: sda1
Jun 25 01:36:18 CCuxAMD Attached scsi removable disk sda at scsi1,
channel 0, id 0, lun 0
Jun 25 01:36:18 CCuxAMD Attached scsi generic sg0 at scsi1, channel
0, id 0, lun 0,  type 0

When i call usb-mount in a console, it works fine and the desktop
icon gets created.

Has anyone any suggestions for this?

Best regards,

Christian Metzen


-------------------------------------------------------
This SF.Net email sponsored by Black Hat Briefings & Training.
Attend Black Hat Briefings & Training, Las Vegas July 24-29 - 
digital self defense, top technical experts, no vendor pitches, 
unmatched networking opportunities. Visit www.blackhat.com
_______________________________________________
Linux-hotplug-devel mailing list  http://linux-hotplug.sourceforge.net
Linux-hotplug-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/linux-hotplug-devel

             reply	other threads:[~2004-06-25  8:29 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-06-25  8:29 metzench [this message]
2004-06-25 12:31 ` ude/hotplug/usbmount Simone Gotti
2004-06-25 12:45 ` ude/hotplug/usbmount Marcelo Ricardo Leitner
2004-06-25 13:08 ` ude/hotplug/usbmount metzench

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20040625082939.D5CE4304114@xedo.net \
    --to=metzench@ccux.de \
    --cc=linux-hotplug@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).