From: Kay Sievers <kay.sievers@vrfy.org>
To: linux-hotplug@vger.kernel.org
Subject: Re: Bug#285945: udev: the option `all_partitions' to NAME does not
Date: Thu, 16 Dec 2004 17:57:52 +0000 [thread overview]
Message-ID: <1103219872.14134.142.camel@localhost.localdomain> (raw)
In-Reply-To: <20041216161304.GA7119@wonderland.linux.it>
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 <preining@logic.at> -----
>
> Subject: Bug#285945: udev: the option `all_partitions' to NAME does not transfer to SYMLINK
> Reply-To: Norbert Preining <preining@logic.at>, 285945@bugs.debian.org
> From: Norbert Preining <preining@logic.at>
>
> 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
next prev parent reply other threads:[~2004-12-16 17:57 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-12-16 16:13 Bug#285945: udev: the option `all_partitions' to NAME does not transfer to SYMLINK Marco d'Itri
2004-12-16 17:57 ` Kay Sievers [this message]
2004-12-16 22:57 ` Norbert Preining
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=1103219872.14134.142.camel@localhost.localdomain \
--to=kay.sievers@vrfy.org \
--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