Subject: Re: bin/6259: can't eject(1) /dev/cd2d
To: Chris Jones <>
From: der Mouse <mouse@Rodents.Montreal.QC.CA>
List: netbsd-bugs
Date: 10/08/1998 09:24:11
> I can't use eject(1) to eject my third cdrom, aka /dev/cd2d.

I had similar problems once upon a time.

You *can* use eject to eject just about anything.

"eject -d /dev/rcd2d -t cdrom" should work.  See the note in the
eject(1) manpage for the -t option.

> Eject should really understand how to do this if it's given a real
> device name, even if said device isn't in its list of shortcuts.

The trouble is, there is no single way to eject.  You have to do it
differently depending on whether you're talking to the cd driver or the
floppy driver or the tape driver or whatever.  (When I looked, I think
there were only two or three different ways, with some of the -t
arguments being treated identically.  I don't know whether this is
still true.)  This is why -t is necessary when the device is not one
eject knows about, since then it doesn't know how to eject it - you
have to tell it.

					der Mouse

		     7D C8 61 52 5D E7 2D 39  4E F1 31 3E E8 B3 27 4B