Your message dated Sun, 15 Aug 2010 03:08:18 +0200
with message-id <[email protected]>
and subject line Re: Bug#590995: udev don't create /dev/dvd
has caused the Debian Bug report #590995,
regarding udev don't create /dev/dvd
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)


-- 
590995: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=590995
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: udev
Version: 160-1
Severity: normal

Hi,

I have a system with a cdrom and a dvd drive
udev create :
/dev/cdrom
/dev/cdrom1
/dev/dvd1


I believe udev should create /dev/dvd because of software assume it
is the default dvd drive

It can be done with the attached patch


-- System Information:
Debian Release: squeeze/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (500, 'testing'), (1, 'experimental')
Architecture: i386 (i686)

Kernel: Linux 2.6.34-1-686 (SMP w/1 CPU core)
Locale: LANG=C, LC_CTYPE=C (charmap=ISO-8859-1) (ignored: LC_ALL set to fr_FR)
Shell: /bin/sh linked to /bin/dash

Versions of packages udev depends on:
ii  debconf [debconf-2.0]        1.5.33      Debian configuration management sy
ii  libc6                        2.11.2-2    Embedded GNU C Library: Shared lib
ii  libselinux1                  2.0.96-1    SELinux runtime shared libraries
ii  libudev0                     160-1       libudev shared library
ii  libusb-0.1-4                 2:0.1.12-15 userspace USB programming library
ii  lsb-base                     3.2-23.1    Linux Standard Base 3.2 init scrip
ii  util-linux                   2.17.2-3.1  Miscellaneous system utilities

Versions of packages udev recommends:
ii  pciutils                      1:3.1.7-4  Linux PCI Utilities
ii  usbutils                      0.87-5     Linux USB utilities

udev suggests no packages.

-- debconf information:
  udev/new_kernel_needed: false
  udev/title/upgrade:
  udev/reboot_needed:
--- /lib/udev/write_cd_rules    2010-07-12 02:55:49.000000000 +0200
+++ /tmp/write_cd_rules 2010-07-30 22:03:23.000000000 +0200
@@ -111,10 +111,13 @@
 comment="$ID_MODEL ($ID_PATH)"
 
        write_rule "$match" "cdrom$link_num" "$comment"
+link_num=$(find_next_available 'cdrw[0-9]*')
 [ "$ID_CDROM_CD_R" -o "$ID_CDROM_CD_RW" ] && \
        write_rule "$match" "cdrw$link_num"
+link_num=$(find_next_available 'dvd[0-9]*')
 [ "$ID_CDROM_DVD" ] && \
        write_rule "$match" "dvd$link_num"
+link_num=$(find_next_available 'dvdrw[0-9]*')
 [ "$ID_CDROM_DVD_R" -o "$ID_CDROM_DVD_RW" -o "$ID_CDROM_DVD_RAM" ] && \
        write_rule "$match" "dvdrw$link_num"
 echo >> $RULES_FILE

--- End Message ---
--- Begin Message ---
On Jul 30, matthieu castet <[email protected]> wrote:

> I believe udev should create /dev/dvd because of software assume it
> is the default dvd drive
> 
> It can be done with the attached patch
Feel free to persuade the upstream maintainer to accept it, I do not
want to diverge from other distributions on naming criteria.

-- 
ciao,
Marco

Attachment: signature.asc
Description: Digital signature


--- End Message ---

Reply via email to