Date: Mon, 20 May 1996 22:32:26 -0500 From: David Kelly <dkelly@hiwaay.net> To: dnelson@emsphone.com (Dan Nelson) Cc: questions@freefall.freebsd.org Subject: Re: Who is using a file? Message-ID: <v03006604adc6e93866a6@[206.104.22.143]> In-Reply-To: <199605210328.WAA00987@dan.emsphone.com> References: <v03006601adc6d9daca60@[44.100.48.19]> from "David Kelly" at May 20, 96 09:28:45 pm
next in thread | previous in thread | raw e-mail | index | archive | help
At 10:28 PM -0500 5/20/96, Dan Nelson wrote: >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. Yup! That was it! Lets hope the post-it note I placed over my monitor stays long enough for me to *learn* that and *forget* fuser from IRIX which produces much less information. I'd "man -k"'ed until I was blue in the face trying to find that utility. FreeBSD-Questions is hot tonight! So far I've received 2 replies in under 30 minutes. Thanks, -- David Kelly N4HHE, n4hhe@amsat.org, dkelly@hiwaay.net ============================================================= To invent, you need a good imagination and a pile of junk. - Thomas Edison
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?v03006604adc6e93866a6>