From: md@Linux.IT (Marco d'Itri) Date: Thu, 16 Dec 2004 16:13:04 +0000 Subject: Bug#285945: udev: the option `all_partitions' to NAME does not transfer to SYMLINK Message-Id: <20041216161304.GA7119@wonderland.linux.it> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable To: linux-hotplug@vger.kernel.org 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 tra= nsfer 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}=3D"Flash R/W", NAME{all_partitions}=3D"%k", SYMLINK=3D"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=DE_AT@euro, LC_CTYPE=DE_AT@euro (charmap=3DISO-8859-15) Versions of packages udev depends on: ii debconf [debconf-2.0] 1.4.41 Debian configuration managemen= t sy ii hotplug 0.0.20040329-16 Linux Hotplug Scripts ii initscripts 2.86-5 Standard scripts needed for bo= otin ii libc6 2.3.2.ds1-19 GNU C Library: Shared librarie= s an ii makedev 2.3.1-75 Creates device files in /dev -- debconf information: udev/devfs-warning: * udev/reboot-warning: ----- End forwarded message ----- --=20 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.=20 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