From mboxrd@z Thu Jan 1 00:00:00 1970 From: Greg KH Date: Mon, 26 Jan 2004 23:58:28 +0000 Subject: Re: UDEV and USB Mass Storage Message-Id: <20040126235828.GD7535@kroah.com> List-Id: References: <200401241909.29233.tom.gufler@tirol.com> In-Reply-To: <200401241909.29233.tom.gufler@tirol.com> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: linux-hotplug@vger.kernel.org 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