From owner-freebsd-hackers Mon Jan 26 07:13:49 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id HAA02109 for hackers-outgoing; Mon, 26 Jan 1998 07:13:49 -0800 (PST) (envelope-from owner-freebsd-hackers@FreeBSD.ORG) Received: from word.smith.net.au (ppp11.portal.net.au [202.12.71.111]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id HAA02090 for ; Mon, 26 Jan 1998 07:13:39 -0800 (PST) (envelope-from mike@word.smith.net.au) Received: from word (localhost [127.0.0.1]) by word.smith.net.au (8.8.8/8.8.5) with ESMTP id BAA00422; Tue, 27 Jan 1998 01:36:34 +1030 (CST) Message-Id: <199801261506.BAA00422@word.smith.net.au> X-Mailer: exmh version 2.0zeta 7/24/97 To: dag-erli@ifi.uio.no (Dag-Erling Coidan Sm rgrav) cc: hackers@FreeBSD.ORG Subject: Re: File I/O in kernel land (was: Re: 2nd warning: 2.2.6 BETA begins in 10 days!) In-reply-to: Your message of "26 Jan 1998 10:11:56 BST." Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Date: Tue, 27 Jan 1998 01:36:33 +1030 From: Mike Smith Content-Transfer-Encoding: 8bit X-MIME-Autoconverted: from quoted-printable to 8bit by hub.freebsd.org id HAA02105 Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk > "Jordan K. Hubbard" writes: > > February, as is usually the custom. If you want something merged > > into the 2.2 branch in preparation for 2.2.6, DO IT NOW. > > With that in mind, I have a "bouncing logo" screen saver lkm (think > daemon_saver_mod crossed with splashkit) I'd like to submit. However, > I'd like to have the logo as a separate file rather than compile it > into the lkm, but I haven't had much luck finding out how to do file > I/O in kernel land. Could somebody give me a hint before i go berserk > and read the entire kernel source to find out? :) It's extremely tedious. You'd be better off adding an ioctl hook to the screensaver module and adding an extra console ioctl to pass commands to the screensaver. -- \\ Sometimes you're ahead, \\ Mike Smith \\ sometimes you're behind. \\ mike@smith.net.au \\ The race is long, and in the \\ msmith@freebsd.org \\ end it's only with yourself. \\