identifying swap partitions

From: kcratie (kcratie@yahoo.com)
Date: Wed Mar 27 2002 - 03:58:36 EST


Good day,
There doesn't seem to be any facility available to a
module to obtain information about swap devices in the
2.4.7 kernel. I have attempted to use
"is_swap_partition" and "swap_info" in swapfile.c but
my module fails to load stating unresolved symbol.
I've searched /proc/ksyms and neither is there, and
since I'm using both optimization and modversions I'm
assuming that it is not exported for use. Is this
correct, if so is there some alternative call that can
be used to obtain the information?
One additional request, please cc your
answers/comments to kcratie@yahoo.com
Thank you,
Ken Subratie

__________________________________________________
Do You Yahoo!?
Yahoo! Movies - coverage of the 74th Academy Awards®
http://movies.yahoo.com/
-
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/



This archive was generated by hypermail 2b29 : Sun Mar 31 2002 - 22:00:13 EST