On Mon, 8 Dec 2003, bill davidsen wrote:
In article <Pine.LNX.4.58.0312061044450.2092@xxxxxxxxxxxxx>,
Linus Torvalds <torvalds@xxxxxxxx> wrote:
|
| And you liked the fact that you were supposed to write "dev=0,0,0" or
| something strange like that? What a piece of crap it was.
Actually, dev=0,0,0 or dev=/dev/hdc are neither particularly portable;
each can be something else on another machine. At least /dev/sr0 (or
scd0 if you go to that church) are a bit less likely to change.
Actually, the sane thing to do is to use "/dev/cdrom", which is likely to
be right, and if it isn't, you can always fix it (and you can fix it
_dynamically_ with something like "udev" - so it will do the right thing
even if your cdrom happens to be hot-pluggable).
The only time that ends up being confusing is if you have multiple CD-roms
(which used to be common - DVD reader and CD writer - but is going away
again on "normal" machines due to combo drives). And then you really
actually care about position, so then you are likely happy to go back to
"/dev/hdc" or "/dev/usb-cdrom" or something like that to specify _which_
CD-RW you're talking about.