Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 17 Sep 2002 10:05:12 +0100
From:      Mark Murray <mark@grondar.za>
To:        Varshavchick Alexander <alex@metrocom.ru>
Cc:        freebsd-hackers@FreeBSD.ORG
Subject:   Re: /dev/null sources 
Message-ID:  <200209170905.g8H95C7s078588@grimreaper.grondar.org>
In-Reply-To: <Pine.GSO.4.33.0209161531050.25935-100000@apache.metrocom.ru> ; from Varshavchick Alexander <alex@metrocom.ru>  "Mon, 16 Sep 2002 15:35:33 %2B0400."
References:  <Pine.GSO.4.33.0209161531050.25935-100000@apache.metrocom.ru> 

next in thread | previous in thread | raw e-mail | index | archive | help
> I'd wish to implement something like /dev/null or /dev/zero driver taking
> the original source code as a base, but I can't find the sources
> themselves, can you help?

On STABLE (4.x and below) it is in src/sys/i386/i386/mem.c and it is
a bit messy. (Look for "Rathole")

On Current (5.0+) it is in src/sys/dev/null/ and is much cleaner. :-)

M
-- 
o       Mark Murray
\_
O.\_    Warning: this .sig is umop ap!sdn

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-hackers" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200209170905.g8H95C7s078588>