From owner-freebsd-hackers Mon Jan 26 07:41:40 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id HAA04579 for hackers-outgoing; Mon, 26 Jan 1998 07:41:40 -0800 (PST) (envelope-from owner-freebsd-hackers@FreeBSD.ORG) Received: from ifi.uio.no (0@ifi.uio.no [129.240.64.2]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id HAA04562 for ; Mon, 26 Jan 1998 07:41:32 -0800 (PST) (envelope-from dag-erli@ifi.uio.no) Received: from hrotti.ifi.uio.no (2602@hrotti.ifi.uio.no [129.240.64.15]) by ifi.uio.no (8.8.8/8.8.7/ifi0.2) with ESMTP id QAA10631; Mon, 26 Jan 1998 16:41:28 +0100 (MET) Received: (from dag-erli@localhost) by hrotti.ifi.uio.no ; Mon, 26 Jan 1998 16:41:27 +0100 (MET) To: Mike Smith Cc: hackers@FreeBSD.ORG Subject: Re: File I/O in kernel land (was: Re: 2nd warning: 2.2.6 BETA begins in 10 days!) References: <199801261506.BAA00422@word.smith.net.au> Organization: Gutteklubben Terrasse X-url: http://www.ifi.uio.no/~dag-erli/ Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 8bit From: dag-erli@ifi.uio.no (Dag-Erling Coidan Smørgrav) Date: 26 Jan 1998 16:41:26 +0100 In-Reply-To: Mike Smith's message of "Tue, 27 Jan 1998 01:36:33 +1030" Message-ID: Lines: 15 X-Mailer: Gnus v5.5/Emacs 19.34 Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk Mike Smith writes: > > 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 was afraid you'd say that. I think I'll just leave it the way it is for now, and add the ioctl later. -- * Finrod (INTJ) * Unix weenie * dag-erli@ifi.uio.no * cellular +47-92835919 * RFC1123: "Be liberal in what you accept, and conservative in what you send"