devfs
[Top] [All Lists]

Re: devfs/cdrom problem

To: Richard Gooch <rgooch@xxxxxxxxxxxxxxx>
Subject: Re: devfs/cdrom problem
From: Gary Shea <shea@xxxxxxxxxxxxx>
Date: Thu, 29 Nov 2001 17:06:37 -0700 (MST)
Cc: devfs@xxxxxxxxxxx
In-reply-to: <200111292232.fATMW0v02889@vindaloo.ras.ucalgary.ca>
Sender: owner-devfs@xxxxxxxxxxx
On a slightly different topic, I was reading some old mails, and found
this in the linux kernel list (as I recall...):

----------
From: Richard Gooch (rgooch@xxxxxxxxxxxxxxx)
Date: Sun Jul 02 2000 - 13:23:57 EST

Rask Ingemann Lambertsen writes:
> Den 02-Jul-00 10:54:55 skrev Xuan Baldauf følgende om "devfs: whereis
> my ide-cdrom":
> >Hello,
>
> >I have an IDE cdrom drive formerly known as /dev/hdc:
> [cut]
> >but it does not appear in the devfs namespace in
> >linux-2.4.0-test2-ac2:
>
> >notebook2:/dev/ide/host0/bus1/target0/lun0 # dir
> [cut]
>
> >So it is a bug?
>
> [...] Check /dev/ide/host1/bus0/target0/lun0 instead.


Correct. Each IDE interface is a separate host. Thus the secondary is
host1.
---------

I read this and thought, ok, this makes sense.  Only problem is, I now
have exactly the same situation.  My drive is /dev/hdc (or used to be),
but now it's /dev/ide/host0/bus1/target0/lun0/cd.  Note host0, not host1
(there's no host1 at all).  Was this momentary confusion or am I totally
missing something?

        Gary


<Prev in Thread] Current Thread [Next in Thread>