Date: Mon, 16 Sep 2002 15:23:14 +0300 From: Peter Pentchev <roam@ringlet.net> To: Varshavchick Alexander <alex@metrocom.ru> Cc: freebsd-hackers@FreeBSD.ORG Subject: Re: /dev/null sources Message-ID: <20020916122314.GI360@straylight.oblivion.bg> In-Reply-To: <Pine.GSO.4.33.0209161531050.25935-100000@apache.metrocom.ru> References: <Pine.GSO.4.33.0209161531050.25935-100000@apache.metrocom.ru>
next in thread | previous in thread | raw e-mail | index | archive | help
--DO5DiztRLs659m5i Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Mon, Sep 16, 2002 at 03:35:33PM +0400, Varshavchick Alexander wrote: > Hi all, >=20 > 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? /dev/mem, /dev/null and /dev/zero are all handled by code in the sys/<arch>/<arch>/mem.c file. Note that for the i386 architecture there are several files: except the plain vanilla sys/i386/i386/mem.c, there are also i686_mem.c and k6_mem.c in the same directory. This is all under -STABLE; things may be a bit different in -CURRENT. G'luck, Peter --=20 Peter Pentchev roam@ringlet.net roam@FreeBSD.org PGP key: http://people.FreeBSD.org/~roam/roam.key.asc Key fingerprint FDBA FD79 C26F 3C51 C95E DF9E ED18 B68D 1619 4553 I am the meaning of this sentence. --DO5DiztRLs659m5i Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.0.7 (FreeBSD) iD8DBQE9hc0x7Ri2jRYZRVMRAt/EAKCaTcYjaEcyuNiqdexyuGIR6QCQjwCggEoW x5l7/g1uxqSbCY11xnkrXEU= =LxCm -----END PGP SIGNATURE----- --DO5DiztRLs659m5i-- 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?20020916122314.GI360>