public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Gerd Knorr <kraxel@suse.de>
To: Lennart Sorensen <lsorense@csclub.uwaterloo.ca>
Cc: Joerg Schilling <schilling@fokus.fraunhofer.de>,
	mrmacman_g4@mac.com, toon@hout.vanvergehaald.nl, ltd@cisco.com,
	linux-kernel@vger.kernel.org, dtor_core@ameritech.net,
	7eggert@gmx.de
Subject: Re: OT] Joerg Schilling flames Linux on his Blog
Date: Tue, 31 May 2005 21:56:03 +0200	[thread overview]
Message-ID: <20050531195603.GB28168@bytesex> (raw)
In-Reply-To: <20050531190556.GK23621@csclub.uwaterloo.ca>

  Hi,

> Well I remember the first time I saw devfs running, I thought "Wow
> finally I have a way to find the disc that is scsi id 3 on controller 0
> even if I add a device at id 2 after setting up the system", something

> I think sysfs can do it too, although I haven't looked to much at sysfs
> yet.

Yep, it can.

> I don't know if the ide or scsi method is currently more sane, but it
> sure would be nice to have a consistent behaviour between the two.

On my suse 9.3, out-of-the-box, I find this (implemented via
udev rules):

   # find /dev/cd /dev/disk -type l -print | sort
   /dev/cd/by-id/HL-DT-ST_DVDRAM_GSA-4040B_K213BDG5213
   /dev/cd/by-id/LG_CD-RW_CED-8080B_2000_07_27e
   /dev/cd/by-path/pci-0000:00:04.1-ide-1:0
   /dev/cd/by-path/pci-0000:00:04.1-ide-1:1
   /dev/disk/by-id/IBM-DTLA-305040_YJEYJM36751
   /dev/disk/by-id/IBM-DTLA-305040_YJEYJM36751p1
   [ ... ]
   /dev/disk/by-id/SIBM_DCAS-34330_B3GX3681
   /dev/disk/by-id/SIBM_DCAS-34330_B3GX3681p1
   /dev/disk/by-id/SIBM_DCAS-34330_B3GX3681p2
   /dev/disk/by-label/WIN98
   /dev/disk/by-label/unknown
   /dev/disk/by-path/pci-0000:00:04.1-ide-0:0
   /dev/disk/by-path/pci-0000:00:04.1-ide-0:0p1
   [ ... ]
   /dev/disk/by-path/pci-0000:00:0e.0-scsi-0:0:0:0
   /dev/disk/by-path/pci-0000:00:0e.0-scsi-0:0:0:0-generic
   /dev/disk/by-path/pci-0000:00:0e.0-scsi-0:0:0:0p1
   /dev/disk/by-path/pci-0000:00:0e.0-scsi-0:0:0:0p2
   /dev/disk/by-uuid/3140-1206
   /dev/disk/by-uuid/5fbce796-2a1a-4ea3-bd5f-be35b28b2fb1
   /dev/disk/by-uuid/b6a45df7-63bb-4890-b5d2-7bdcbe6c70a5
   /dev/disk/by-uuid/cb367983-ac59-42cd-839d-b5cf0735fae5
   /dev/disk/by-uuid/unknown
 
You'll have stable names both by connection path (great for the
raid case) and by device name (useful for the usb burner which
you plug into a different port each time).  Guess you'll find
there what you are looking for ;)

  Gerd

-- 
export CDR_DEVICE=/dev/cd/by-id/LG_CD-RW_CED-8080B_2000_07_27e

  reply	other threads:[~2005-05-31 20:04 UTC|newest]

Thread overview: 75+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-05-30  9:19 OT] Joerg Schilling flames Linux on his Blog 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 [this message]
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
  -- strict thread matches above, loose matches on Subject: below --
2005-05-30 22:00 Lincoln Dale (ltd)
2005-05-31 11:17 ` 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
     [not found] <4847F-8q-23@gated-at.bofh.it>
     [not found] ` <E1Db3zm-0004vF-9j@be1.7eggert.dyndns.org>
2005-05-25 22:46   ` Joerg Schilling
2005-05-25 23:31     ` Kyle Moffett
2005-05-26 19:20       ` 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
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-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=20050531195603.GB28168@bytesex \
    --to=kraxel@suse.de \
    --cc=7eggert@gmx.de \
    --cc=dtor_core@ameritech.net \
    --cc=linux-kernel@vger.kernel.org \
    --cc=lsorense@csclub.uwaterloo.ca \
    --cc=ltd@cisco.com \
    --cc=mrmacman_g4@mac.com \
    --cc=schilling@fokus.fraunhofer.de \
    --cc=toon@hout.vanvergehaald.nl \
    /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