From owner-cvs-all@FreeBSD.ORG Tue Aug 3 02:14:18 2004 Return-Path: Delivered-To: cvs-all@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 741BA16A4CE; Tue, 3 Aug 2004 02:14:18 +0000 (GMT) Received: from mx.nsu.ru (mx.nsu.ru [212.192.164.5]) by mx1.FreeBSD.org (Postfix) with ESMTP id E67DA43D5F; Tue, 3 Aug 2004 02:14:17 +0000 (GMT) (envelope-from danfe@regency.nsu.ru) Received: from regency.nsu.ru ([193.124.210.26]) by mx.nsu.ru with esmtp (Exim 4.32) id 1Broxp-0005B2-0E; Tue, 03 Aug 2004 09:23:41 +0700 Received: from regency.nsu.ru (localhost [127.0.0.1]) by regency.nsu.ru (8.12.10/8.12.10) with ESMTP id i732HJ9k007543; Tue, 3 Aug 2004 09:17:19 +0700 (NOVST) (envelope-from danfe@regency.nsu.ru) Received: (from danfe@localhost) by regency.nsu.ru (8.12.10/8.12.10/Submit) id i732HJcj007458; Tue, 3 Aug 2004 09:17:19 +0700 (NOVST) (envelope-from danfe) Date: Tue, 3 Aug 2004 09:17:18 +0700 From: Alexey Dokuchaev To: John Baldwin Message-ID: <20040803021718.GA5460@regency.nsu.ru> References: <200408011140.i71BesOt070889@repoman.freebsd.org> <200408021600.00339.jhb@FreeBSD.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <200408021600.00339.jhb@FreeBSD.org> User-Agent: Mutt/1.4.2.1i cc: cvs-src@freebsd.org cc: src-committers@freebsd.org cc: Mark Murray cc: cvs-all@freebsd.org Subject: Re: cvs commit: src/sys/alpha/alpha mem.c src/sys/alpha/conf GENERIC src/sys/alpha/include memdev.h src/sys/amd64/amd64 io.c mem.c src/sys/amd64/conf GENERIC NOTES src/sys/amd64/include iodev.h memdev.h src/sys/conf NOTES files files.alpha files.amd64 ... X-BeenThere: cvs-all@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: CVS commit messages for the entire tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 03 Aug 2004 02:14:18 -0000 On Mon, Aug 02, 2004 at 04:00:00PM -0400, John Baldwin wrote: > On Sunday 01 August 2004 07:40 am, Mark Murray wrote: > > markm 2004-08-01 11:40:54 UTC > > > > FreeBSD src repository > > > > Modified files: > > sys/alpha/alpha mem.c > > sys/alpha/conf GENERIC > > sys/amd64/amd64 mem.c > > sys/amd64/conf GENERIC NOTES > > sys/conf NOTES files files.alpha files.amd64 > > files.i386 files.ia64 files.pc98 > > files.sparc64 > > [ ... ] > > Why in the world are /dev/null and /dev/zero optional? /dev/[k]mem > and /dev/io I can accept for those with uber-high security paranoia, but I > can't think of any good reason to have a kernel without /dev/null > and /dev/zero. To me it seems that this creates way more foot shooting > potential than benefit. It's one thing to have device drivers for hardware > that may or may not be present optional, but /dev/null and /dev/zero do not > fall into that case. OTOH, if someone wants to build mega-tight kernel image with everything possible taken out by modules, modularizing /dev/null and /dev/zero might make some sence. We already have /dev/random as a module anyways. ./danfe