Messages in this thread | | | Date | Thu, 1 May 2003 09:01:37 -0700 | From | Greg KH <> | Subject | Re: /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/
| |