Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 8 Jan 2002 13:59:27 -0600
From:      Alfred Perlstein <bright@mu.org>
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>
In-Reply-To: <3C3B5904.5050105@ns.aus.com>; from sharpe@ns.aus.com on Wed, Jan 09, 2002 at 07:09:32AM %2B1030
References:  <3C3B55FA.1020900@ns.aus.com> <3C3B5904.5050105@ns.aus.com>

next in thread | previous in thread | raw e-mail | index | archive | help
* Richard Sharpe <sharpe@ns.aus.com> [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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20020108135927.O18706>