Messages in this thread | | | From | Andreas Jellinghaus <> | Subject | Re: udev sysfs docs Re: State of devfs in 2.6? | Date | Tue, 09 Dec 2003 10:46:28 +0100 |
| |
maybe add this to the faq?
Q: devfs did load drivers when someone tried to open() a non existing device. will sysfs/hotplug/udev do this?
A: there is no need to. hotplug/sysfs/udev will create devices for all hardware supported by the kernel and the available modules. it will do that during boot up, and whenever new hardware is added. so you can expect all devices be already present, no need for a devfs like mechanism.
Q: but what if a device is still missing? A: in that case neither the linux kernel nor the available modules support that hardware, so there is nothing hotplug/sysfs/udev can do about it. If you add modules and [FIXME: how to update the module maps] and [FIXME: remove and attach again or do ... to spawn hotplug events] the kernel will load the modules and udev will create the device files.
Andreas
- 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/
| |