From owner-freebsd-hackers Tue Jan 8 11:59:38 2002 Delivered-To: freebsd-hackers@freebsd.org Received: from elvis.mu.org (elvis.mu.org [216.33.66.196]) by hub.freebsd.org (Postfix) with ESMTP id EEF1837B41E for ; Tue, 8 Jan 2002 11:59:32 -0800 (PST) Received: by elvis.mu.org (Postfix, from userid 1192) id 8012981E11; Tue, 8 Jan 2002 13:59:27 -0600 (CST) Date: Tue, 8 Jan 2002 13:59:27 -0600 From: Alfred Perlstein To: rsharpe@ns.aus.com Cc: freebsd-hackers@FreeBSD.ORG Subject: Re: Is there anyway from userspace to get the 'enum vtagtype v_tag' for a vnode for an open file? Message-ID: <20020108135927.O18706@elvis.mu.org> References: <3C3B55FA.1020900@ns.aus.com> <3C3B5904.5050105@ns.aus.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <3C3B5904.5050105@ns.aus.com>; from sharpe@ns.aus.com on Wed, Jan 09, 2002 at 07:09:32AM +1030 Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG * Richard Sharpe [020108 13:55] wrote: > Richard Sharpe wrote: > > > Hi, > > > > I want to find out the file system type from userspace for an open file. > > > > Can I get at this info? the stat call does not give it to me. > > Hmmm, getfsspec seems to fill the need. Sorry for the noise. I think you want fstatfs(2). -- -Alfred Perlstein [alfred@freebsd.org] 'Instead of asking why a piece of software is using "1970s technology," start asking why software is ignoring 30 years of accumulated wisdom.' Tax deductable donations for FreeBSD: http://www.freebsdfoundation.org/ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message