From owner-freebsd-questions@FreeBSD.ORG Mon Apr 19 12:32:33 2004 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 4F67916A4CE for ; Mon, 19 Apr 2004 12:32:33 -0700 (PDT) Received: from ns1.tiadon.com (SMTP.tiadon.com [69.27.132.161]) by mx1.FreeBSD.org (Postfix) with ESMTP id 1832843D4C for ; Mon, 19 Apr 2004 12:32:33 -0700 (PDT) (envelope-from kdk@daleco.biz) Received: from daleco.biz ([69.27.131.0]) by ns1.tiadon.com with Microsoft SMTPSVC(6.0.3790.0); Mon, 19 Apr 2004 14:33:09 -0500 Message-ID: <4084290C.4050505@daleco.biz> Date: Mon, 19 Apr 2004 14:31:24 -0500 From: "Kevin D. Kinsey, DaleCo, S.P." User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.6) Gecko/20040406 X-Accept-Language: en-us, en MIME-Version: 1.0 To: Brian Henning References: In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-OriginalArrivalTime: 19 Apr 2004 19:33:21.0578 (UTC) FILETIME=[2C9508A0:01C42645] cc: freebsd-questions@freebsd.org Subject: Re: kernel config optimized X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 19 Apr 2004 19:32:33 -0000 Brian Henning wrote: >The following is a copy of my kernel config file. I am trying to optimize it as >much as possible. > >do i need any of these psudo devices? >pseudo-device loop # Network loopback > > Most people would leave this in. I've no idea what might break without it, but I'll wager something might ... for example, what would you think of a box that couldn't find "localhost" with both hands? No lo, that's what you might well get .... >pseudo-device ether # Ethernet support >pseudo-device sl 1 # Kernel SLIP >pseudo-device ppp 1 # Kernel PPP >pseudo-device tun # Packet tunnel. > > "tun" is necessary for userland PPP. If you take out "tun", "ppp", and "ether" as well as SLIP, what protocols do you figure on using? Are you planning on connecting to anything? (Note that I'm not saying there's no other way, but these are so common ....) >pseudo-device pty # Pseudo-ttys (telnet etc) > > I may be wrong, but wouldn't removing this cause remote access (most of it, ftp, telnet, ssh, etc.) to fail? >pseudo-device md # Memory "disks" >pseudo-device gif # IPv6 and IPv4 tunneling >pseudo-device faith 1 # IPv6-to-IPv4 relaying (translation) >pseudo-device splash > >do i need any of these devices? >device atadisk # ATA disk drives > > I suppose not if your disks are SCSI. >device atapicd # ATAPI CDROM drives > > If no CDROM, or you have a SCSI CDROM, I guess not. >options ATA_STATIC_ID # Static device numbering > > >Thanks, > >Brian > > > Most of your list is stuff that is generally standard and fairly essential ... if you've minimized down this far, I'd say you're getting close to small enough, wouldn't you? Kevin Kinsey