From: Dmitry Torokhov <dtor_core@ameritech.net>
To: Joerg Schilling <schilling@fokus.fraunhofer.de>
Cc: mrmacman_g4@mac.com, linux-kernel@vger.kernel.org, 7eggert@gmx.de
Subject: Re: OT] Joerg Schilling flames Linux on his Blog
Date: Mon, 30 May 2005 17:27:42 -0500 [thread overview]
Message-ID: <200505301727.43926.dtor_core@ameritech.net> (raw)
In-Reply-To: <429AD7ED.nail4ZG1B42TI@burner>
On Monday 30 May 2005 04:07, Joerg Schilling wrote:
> Dmitry Torokhov <dmitry.torokhov@gmail.com> wrote:
>
> > > Cdrecord includes the needed features to do what you like, but do not
> > > asume that you will be able to force me to make nonportable and Linux
> > > specific interfaces a gauge for the design of a portable program.
> > > If you read the cdrecord man page, you know that you could
> > > happily call cdrecord dev=green_burner.....
> > >
> >
> > No, that static mapping is not good. I have an external enclosure that
> > does firewire and USB. I want to be able to use "sony-dvd" to access
> > it no matter whether it is onnected to USB bus or Firewire and whether
> > there are other devices (disks) on USB or firewire. It is possible to
> > do with udev creating a link to /dev/sony-dvd.
>
> I am not sure what you like to do.....
>
> But what you claim is simply impossible.
>
> As you started to introduce the allegory with the colors, let me make
> an assumption based on your claim:
>
> - Buy two identical drives and varnish one in red and the other
> in green.
>
> - Connect both drives to your computer to let the OS "learn" the
> drives.
>
> - Do any setup you like
>
> - Now disconnect the drives and after that, connect the green one
> the way the red one has been connected before.
>
> - Connect the red one too.
>
> - Insert a medium into the green drive
>
> - Let your software try whether it is able to connect you
> to the green one.
>
> If this always works as expected, then you are a magician!
>
It will not work if drives are absolutely identical, however if there is
something even slightly different about them (serial number, model,
firmware version - anything) you can set up udev to produce "stable" name.
FWIW, my example was about a single drive that can "change" it's X,Y,Z
depending on how and when it was connected.
> So let me sum up: Never rely on things that cannot be made 100%
> unique in case you like to run security relevent software like cdrecord.
Are you talking about <bus>,<target>,<lun> numbering by any chance ;) ?
Because for the most types of devices out there they don't make any sense
and just provided for compatibility with legacy software.
Also, from a bit different perspective - do you also want users to mount
the CD they burnt using not device (/dev/xxx) but <bus>,<target>,<lun>?
If not why writing application should use different addressing?
--
Dmitry
next prev parent reply other threads:[~2005-05-30 22:28 UTC|newest]
Thread overview: 79+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <4847F-8q-23@gated-at.bofh.it>
[not found] ` <E1Db3zm-0004vF-9j@be1.7eggert.dyndns.org>
2005-05-25 22:46 ` OT] Joerg Schilling flames Linux on his Blog Joerg Schilling
2005-05-25 23:31 ` Kyle Moffett
2005-05-26 3:45 ` [OT] " Alexander E. Patrakov
2005-05-26 5:06 ` Giuseppe Bilotta
[not found] ` <Pine.LNX.4.58.0505261335440.2939@be1.lrz>
2005-05-26 12:33 ` Alexander E. Patrakov
[not found] ` <Pine.LNX.4.58.0505261651220.3407@be1.lrz>
2005-05-27 10:44 ` Joerg Schilling
2005-05-26 19:20 ` OT] " Bill Davidsen
2005-05-26 21:26 ` Kyle Moffett
2005-05-26 23:30 ` Matthias Andree
2005-05-27 9:39 ` Joerg Schilling
2005-05-27 11:09 ` Wakko Warner
2005-05-27 14:21 ` Dmitry Torokhov
2005-05-30 9:07 ` Joerg Schilling
2005-05-30 10:47 ` Markus Plail
2005-05-30 22:27 ` Dmitry Torokhov [this message]
2005-05-30 23:20 ` Måns Rullgård
2005-05-30 23:35 ` Brian O'Mahoney
2005-05-31 12:51 ` Joerg Schilling
2005-05-31 12:47 ` Joerg Schilling
[not found] ` <Pine.LNX.4.58.0505260205390.19389@be1.lrz>
2005-05-27 10:03 ` Joerg Schilling
[not found] ` <Pine.LNX.4.58.0505271633200.3055@be1.lrz>
2005-05-30 9:36 ` Joerg Schilling
[not found] ` <Pine.LNX.4.58.0505301326450.2363@be1.lrz>
2005-05-31 10:57 ` Joerg Schilling
2005-05-30 22:00 Lincoln Dale (ltd)
2005-05-31 11:17 ` Joerg Schilling
-- strict thread matches above, loose matches on Subject: below --
2005-05-30 9:19 Lincoln Dale (ltd)
2005-05-30 9:34 ` Toon van der Pas
2005-05-30 12:26 ` Joerg Schilling
2005-05-30 14:14 ` Kyle Moffett
2005-05-31 11:03 ` Joerg Schilling
2005-05-31 7:29 ` Terry Vernon
2005-05-31 11:46 ` Richard B. Johnson
2005-05-31 16:59 ` Gerd Knorr
2005-05-31 19:05 ` Lennart Sorensen
2005-05-31 19:56 ` Gerd Knorr
2005-06-01 15:56 ` Joerg Schilling
2005-06-01 16:20 ` Dagfinn Ilmari Mannsåker
2005-06-01 16:55 ` Gerd Knorr
2005-06-01 2:23 ` Horst von Brand
2005-06-01 15:56 ` Lennart Sorensen
2005-06-03 13:29 ` Theodore Ts'o
2005-06-01 16:28 ` Oliver Neukum
2005-06-01 15:41 ` Joerg Schilling
2005-06-01 15:11 ` Joerg Schilling
2005-06-01 15:42 ` Jim Crilly
2005-06-01 16:55 ` Joerg Schilling
2005-06-01 17:29 ` Jim Crilly
2005-06-01 17:50 ` Joerg Schilling
2005-06-01 17:59 ` Jim Crilly
2005-06-02 1:14 ` Bill Davidsen
2005-06-02 1:46 ` Måns Rullgård
2005-06-02 1:23 ` Bill Davidsen
2005-06-03 19:51 ` Patrick McFarland
2005-06-01 22:06 ` Matthias Andree
2005-06-01 15:57 ` Patrick McFarland
2005-05-31 17:22 ` Jim Crilly
2005-05-31 19:28 ` Dmitry Torokhov
2005-05-31 20:54 ` Jim Crilly
2005-06-01 15:53 ` Joerg Schilling
2005-06-01 16:05 ` Dmitry Torokhov
2005-06-01 17:03 ` Joerg Schilling
2005-06-01 17:28 ` Chris Friesen
2005-06-02 2:08 ` Måns Rullgård
2005-06-01 17:35 ` Patrick McFarland
2005-06-02 10:34 ` Lukasz Stelmach
2005-06-01 16:21 ` Matthias Andree
2005-06-01 17:29 ` Joerg Schilling
2005-06-01 15:28 ` Joerg Schilling
2005-06-01 15:48 ` Jim Crilly
2005-05-30 13:38 ` Tomasz Torcz
2005-05-30 9:46 ` Joerg Schilling
[not found] <48cRq-7TH-5@gated-at.bofh.it>
[not found] ` <48cRq-7TH-7@gated-at.bofh.it>
[not found] ` <48cRq-7TH-3@gated-at.bofh.it>
[not found] ` <48dDM-5I-1@gated-at.bofh.it>
[not found] ` <48wdp-7lh-1@gated-at.bofh.it>
2005-05-26 21:53 ` Bodo Eggert
2005-05-26 23:12 ` Lee Revell
2005-05-25 13:15 Joerg Schilling
2005-05-25 23:12 ` Kyle Moffett
2005-05-26 10:15 ` Joerg Schilling
2005-05-26 11:42 ` Bill Davidsen
2005-05-25 12:50 Joerg Schilling
2005-05-26 4:11 ` Patrick McFarland
2005-05-26 7:14 ` Markus Plail
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=200505301727.43926.dtor_core@ameritech.net \
--to=dtor_core@ameritech.net \
--cc=7eggert@gmx.de \
--cc=linux-kernel@vger.kernel.org \
--cc=mrmacman_g4@mac.com \
--cc=schilling@fokus.fraunhofer.de \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox