From owner-freebsd-questions@FreeBSD.ORG Thu Feb 12 06:13:38 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 182EE106566B for ; Thu, 12 Feb 2009 06:13:38 +0000 (UTC) (envelope-from freebsd@edvax.de) Received: from mx01.qsc.de (mx01.qsc.de [213.148.129.14]) by mx1.freebsd.org (Postfix) with ESMTP id CACBA8FC0C for ; Thu, 12 Feb 2009 06:13:37 +0000 (UTC) (envelope-from freebsd@edvax.de) Received: from r55.edvax.de (port-92-196-52-176.dynamic.qsc.de [92.196.52.176]) by mx01.qsc.de (Postfix) with ESMTP id E3F5C3CB3E; Thu, 12 Feb 2009 07:13:37 +0100 (CET) Received: from r55.edvax.de (localhost [127.0.0.1]) by r55.edvax.de (8.14.2/8.14.2) with SMTP id n1C6DaP5004627; Thu, 12 Feb 2009 07:13:36 +0100 (CET) (envelope-from freebsd@edvax.de) Date: Thu, 12 Feb 2009 07:13:35 +0100 From: Polytropon To: FreeBSD Questions Message-Id: <20090212071335.a595cefa.freebsd@edvax.de> In-Reply-To: <20090212070837.08bbf237.freebsd@edvax.de> References: <20090212062505.ca66b93e.freebsd@edvax.de> <18835.46899.607357.649275@jerusalem.litteratus.org> <20090212070837.08bbf237.freebsd@edvax.de> Organization: EDVAX X-Mailer: Sylpheed 2.4.7 (GTK+ 2.12.1; i386-portbld-freebsd7.0) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Cc: Robert Huff Subject: Re: Determining process preventing umount of busy partition X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Polytropon List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 12 Feb 2009 06:13:38 -0000 Replying to my own message... I'm so stupid: How do I *use* lsof which is /usr/local/sbin/lsof when actually trying to umount /usr? Can I put a copy of it into, let's say, /root/bin? I've checked library dependencies: # which lsof | xargs ldd /usr/local/sbin/lsof: libkvm.so.4 => /lib/libkvm.so.4 (0x280a2000) libc.so.7 => /lib/libc.so.7 (0x280aa000) So this is on the / partition. This should work, am I right? -- Polytropon >From Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ...