best way to determine if a module is loaded - from another module

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Please CC me on the replies -I'm not on the list.

I can't figure out how to know if another module is loaded.  I know
/proc/modules has the list.  Do I open that with sys_open or is there a
better way?

I have written a software watchdog for the amd au1200 cpu that will
gracefully shut the unit off if nobody kicks me.

I've read the kernel resources, and searched the mailing list but I
don't see an answer.

Thanks for any pointers to more info or how to do it.
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

[Index of Archives]     [Kernel Newbies]     [Netfilter]     [Bugtraq]     [Photo]     [Stuff]     [Gimp]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Video 4 Linux]     [Linux for the blind]     [Linux Resources]
  Powered by Linux