lkml.org 
[lkml]   [2003]   [May]   [1]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: /dev Questions
On Thu, May 01, 2003 at 10:56:12AM -0400, Scott Robert Ladd wrote:
> Why does /dev include devices that do not exist?

/dev is only a bunch of device nodes that knows nothing about any
devices physically present in the system.

devfs creates a dynamic filesystem that is managed by the kernel that
only shows the devices present in the kernel at that point in time.

udev attempts to manage a /dev partition from userspace by watching all
of the hotplug events coming from the kernel that announce device
removal and additions.

Hope this helps,

greg k-h
-
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:35    [W:0.073 / U:0.080 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site