Re: why can't I remove a kernel module (or: what uses a given module)?

From: Ross Vandegrift
Date: Sun Dec 03 2006 - 10:52:02 EST


On Sun, Dec 03, 2006 at 12:58:24PM +0100, Tomasz Chmielewski wrote:
> You mean the "Used by" column? No, it's not used by any other module
> according to lsmod output.
>
> Any other methods of checking what uses /dev/sda*?

There's a good chance that if it was loaded at system boot, hald or
udev may be doing something with it.

When you loaded it manually, you didn't have udev rescan for devices
so they didn't notice that you had loaded up a new disk.

--
Ross Vandegrift
ross@xxxxxxxxxxx

"The good Christian should beware of mathematicians, and all those who
make empty prophecies. The danger already exists that the mathematicians
have made a covenant with the devil to darken the spirit and to confine
man in the bonds of Hell."
--St. Augustine, De Genesi ad Litteram, Book II, xviii, 37
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/