From owner-freebsd-questions Tue Mar 23 10:40:34 1999 Delivered-To: freebsd-questions@freebsd.org Received: from morgane.oleane.net (Morgane.OLEANE.Net [194.2.1.9]) by hub.freebsd.org (Postfix) with ESMTP id 5211F1534E for ; Tue, 23 Mar 1999 10:40:21 -0800 (PST) (envelope-from jaco@titine.fr.eu.org) Received: from tom.oleane.net (tom.oleane.net [194.2.28.14]) by morgane.oleane.net with ESMTP id TAA24498 for ; Tue, 23 Mar 1999 19:39:58 +0100 Received: from titine.fr.eu.org (dyn-1-1-025.Tls.dialup.oleane.fr [194.2.21.25]) by tom.oleane.net (8.8.8/8.8.8) with ESMTP id TAA06241 for ; Tue, 23 Mar 1999 19:39:56 +0100 Received: by titine.fr.eu.org (Postfix, from userid 1000) id 7ADB119ACE; Tue, 23 Mar 1999 19:39:00 +0100 (CET) To: freebsd-questions@FreeBSD.ORG Subject: Re: BSD equivalent of Linux 'fuser' command References: From: Eric Jacoboni Date: 23 Mar 1999 19:39:00 +0100 In-Reply-To: Khetan Gajjar's message of "Tue, 23 Mar 1999 12:48:33 +0200 (SAST)" Message-ID: <874sncm4or.fsf@titine.fr.eu.org> Lines: 25 X-Mailer: Gnus v5.6.45/XEmacs 20.4 - "Emerald" Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Khetan Gajjar writes: > Yup - fstat(1) Yes, but... no :( I've read the man page, but i don't obtain what i want. (But, as you can read, English is not my mother tongue, so i've probably miss something...). 1) let's root do a 'mount /cdrom ; cd /cdrom' 2) with 'fuser -a /cdrom', i get a single line telling me that root is using /cdrom (that's why i cannot do a 'umount /cdrom', and that exactly what i wanted to know) 3) with 'fstat /cdrom', i get... nothing. 4) with 'fstat | grep /cdrom', i get... nothing. -- --------------------------------------------------- Éric Jacoboni « No sport! » (W. Churchill) --------------------------------------------------- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message