From owner-freebsd-questions Mon May 20 20:28:36 1996 Return-Path: owner-questions Received: (from root@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id UAA17138 for questions-outgoing; Mon, 20 May 1996 20:28:36 -0700 (PDT) Received: from dan.emsphone.com (dan.emsphone.com [199.67.51.101]) by freefall.freebsd.org (8.7.3/8.7.3) with ESMTP id UAA17129 for ; Mon, 20 May 1996 20:28:32 -0700 (PDT) Received: (from dan@localhost) by dan.emsphone.com (8.7.4/8.7.3) id WAA00987; Mon, 20 May 1996 22:28:29 -0500 (CDT) Message-Id: <199605210328.WAA00987@dan.emsphone.com> Subject: Re: Who is using a file? To: dkelly@hiwaay.net (David Kelly) Date: Mon, 20 May 1996 22:28:28 -0500 (CDT) Cc: questions@freefall.freebsd.org In-Reply-To: from "David Kelly" at May 20, 96 09:28:45 pm From: dnelson@emsphone.com (Dan Nelson) X-Mailer: ELM [version 2.4 PL24] Content-Type: text Sender: owner-questions@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk in the last episode, David Kelly said: > > Once Upon A Time I came across the BSD utility to determine who has a > particular file open and now I've forgotten it. This is a real useful thing > when one wants to umount a fs and learns its busy. I *think* the utility > could list the open files on a filesystem and/or list the users who are > using a single file. Try fstat. -Dan Nelson dnelson@emsphone.com