From owner-freebsd-current@FreeBSD.ORG Sun Dec 14 09:37:50 2003 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 1F59116A4CE; Sun, 14 Dec 2003 09:37:50 -0800 (PST) Received: from fledge.watson.org (fledge.watson.org [204.156.12.50]) by mx1.FreeBSD.org (Postfix) with ESMTP id CDA9043D37; Sun, 14 Dec 2003 09:37:48 -0800 (PST) (envelope-from robert@fledge.watson.org) Received: from fledge.watson.org (localhost [127.0.0.1]) by fledge.watson.org (8.12.10/8.12.10) with ESMTP id hBEHbUUd068491; Sun, 14 Dec 2003 12:37:30 -0500 (EST) (envelope-from robert@fledge.watson.org) Received: from localhost (robert@localhost)hBEHbUMc068488; Sun, 14 Dec 2003 12:37:30 -0500 (EST) (envelope-from robert@fledge.watson.org) Date: Sun, 14 Dec 2003 12:37:30 -0500 (EST) From: Robert Watson X-Sender: robert@fledge.watson.org To: Scott Long In-Reply-To: <3FDC887D.9060605@freebsd.org> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII cc: mckusick@mckusick.com cc: mb@imp.ch cc: freebsd-current@freebsd.org cc: alc@freebsd.org cc: jroberson@chesapeake.net cc: Don Lewis Subject: Re: HAVE TRACE & DDB Re: FreeBSD 5.2-RC1 released X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 14 Dec 2003 17:37:50 -0000 On Sun, 14 Dec 2003, Scott Long wrote: > > What happens if we forceably umount /dev while /dev/whatever holds a > > mounted file system? It looks like this is handled by vgonechrl(). It > > looks to me like vclean() is going to do some scary stuff to this vnode. > > As Jeff pointed out, vfs_subr.c rev 1.461 might be the immediate problem > here. However, I can't believe that umounting devfs while it is in use > can possibly be the right thing to do. Does devfs have to be mounted in > the /mnt? Is it a chroot issue? Can't comment too much on the remainder of this thread, as I'm still catching up, but it is necessary to have a /dev inside the chroot() once we start kicking off package installs, because package installers expect to have a fairly populated (and "live") system. Likewise, for X11 configuration. This is one reason why a sysinstall split and reboot might help clean up some of the install stages, by avoiding having to reproduce a "live" system during the first boot. Robert N M Watson FreeBSD Core Team, TrustedBSD Projects robert@fledge.watson.org Senior Research Scientist, McAfee Research