linux-hotplug.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Greg KH <greg@kroah.com>
To: linux-hotplug@vger.kernel.org
Subject: Re: UDEV and USB Mass Storage
Date: Mon, 26 Jan 2004 23:58:28 +0000	[thread overview]
Message-ID: <20040126235828.GD7535@kroah.com> (raw)
In-Reply-To: <200401241909.29233.tom.gufler@tirol.com>

On Sat, Jan 24, 2004 at 07:09:29PM +0100, Thomas Gufler wrote:
> Hello,
> 
> I use udev-013 on an gentoo 1.4 system. When I connect my USB mass storage 
> camera (Sony DSC-P1) for the first time I get a /dev/sda1 device, however 
> when I connect the camera for the second time I get /dev/sdb1. 

Did you run 'eject' and unmount the device after you were done with it,
before (or after) you removed it?

> What is needed to get always the same device for a mass storage device? Can 
> someone show me how an entry in udev.rules should look like for this 
> behavior?

I use:
BUS="usb", SYSFS_vendor="FUJIFILM", SYSFS_model="M100", NAME="camera%n"

to name my camera.

Hope this helps,

greg k-h


-------------------------------------------------------
The SF.Net email is sponsored by EclipseCon 2004
Premiere Conference on Open Tools Development and Integration
See the breadth of Eclipse activity. February 3-5 in Anaheim, CA.
http://www.eclipsecon.org/osdn
_______________________________________________
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-01-26 23:58 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-01-24 18:09 UDEV and USB Mass Storage Thomas Gufler
2004-01-26 23:58 ` Greg KH [this message]

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=20040126235828.GD7535@kroah.com \
    --to=greg@kroah.com \
    --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).