Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 26 Mar 2001 11:22:13 -0800
From:      Alfred Perlstein <bright@wintelcom.net>
To:        Marc W <mwlist@lanfear.com>
Cc:        FreeBSD Hackers <freebsd-hackers@FreeBSD.ORG>
Subject:   Re: Programmatically determining FS type
Message-ID:  <20010326112213.F9431@fw.wintelcom.net>
In-Reply-To: <200103261905.LAA34003@akira.lanfear.com>; from mwlist@lanfear.com on Mon, Mar 26, 2001 at 11:05:35AM -0800
References:  <200103261905.LAA34003@akira.lanfear.com>

next in thread | previous in thread | raw e-mail | index | archive | help
* Marc W <mwlist@lanfear.com> [010326 11:07] wrote:
> 
> 
>     Is there a way in code, given a path (/moo/cow/oink) to determine
> the filesystem type for this given path?   any chance there's a posix
> portable way of doing this, or is it always going to be very system
> specific?

*smack*

man 2 statfs.

-- 
-Alfred Perlstein - [bright@wintelcom.net|alfred@freebsd.org]
Daemon News Magazine in your snail-mail! http://magazine.daemonnews.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?20010326112213.F9431>