linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Valdis.Kletnieks@vt.edu
To: Linus Torvalds <torvalds@osdl.org>
Cc: linux-kernel@vger.kernel.org
Subject: Re: cdrecord hangs my computer
Date: Mon, 08 Dec 2003 14:40:08 -0500	[thread overview]
Message-ID: <200312081940.hB8Je8fD023223@turing-police.cc.vt.edu> (raw)
In-Reply-To: Your message of "Mon, 08 Dec 2003 10:53:24 PST." <Pine.LNX.4.58.0312081046200.13236@home.osdl.org>

[-- Attachment #1: Type: text/plain, Size: 1799 bytes --]

On Mon, 08 Dec 2003 10:53:24 PST, Linus Torvalds said:

> Valdis: for /dev/hdxx, you can rename it with such esoteric programs as
> 'mv', 'ln', 'perl', 'cp', 'mknod', 'emacs', and a few hundred others. What
> is your beef with it?

The difference is that with nameif, I can feed it the MAC address and use
that as a "find this interface" key.  And given that at the moment, my lap
top has *4* ethernet devices (an onboard one, one in the docking station,
a wireless card, and one that happens to be be on a Xircom modem card),
it's really handy to be able to be able to nail down the names.

Yes, there's 3 zillion ways to rename the device, once I figure out what it's
name *is*.   Currently, my machine has a nice symlink set up:

% ls -l /dev/cdroms/
total 0
   0 lr-xr-xr-x    1 root     root           33 Dec 31  1969 cdrom0 -> ../ide/host0/bus0/target1/lun0/cd

which devfs was nice enough to do.  My beef is that if I had 2 cdroms, then
there's no guarantee of stability for cdrom0/cdrom1, and unlike the nameif
example, there's no really good way to deal with it (especially when you start
dealing with hotplug devices).

Or as another poster commented, it's easy to use /dev/cdrom-blue-faceplate once
you make it a symlink to the right place.  It's getting that symlink into place
that's the fun part. I admit I haven't looked at the udev stuff - is it able to
look closely enough at devices to do things like "I want the Mitsubishi CDrom
to be cdrom0 and the FireWire/USB/whatever to be cdrom1 if it's my Fujitsu,
but call it cdrom2 otherwise"? If so, then I don't have a beef with it... ;)

The stuff that supports LABEL= on a partition is a *partial* solution to
decouple the name of the device as the system found it from a logical name, but
as many have noted, it has its own issues.


[-- Attachment #2: Type: application/pgp-signature, Size: 226 bytes --]

  reply	other threads:[~2003-12-08 19:40 UTC|newest]

Thread overview: 40+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-12-06  8:01 cdrecord hangs my computer Tero Knuutila
2003-12-06  8:12 ` Linus Torvalds
2003-12-06  8:54   ` Ethan Weinstein
2003-12-06 11:59     ` Måns Rullgård
2003-12-06 13:40     ` Wakko Warner
2003-12-06 14:37       ` John Bradford
2003-12-06 21:57       ` Linus Torvalds
2003-12-06 22:02         ` Larry McVoy
2003-12-06 22:32           ` Linus Torvalds
2003-12-07 11:01             ` Eduard Bloch
2003-12-07 16:18               ` Linus Torvalds
2003-12-08 16:21                 ` bill davidsen
2003-12-08 17:46                   ` Linus Torvalds
2003-12-09 12:38                     ` Bill Davidsen
2003-12-08 17:53                   ` Valdis.Kletnieks
2003-12-08 18:53                     ` Linus Torvalds
2003-12-08 19:40                       ` Valdis.Kletnieks [this message]
2003-12-09 14:50                         ` Ian Soboroff
2003-12-09 20:42                           ` Mikael Pettersson
2003-12-08 16:24                 ` Martin J. Bligh
2003-12-08 19:22                   ` dialectical deprecation " Bob
2003-12-09 21:19                     ` bill davidsen
2003-12-09 22:31                     ` David Lang
2003-12-09 21:51                       ` Måns Rullgård
2003-12-08  4:36           ` Bob
2003-12-08  4:51             ` Larry McVoy
2003-12-07  0:16         ` Wakko Warner
2003-12-07  3:31           ` William Lee Irwin III
2003-12-07  4:49           ` Linus Torvalds
2003-12-08 16:13         ` bill davidsen
2003-12-08 17:38           ` Linus Torvalds
2003-12-08 19:41             ` bluefaceplate demographics " Bob
2003-12-06 16:42     ` Linus Torvalds
2003-12-06 12:39 Tero Knuutila
2003-12-06 18:27 Tero Knuutila
2003-12-06 19:08 Tero Knuutila
2003-12-08  9:31 Douglas Gilbert
2003-12-11 12:56 ` Jens Axboe
2003-12-11 16:15   ` Linus Torvalds
2003-12-15 13:29 Paul Marinceu

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=200312081940.hB8Je8fD023223@turing-police.cc.vt.edu \
    --to=valdis.kletnieks@vt.edu \
    --cc=linux-kernel@vger.kernel.org \
    --cc=torvalds@osdl.org \
    /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;
as well as URLs for NNTP newsgroup(s).