Bug 460265
Summary: | sys/mtio.h defines non-existing default tape device | ||
---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | Dan Horák <dan> |
Component: | glibc | Assignee: | Jakub Jelinek <jakub> |
Status: | CLOSED DEFERRED | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
Severity: | medium | Docs Contact: | |
Priority: | medium | ||
Version: | rawhide | CC: | drepper, dvlasenk, harald, kdudka, ovasik |
Target Milestone: | --- | ||
Target Release: | --- | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | Bug Fix | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2008-09-16 05:17:49 UTC | Type: | --- |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: | |||
Bug Depends On: | |||
Bug Blocks: | 289381 |
Description
Dan Horák
2008-08-27 07:57:05 UTC
adding Harald as the udev maintainer There will never be a lasting consensus what is the "correct" default tape dirve name. On a machine with two or more identical tape drives it's even not nonsensical. I'd suggest explicitly naming the device you work with. the /dev/tape directory is considered a quasi standard across all distributions, which use the udev standard rule files. (In reply to comment #2) > There will never be a lasting consensus what is the "correct" default tape > dirve name. > > On a machine with two or more identical tape drives it's even not nonsensical. > > I'd suggest explicitly naming the device you work with. But we want to be consistent across different utilities that are using tapes - mt, mtx, cpio, tar, ... In the pre-udev times the /dev/tape was a symlink to first tape device found. I think there are two ways out of this 1. find a new name for default tape, let udev create it as a symlink and define it in sys/mtio.h 2. rename the /dev/tape directory in udev to something else and let udev create the /dev/tape as symlink >But we want to be consistent across different utilities
> that are using tapes - mt, mtx, cpio, tar, ...
Yes. My proposal is to make them complain if tape device name is not explicitly given.
By analogy, cp does not have "default target directory", just "cp /bin/sh" does not work. You have to specify where to copy the file.
These utilities already have options to specify target tape device. For example, mtx [-f <scsi-generic-device>]. Just make them fail if this option is not given.
Just my 0.02 euros
I'm closing this bug. In glibc I won't make a decision. Get the appropriate people to agre on a way to locate a default device and then I'll make a change. |