Package: udev
Version: 164-3
Severity: normal


-- System Information:
Debian Release: 6.0.8
  APT prefers oldstable-updates
  APT policy: (500, 'oldstable-updates'), (500, 'oldstable')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.32-5-amd64 (SMP w/8 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

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

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

udev suggests no packages.

-- debconf information excluded

Even though system has tape drives, there are no device files in 
/dev/tape/by-id for tape drives.  (There are for autochangers/libraries.)
Could udev be enhanced so that tape drives also have entries in /dev/tape/by-id?
Other newer Linux operating systems like SuSE and RedHat do this.

I think the changes in question would be to 60-persistent-storage-tape.rules.

KERNEL=="st*[0-9]|nst*[0-9]",           ENV{ID_SERIAL}!="?*", \
        ENV{ID_BUS}="scsi", \
        IMPORT{program}="scsi_id --export --sg-version=3 --whitelisted  
--device=$tempnode"

# changed to seperate into nonrewinding and not
KERNEL=="st*[0-9]",             ENV{ID_SERIAL}=="?*", \
        SYMLINK+="tape/by-id/$env{ID_BUS}-$env{ID_SERIAL}"
KERNEL=="nst*[0-9]",            ENV{ID_SERIAL}=="?*", \
        SYMLINK+="tape/by-id/$env{ID_BUS}-$env{ID_SERIAL}-nst"


-- 
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]

Reply via email to