Package: makedev Version: 2.3.1-79 Severity: wishlist Tags: patch Hi,
For quite some time, I've been generating /dev/em8300* devices in em8300's postinst script, in violation with the policy. Can you please apply the attached patch, so I can rely on MAKEDEV for the creation of these device files? Thanks in advance, Nicolas -- System Information: Debian Release: testing/unstable APT prefers testing APT policy: (900, 'testing'), (800, 'unstable'), (500, 'stable') Architecture: powerpc (ppc) Shell: /bin/sh linked to /bin/bash Kernel: Linux 2.6.14.5-irma Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968) Versions of packages makedev depends on: ii base-passwd 3.5.11 Debian base system master password makedev recommends no packages. -- no debconf information
diff -u makedev-2.3.1/MAKEDEV makedev-2.3.1/MAKEDEV --- makedev-2.3.1/MAKEDEV +++ makedev-2.3.1/MAKEDEV @@ -31,6 +31,7 @@ coda=" root root 0600" ipsec=" root root 0200" readable=" root root 0444" + em8300=" root video 0660" MAXVT=63 @@ -2074,6 +2075,16 @@ makedev pf$i b 47 $i $floppy done ;; + em8300) + major=121 + for i in 0 1 2 3 + do + makedev em8300-$i c $major $(( 4 * $i )) $em8300 + makedev em8300_mv-$i c $major $(( 4 * $i + 1 )) $em8300 + makedev em8300_ma-$i c $major $(( 4 * $i + 2 )) $em8300 + makedev em8300_sp-$i c $major $(( 4 * $i + 3 )) $em8300 + done + ;; update) devices= if [ ! -f $procfs/devices ]