From mboxrd@z Thu Jan 1 00:00:00 1970 From: Kay Sievers Date: Sat, 29 Jan 2005 19:28:33 +0000 Subject: Re: udev rules for usb-storage devices only used once Message-Id: <1107026913.15849.3.camel@localhost.localdomain> List-Id: References: <20050129181629.GA5051@host-83-146-61-180.bulldogdsl.com> In-Reply-To: <20050129181629.GA5051@host-83-146-61-180.bulldogdsl.com> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: linux-hotplug@vger.kernel.org On Sat, 2005-01-29 at 18:16 +0000, Glyn Kennington wrote: > udev appears to only be able to use my configured rules once. After > unplugging and replugging the same device, they are ignored. I'm using > a four-in-one flash card adaptor on my Debian system (kernel 2.6.9, udev > 0.050). > > In my /etc/udev/rules.d/iapp.rules: > ----------- > BUS="scsi", SYSFS{vendor}="IN-WIN", SYSFS{model}="iAPP HS-SM", NAME="%k", SYMLINK="sm%n" > ----------- > This creates the devices sda, sdb, sdc, sdd and sdc1 (the one partition on the > SM card), and the appropriate symlinks sm and sm1. > To get the renaming to work again, I have to restart udev before > plugging the adaptor in. Any suggestions as to what's going wrong? No idea. Maybe your tmpfs partition is too small? What does: df -kh /dev print? Thanks, Kay ------------------------------------------------------- This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting Tool for open source databases. Create drag-&-drop reports. Save time by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc. Download a FREE copy at http://www.intelliview.com/go/osdn_nl _______________________________________________ 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