Re: devfs and /proc/ide/hda

Pierre Rousselet (pierre.rousselet@wanadoo.fr)
Wed, 28 Feb 2001 12:58:46 +0100


Glenn McGrath wrote:

> Helge Hafting wrote:
>
>> Glenn McGrath wrote:
>>
>>> Im running kernel 2.4.1, I have entries like /proc/ide/hda,
>>> /proc/ide/ide0/hda etc irrespective of wether im using devfs or
>>> traditional device names.
>>>
>>> Is always using traditional device names for /proc/ide intentional, or
>>> is it something nobody has gotten around to fixing yet?
>>
>> Using devfs changes the names in /dev. I don't think it
>> is supposed to affect /proc in any way. And there are programs out
>> that use the existing /proc - changing it won't be popular.
>>
>
>
> Well leaving it the way it is doesnt make much sense either really, it
> refers to devices that dont exist.

IMHO ide0 ide1... are naming plugs on the motherboard. They are not
competing with special file names. It is a drawback of devfs to change
the device name when you happen to use a hd as a removable media.
hdd was disc0 and becomes disc1 when you plug in an hda...

Pierre

-- 
------------------------------------------------
  Pierre Rousselet <pierre.rousselet@wanadoo.fr>
------------------------------------------------

- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/