Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id ; Wed, 17 Oct 2001 00:31:09 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id ; Wed, 17 Oct 2001 00:31:00 -0400 Received: from ljbc.wa.edu.au ([203.59.143.14]:52475 "HELO gamma.ljbc") by vger.kernel.org with SMTP id ; Wed, 17 Oct 2001 00:30:55 -0400 Date: Wed, 17 Oct 2001 12:30:49 +0800 (WST) From: Beau Kuiper To: Subject: Re: Turning off faucet. (module) In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: MULTIPART/MIXED; BOUNDARY="34210048-1872880043-1003293049=:23285" Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org This message is in MIME format. The first part should be readable text, while the remaining parts are likely unreadable without MIME-aware tools. Send mail to mime@docserver.cac.washington.edu for more info. --34210048-1872880043-1003293049=:23285 Content-Type: TEXT/PLAIN; charset=US-ASCII Sorry, I just couldn't resist. Kernel module that adds the kitchen sick (with water device) to the linux kernel Instructions included in source Beau Kuiper kuiperba@ljbc.wa.edu.au On Tue, 16 Oct 2001, Rik van Riel wrote: > On Tue, 16 Oct 2001, HP LaserJetIII wrote: > > > How to turn off faucet? > > CONFIG_KITCHENSINK ? > > Rik > -- > DMCA, SSSCA, W3C? Who cares? http://thefreeworld.net/ (volunteers needed) > > http://www.surriel.com/ http://distro.conectiva.com/ > > - > To unsubscribe from this list: send the line "unsubscribe linux-kernel" in > the body of a message to majordomo@vger.kernel.org > More majordomo info at http://vger.kernel.org/majordomo-info.html > Please read the FAQ at http://www.tux.org/lkml/ > --34210048-1872880043-1003293049=:23285 Content-Type: TEXT/PLAIN; charset=US-ASCII; name="tap.c" Content-Transfer-Encoding: BASE64 Content-ID: Content-Description: The kitchen sink device Content-Disposition: attachment; filename="tap.c" Ly8gVGFwIG1vZHVsZSwganVzdCBmb3IgZnVuLCBWZXJzaW9uIDAuOQ0KLy8N Ci8vIFVzYWdlLA0KLy8gQ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CWRldmZzX3VucmVnaXN0ZXJfY2hyZGV2KFdB VEVSX01BSiwgInRhcCIpOw0KCWRldmZzX3VucmVnaXN0ZXIod2F0ZXJkZXYp Ow0KfQ0K --34210048-1872880043-1003293049=:23285-- - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/