From owner-freebsd-questions@FreeBSD.ORG Thu Feb 12 05:44:41 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 88939106564A for ; Thu, 12 Feb 2009 05:44:41 +0000 (UTC) (envelope-from roberthuff@rcn.com) Received: from smtp02.lnh.mail.rcn.net (smtp02.lnh.mail.rcn.net [207.172.157.102]) by mx1.freebsd.org (Postfix) with ESMTP id 145578FC13 for ; Thu, 12 Feb 2009 05:44:40 +0000 (UTC) (envelope-from roberthuff@rcn.com) Received: from mr02.lnh.mail.rcn.net ([207.172.157.22]) by smtp02.lnh.mail.rcn.net with ESMTP; 12 Feb 2009 00:44:40 -0500 Received: from smtp01.lnh.mail.rcn.net (smtp01.lnh.mail.rcn.net [207.172.4.11]) by mr02.lnh.mail.rcn.net (MOS 3.10.4-GA) with ESMTP id PMF58146; Thu, 12 Feb 2009 00:44:40 -0500 (EST) Received: from 209-6-22-188.c3-0.smr-ubr1.sbo-smr.ma.cable.rcn.com (HELO jerusalem.litteratus.org.litteratus.org) ([209.6.22.188]) by smtp01.lnh.mail.rcn.net with ESMTP; 12 Feb 2009 00:44:30 -0500 From: Robert Huff MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <18835.46899.607357.649275@jerusalem.litteratus.org> Date: Thu, 12 Feb 2009 00:44:19 -0500 To: Polytropon In-Reply-To: <20090212062505.ca66b93e.freebsd@edvax.de> References: <20090212062505.ca66b93e.freebsd@edvax.de> X-Mailer: VM 7.17 under 21.5 (beta28) "fuki" XEmacs Lucid X-Junkmail-Whitelist: YES (by domain whitelist at mr02.lnh.mail.rcn.net) Cc: FreeBSD Questions Subject: Determining process preventing umount of busy partition X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 12 Feb 2009 05:44:41 -0000 Polytropon writes: > I'd like to ask how to determine which process (or program) keeps > a partition in state "busy" so that umount will refuse to unmount > this partition. The traditional tool for doing this is sysutils/lsof. (Please let me know if it compiles.) Robert Huff