lkml.org 
[lkml]   [2006]   [Feb]   [14]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    Date
    SubjectRe: CD writing in future Linux (stirring up a hornets' nest)
    From
    On Tue, Feb 14, 2006 at 10:20:30AM +0100, Martin Mares wrote:
    > That's unfortunately not true -- many USB devices don't have a usable
    > serial number.
    >
    > Also, if I have a single device of its kind, let's say a USB mouse,
    > I really want to call it "The Mouse" and I don't want to reconfigure
    > anything if I plug it to a different port or replace it with a slightly
    > different mouse. All mice are considered equivalent by the user
    > as there is no reason to distinguish between them.

    Unless you are trying to setup two mice, two keyboards and two screens
    on one machine at the same time. Some people do that. Then which mouse
    is which is relevant.

    > The same applies to CD burners -- as long as I have only one (which is
    > still the most common situation), I shouldn't have to think about how
    > to call it. Let it be just /dev/cdrw.

    Many people have a cd writer and then add a dvd writer. Not that
    unusual really.

    > When I get multiple such devices, things start getting interesting, but
    > there is no single naming strategy which fits all uses. For example,
    > if I have two USB ports into which I connect USB disks various people
    > bring to me, it's convenient to call them "left" and "right", because
    > the serial number doesn't mean anything to me if I haven't seen the
    > device before. On the other hand, if I connect my own drives, it makes
    > sense to call them by their serial numbers or something like that.
    >
    > I think that it's clear from all this, that device naming is a matter
    > of policy and that the best the OS can do is to give the users a way
    > how to specify their policy, which is what udev does.

    Well udev is starting to look useful. It no longer causes lots of
    breakage when I install it on my system. :)

    Len Sorensen
    -
    To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
    the body of a message to majordomo@vger.kernel.org
    More majordomo info at http://vger.kernel.org/majordomo-info.html
    Please read the FAQ at http://www.tux.org/lkml/

    \
     
     \ /
      Last update: 2006-02-14 15:27    [W:4.386 / U:0.528 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site