From owner-freebsd-hackers Mon Jan 26 08:50:41 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id IAA12900 for hackers-outgoing; Mon, 26 Jan 1998 08:50:41 -0800 (PST) (envelope-from owner-freebsd-hackers@FreeBSD.ORG) Received: from alpo.whistle.com (alpo.whistle.com [207.76.204.38]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id IAA12885 for ; Mon, 26 Jan 1998 08:50:34 -0800 (PST) (envelope-from julian@whistle.com) Received: (from daemon@localhost) by alpo.whistle.com (8.8.5/8.8.5) id IAA19449; Mon, 26 Jan 1998 08:44:21 -0800 (PST) Received: from UNKNOWN(), claiming to be "current1.whistle.com" via SMTP by alpo.whistle.com, id smtpd019447; Mon Jan 26 08:44:20 1998 Date: Mon, 26 Jan 1998 08:40:55 -0800 (PST) From: Julian Elischer To: Dag-Erling Coidan Sm?rgrav cc: Mike Smith , 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: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk see how exec() loads a file.. On 26 Jan 1998, Dag-Erling Coidan Sm?rgrav wrote: > 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" >