Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 275023 - sys-fs/udev created a directory name /dev/tape where all backup and tape tools expect a symbolic link
Summary: sys-fs/udev created a directory name /dev/tape where all backup and tape tool...
Status: RESOLVED WONTFIX
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: All Linux
: High normal
Assignee: udev maintainers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-06-22 07:04 UTC by Johan Ymerson
Modified: 2009-08-30 22:05 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Johan Ymerson 2009-06-22 07:04:38 UTC
udev created a directory name /dev/tape where all backup and tape tools expect a symbolic link.

All backup and tape tools (such as mt tar backup restore etc.) expects to find a symbolic link to the default tape device named /dev/tape.

The current udev rules creates a directory /dev/tape, making all tape tools fail to find their default tape device.

The default udev rules should be rewritten to allow for the creation of a /dev/tape symbolic link.

Note for Linux systems: The current behaviour is in direct violation of the documentation in the linux sources (Documentation/devices.txt).


Reproducible: Always
Comment 1 Robin Johnson archtester Gentoo Infrastructure gentoo-dev Security 2009-06-22 17:42:27 UTC
They were added by upstream in udev-089 to match /dev/disk/. One of the reasons is that even the old /dev/tape symlink did not describe what mode the tape drive was being used in.

It needs to go to the udev upstream, but I'd suspect that they will just send a patch against Documentation.txt to describe the new behaviour.
Comment 2 Robin Johnson archtester Gentoo Infrastructure gentoo-dev Security 2009-06-22 17:43:07 UTC
Oh, and it's NOT all tools that expect /dev/tape. There's a LOT that just default to /dev/nst0 as the sane device.
Comment 3 Matthias Schwarzott gentoo-dev 2009-07-30 19:48:58 UTC
Ok, as upstream udev does explicitly wants /dev/tape to be a directory we keep this.
Please file bugs about applications relying on /dev/tape being a symlink.
Comment 4 Matthias Schwarzott gentoo-dev 2009-08-30 22:05:01 UTC
WONTFIX.