From owner-cvs-ports@FreeBSD.ORG Sat Feb 12 03:38:37 2005 Return-Path: Delivered-To: cvs-ports@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 59AFD16A4CE; Sat, 12 Feb 2005 03:38:37 +0000 (GMT) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id 3207E43D49; Sat, 12 Feb 2005 03:38:37 +0000 (GMT) (envelope-from kris@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.13.1/8.13.1) with ESMTP id j1C3cbOT042624; Sat, 12 Feb 2005 03:38:37 GMT (envelope-from kris@repoman.freebsd.org) Received: (from kris@localhost) by repoman.freebsd.org (8.13.1/8.13.1/Submit) id j1C3cbna042623; Sat, 12 Feb 2005 03:38:37 GMT (envelope-from kris) Message-Id: <200502120338.j1C3cbna042623@repoman.freebsd.org> From: Kris Kennaway Date: Sat, 12 Feb 2005 03:38:37 +0000 (UTC) To: ports-committers@FreeBSD.org, cvs-ports@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: HEAD Subject: cvs commit: ports/Tools/portbuild/scripts cleanup-chroots X-BeenThere: cvs-ports@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: CVS commit messages for the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 12 Feb 2005 03:38:37 -0000 kris 2005-02-12 03:38:37 UTC FreeBSD ports repository Modified files: Tools/portbuild/scripts cleanup-chroots Log: Instead of using umount -f to unmount things, first use fstat to look for processes holding open references within the FS and kill them, then use regular umount. This is necessary now that devfs cannot be force-unmounted, and has the benefit that processes can't hang around holding references to files between port builds. Revision Changes Path 1.3 +35 -1 ports/Tools/portbuild/scripts/cleanup-chroots