reopen 499152
thanks

Pretending that this bug doesn't exist won't make it go away.  It is a fact
that udev has just broken mt-st.

>> Since way back in the mists of time, /dev/tape has been a symlink
>> pointing to the device file for the default tape drive.  Now without
> [citation needed]

>From mt(1):

       The path of the tape device on which to operate can
       be given with the -f or -t option.  If  neither  of  those  options 
is
       given,  and  the  environment variable TAPE is set, it is used. 
Other-
       wise, a default device defined in the file  /usr/include/sys/mtio.h 
is
       used.

$ sed '272,275!d' < /usr/include/sys/mtio.h
/* Specify default tape device.  */
#ifndef DEFTAPE
# define DEFTAPE        "/dev/tape"
#endif

Maybe it would be more correct to say that udev is in conflict with
libc6-dev, since mtio.h belongs to it.  udev is also now in conflict with
the Linux kernel, since from /usr/src/linux/Documentation.txt we have:

    Locally defined links

The following links may be established locally to conform to the
configuration of the system.  This is merely a tabulation of existing
practice, and does not constitute a recommendation.  However, **if they
exist, they should have the following uses**.

/dev/mouse  mouse port  symbolic    Current mouse device
/dev/tape   tape device symbolic    Current tape device
...

(emphasis added)  Use of /dev/tape as a symlink to the current tape drive
is indeed a long-standing practice.  Here are a few citations:

http://books.google.com/books?id=YxRsAcDuo7sC&pg=PA734&lpg=PA734&dq=/dev/tape+essential+system+administration&source=web&ots=VvUtLV26Xy&sig=1sOLGfhOpVxKEFB2fEF4nnE9pzI&hl=en&sa=X&oi=book_result&resnum=1&ct=result
http://books.google.com/books?id=_KOVjr-pn9EC&pg=PA95&lpg=PA95&dq=/dev/tape&source=web&ots=c5pKZT2UCv&sig=xO8rH-Qlwq-qdXLnVyZu3gZvJWg&hl=en&sa=X&oi=book_result&resnum=9&ct=result#PPA96,M1
https://bugzilla.redhat.com/show_bug.cgi?id=289381

>> I suppose that we can all change our scripts and adapt to this change,
>> but I don't see why it was necessary at all.  Couldn't the new
>> directory of symlinks have been named /dev/tapes?
> No, because it is the name used by every linux distribution.

... Yes, as of now, because udev has just decreed that it should be so, and
pushed its decision out to all of our hosts.

Thanks,
Andrew.




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

Reply via email to