lkml.org 
[lkml]   [2001]   [Feb]   [28]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: devfs and /proc/ide/hda
On Wed, Feb 28, 2001 at 09:29:24PM +1100, Glenn McGrath wrote:

> Well leaving it the way it is doesnt make much sense either really, it
> refers to devices that dont exist.

You are mistaken. The existence of a device is unrekated to the name
someone uses to access it. You may well use /tmp/myowndisk instead
of /dev/hda. In fact some programs do precisely that and use mknod()
to temporarily create a device node with known name, since they
cannot guess what name you may be using for the device.

The kernel also uses names, for example in its boot messages,
and it will call the device hda even when you use /tmp/myowndisk.

There is no intrinsic name for a device - at most a conventional name.
-
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/

\
 
 \ /
  Last update: 2005-03-22 13:22    [W:0.137 / U:0.732 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site