From owner-freebsd-hackers Tue Jun 20 10: 7:32 2000 Delivered-To: freebsd-hackers@freebsd.org Received: from cypherpunks.ai (cypherpunks.ai [209.88.68.47]) by hub.freebsd.org (Postfix) with ESMTP id 42F2D37BF10 for ; Tue, 20 Jun 2000 10:07:28 -0700 (PDT) (envelope-from jeroen@vangelderen.org) Received: from vangelderen.org (grolsch.ai [209.88.68.214]) by cypherpunks.ai (Postfix) with ESMTP id 56BFC7A; Tue, 20 Jun 2000 13:07:26 -0400 (AST) Message-ID: <394FA4CE.1B8620AB@vangelderen.org> Date: Tue, 20 Jun 2000 13:07:26 -0400 From: "Jeroen C. van Gelderen" X-Mailer: Mozilla 4.72 [en] (X11; I; Linux 2.2.12 i386) X-Accept-Language: en MIME-Version: 1.0 To: James Howard Cc: freebsd-hackers@FreeBSD.ORG Subject: Re: Why is this architecture dependent? References: <200006190047.UAA02830@rac9.wam.umd.edu> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG James Howard wrote: > We know I ask dumb questions a lot, but this one may not be so dumb. A > friend of mine was joking about having a device called /dev/foo which > would be like /dev/zero, except it would spit out the word "foo" over and > over again. Well, we laughed about it, but today, I implemented > it. (This was cool since this was the first time I've ever hacked the > kernel and it worked right...) [...] You are right and work is under way to break out this functionality in a MI driver. Search the mailing list archives for details. A first attempt can be found at: http://jeroen.vangelderen.org/FreeBSD/misc_device/ MarkM will soon import a variant of this with his excellent Yarrow work. Cheers, Jeroen -- Jeroen C. van Gelderen o _ _ _ jeroen@vangelderen.org _o /\_ _ \\o (_)\__/o (_) _< \_ _>(_) (_)/<_ \_| \ _|/' \/ (_)>(_) (_) (_) (_) (_)' _\o_ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message