From mboxrd@z Thu Jan 1 00:00:00 1970 From: Kay Sievers Date: Thu, 16 Dec 2004 17:57:52 +0000 Subject: Re: Bug#285945: udev: the option `all_partitions' to NAME does not Message-Id: <1103219872.14134.142.camel@localhost.localdomain> List-Id: References: <20041216161304.GA7119@wonderland.linux.it> In-Reply-To: <20041216161304.GA7119@wonderland.linux.it> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: linux-hotplug@vger.kernel.org On Thu, 2004-12-16 at 17:13 +0100, Marco d'Itri wrote: > I think that the request is reasonable, but I'm not sure about how this > should be solved. > Do we need a SYMLINK{all_partitions}? > > ----- Forwarded message from Norbert Preining ----- > > Subject: Bug#285945: udev: the option `all_partitions' to NAME does not transfer to SYMLINK > Reply-To: Norbert Preining , 285945@bugs.debian.org > From: Norbert Preining > > Package: udev > Version: 0.048-2 > Severity: normal > > Hi! > > I have entries in my local rules file: > SYSFS{model}="Flash R/W", NAME{all_partitions}="%k", SYMLINK="sdcard%n" > which create the normal dev entries (sda and sdb), but as they are > removeable devices, I added > {all_partitions} > thus I get device nodes for sda1 - sda15 and sda, even when there is no > SD Card in the drive at boot time (built in sd reader). Just specify the name you want to use in the fstab in the NAME key and not in the SYMLINK and it should work: SYSFS{model}="Flash R/W", NAME{all_partitions}="sdcard", SYMLINK="%k" Kay ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://productguide.itmanagersjournal.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