Date: Fri, 16 Oct 1998 12:14:58 +0930 From: Greg Lehey <grog@lemis.com> To: Charlie Root <root@krasnavi.scn.ru>, FreeBSD Hackers <hackers@FreeBSD.ORG> Subject: Re: How cam I be writing LKM ? Message-ID: <19981016121458.U468@freebie.lemis.com> In-Reply-To: <199810161012.KAA07104@krasnavi.scn.ru>; from Charlie Root on Fri, Oct 16, 1998 at 10:12:31AM %2B0000 References: <199810161012.KAA07104@krasnavi.scn.ru>
next in thread | previous in thread | raw e-mail | index | archive | help
[following up to -hackers] On Friday, 16 October 1998 at 10:12:31 +0000, Charlie Root wrote: Please don't send mail as root. We like to know who you are (and where you are; what part of Russia has a time zone offset of 0?). > > Answer please. Where can I get the documentation about writing LKM modules. This is an in-depth technical question, which belongs on -hackers, not -doc (which handles documenting the system). The simple answer is: there is no documentation except for a couple of man pages and the source code of other LKMs. That's how I started, and it wasn't too difficult. > Must I use standart libraris or kernel's internal calls ? It's a kernel module, so you need to use kernel calls. > I am beginner in writing to FreeBSD and Unix, but it is intresting for me > to undestand this question. Thank you. The best thing to understand is: now is a very bad time to write an LKM. They'll be going away and replaced by KLDs when the kernel goes to ELF (in the next few weeks). Greg -- See complete headers for address, home page and phone numbers finger grog@lemis.com for PGP public key To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-doc" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?19981016121458.U468>