From owner-freebsd-stable Mon May 14 7:51:11 2001 Delivered-To: freebsd-stable@freebsd.org Received: from bsdhome.dyndns.org (unknown [24.25.2.193]) by hub.freebsd.org (Postfix) with ESMTP id 2F2EB37B422 for ; Mon, 14 May 2001 07:51:08 -0700 (PDT) (envelope-from bsd@bsdhome.com) Received: from vger.bsdhome.com (vger [192.168.220.2]) by bsdhome.dyndns.org (8.11.3/8.11.3) with ESMTP id f4EEp6j26239; Mon, 14 May 2001 10:51:06 -0400 (EDT) (envelope-from bsd@bsdhome.com) Received: (from bsd@localhost) by vger.bsdhome.com (8.11.3/8.11.1) id f4EEp6Y58266; Mon, 14 May 2001 10:51:06 -0400 (EDT) (envelope-from bsd) Date: Mon, 14 May 2001 10:51:06 -0400 From: Brian Dean To: "Hartmann, O." Cc: freebsd-stable@FreeBSD.ORG Subject: Re: DISKLESS does not work any more since update Message-ID: <20010514105106.A57979@vger.bsdhome.com> References: <20010513191912.B6619@vger.bsdhome.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: ; from ohartman@klima.physik.uni-mainz.de on Mon, May 14, 2001 at 09:05:47AM +0200 Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Mon, May 14, 2001 at 09:05:47AM +0200, Hartmann, O. wrote: > But why "two" times /etc? I deleted /etc in the diskless root, thought > I need only one of them - but that was not true. I see that a lot of > memory is consumpted by mounting several directories into it via mfs. > How about saving memory? No additional memory should be consumed, just the ordering has been changed which was done to avoid the null mount. The null filesystem code lacks certain functionality that can easily lead to a system panic. For example, any program that makes an mmap() call can trigger it (which is a lot of programs). Just prior to 4.3-release, we slightly changed the way /etc is populated to avoid the null mount, and more recently, modified that procedure slightly to avoid having to create (and almost immediately delete) a /tmp memory filesystem. To avoid creating and deleting the writable /tmp in rc.diskless1, however, we require that /conf/default/etc be a complete copy of /etc because when the memory filesystem is created over top of /etc, all of /etc disappears. But with a complete copy in /conf/default/etc, we can just copy all the files back into place. > Well, now all terminals work well although they take longer to > bootstrap. I'm very glad to hear your terminals are working. I'm confused as to why they take longer to bootstrap though. The recent changes shouldn't affect that in any substantial way. -Brian To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message