From owner-freebsd-hackers Mon Jan 26 21:33:30 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id VAA10456 for hackers-outgoing; Mon, 26 Jan 1998 21:33:30 -0800 (PST) (envelope-from owner-freebsd-hackers@FreeBSD.ORG) Received: from wcc.wcc.net (wcc.wcc.net [208.6.232.10]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id VAA10398 for ; Mon, 26 Jan 1998 21:33:20 -0800 (PST) (envelope-from piquan@wcc.wcc.net) Received: from detlev.UUCP (ppp94.wcc.net [208.6.232.94]) by wcc.wcc.net (8.8.7/8.8.7) with ESMTP id XAA00614; Mon, 26 Jan 1998 23:28:33 -0600 (CST) Received: (from joelh@localhost) by detlev.UUCP (8.8.8/8.8.7) id XAA04181; Mon, 26 Jan 1998 23:31:59 -0600 (CST) (envelope-from joelh) Date: Mon, 26 Jan 1998 23:31:59 -0600 (CST) Message-Id: <199801270531.XAA04181@detlev.UUCP> To: mike@smith.net.au CC: dag-erli@ifi.uio.no, hackers@FreeBSD.ORG In-reply-to: <199801261506.BAA00422@word.smith.net.au> (message from Mike Smith on Tue, 27 Jan 1998 01:36:33 +1030) Subject: Re: File I/O in kernel land (was: Re: 2nd warning: 2.2.6 BETA begins in 10 days!) From: Joel Ray Holveck Reply-to: joelh@gnu.org References: <199801261506.BAA00422@word.smith.net.au> Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk >> 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. I must be missing something here. What would be sending the commands, so that he gets the logo file? -- Joel Ray Holveck - joelh@gnu.org - http://www.wp.com/piquan Fourth law of programming: Anything that can go wrong wi sendmail: segmentation violation - core dumped