From: md@Linux.IT (Marco d'Itri)
To: linux-hotplug@vger.kernel.org
Subject: Bug#285945: udev: the option `all_partitions' to NAME does not transfer to SYMLINK
Date: Thu, 16 Dec 2004 16:13:04 +0000 [thread overview]
Message-ID: <20041216161304.GA7119@wonderland.linux.it> (raw)
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).
Additionally, the link
/dev/sdcard -> sda
is created, but this is not enough. In fact it should also create
/dev/sdcard1 -> sda1
/dev/sdcard2 -> sda2
...
otherwise I cannot use /dev/sdcard1 in /etc/fstab.
Note that IF I have the card in the drive while booting, I DO GET
/dev/sdcard1 -> sda1!
So either this is a bug in the program, or a misconcept, depending this
is a bug report or a wishlist item ;-)
-- Package-specific info:
-- /etc/udev/rules.d/:
/etc/udev/rules.d/:
insgesamt 4
-rw-r--r-- 1 root root 275 2004-12-16 12:11 00-local.rules
lrwxrwxrwx 1 root root 13 2004-04-04 21:02 udev.rules -> ../udev.rules
-- /sys/:
/sys/block/hda/dev
/sys/block/hda/hda1/dev
/sys/block/hda/hda2/dev
/sys/block/hda/hda3/dev
/sys/block/hda/hda4/dev
/sys/block/hdc/dev
/sys/block/pktcdvd0/dev
/sys/block/ram0/dev
/sys/block/ram1/dev
/sys/block/ram10/dev
/sys/block/ram11/dev
/sys/block/ram12/dev
/sys/block/ram13/dev
/sys/block/ram14/dev
/sys/block/ram15/dev
/sys/block/ram2/dev
/sys/block/ram3/dev
/sys/block/ram4/dev
/sys/block/ram5/dev
/sys/block/ram6/dev
/sys/block/ram7/dev
/sys/block/ram8/dev
/sys/block/ram9/dev
/sys/block/sda/dev
/sys/class/cpuid/cpu0/dev
/sys/class/drm/card0/dev
/sys/class/input/event0/dev
/sys/class/input/event1/dev
/sys/class/input/event2/dev
/sys/class/input/event3/dev
/sys/class/input/mice/dev
/sys/class/input/mouse0/dev
/sys/class/input/mouse1/dev
/sys/class/misc/acerhk/dev
/sys/class/misc/agpgart/dev
/sys/class/misc/microcode/dev
/sys/class/misc/pktcdvd/dev
/sys/class/misc/psaux/dev
/sys/class/misc/rtc/dev
/sys/class/msr/msr0/dev
/sys/class/printer/lp0/dev
/sys/class/sound/adsp/dev
/sys/class/sound/audio/dev
/sys/class/sound/audio1/dev
/sys/class/sound/controlC0/dev
/sys/class/sound/controlC1/dev
/sys/class/sound/dsp/dev
/sys/class/sound/dsp1/dev
/sys/class/sound/mixer/dev
/sys/class/sound/mixer1/dev
/sys/class/sound/pcmC0D0c/dev
/sys/class/sound/pcmC0D0p/dev
/sys/class/sound/pcmC0D1c/dev
/sys/class/sound/pcmC1D0c/dev
/sys/class/sound/pcmC1D0p/dev
/sys/class/sound/seq/dev
/sys/class/sound/sequencer/dev
/sys/class/sound/sequencer2/dev
/sys/class/sound/timer/dev
-- Kernel configuration:
isapnp_init not present.
-- System Information:
Debian Release: 3.1
APT prefers unstable
APT policy: (500, 'unstable')
Architecture: i386 (i686)
Kernel: Linux 2.6.10-rc2-mm4
Locale: LANGÞ_AT@euro, LC_CTYPEÞ_AT@euro (charmap=ISO-8859-15)
Versions of packages udev depends on:
ii debconf [debconf-2.0] 1.4.41 Debian configuration management sy
ii hotplug 0.0.20040329-16 Linux Hotplug Scripts
ii initscripts 2.86-5 Standard scripts needed for bootin
ii libc6 2.3.2.ds1-19 GNU C Library: Shared libraries an
ii makedev 2.3.1-75 Creates device files in /dev
-- debconf information:
udev/devfs-warning:
* udev/reboot-warning:
----- End forwarded message -----
--
ciao, |
Marco | [9845 cuu6ZqZtEJgcg]
-------------------------------------------------------
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 reply other threads:[~2004-12-16 16:13 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-12-16 16:13 Marco d'Itri [this message]
2004-12-16 17:57 ` Bug#285945: udev: the option `all_partitions' to NAME does not Kay Sievers
2004-12-16 22:57 ` Bug#285945: udev: the option `all_partitions' to NAME does not transfer to SYMLINK 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=20041216161304.GA7119@wonderland.linux.it \
--to=md@linux.it \
--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).