kernel modules and udev

Net Llama! netllama
Fri Jan 13 12:11:01 PST 2006


On Fri, 13 Jan 2006, Roger Oberholtzer wrote:
>
> I have a situation where I am wanting to ensure that removable SATA
> disks maintain a consistent mount point, no matter which disks are
> present. The classic problem.
>
> Here is my twist on it:
>
> If I have the sd_mod module loaded as part of initrd, the udev calls are
> not made. The disks are located and entries are made in /dev in the old
> fashioned way (first disk is /dev/sda, and so on). If I wait a bit and
> load sd_mod by hand, then the udev calls are made.
>
> Is udev not ready before any drivers that would add disks are loaded?

Correct, its a user (hence the u in udev) space function, not a kernel
function.

> Isn't udev compiled into the kernel (not a module)? Is it that udev

See above :)


-- 
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Lonni J Friedman                        netllama at linux-sxs.org
LlamaLand				http://netllama.linux-sxs.org


More information about the Linux-users mailing list