From owner-freebsd-hackers Mon Mar 26 11:22: 8 2001 Delivered-To: freebsd-hackers@freebsd.org Received: from milquetoast.cs.mcgill.ca (milquetoast.CS.McGill.CA [132.206.2.5]) by hub.freebsd.org (Postfix) with ESMTP id 43D0B37B718 for ; Mon, 26 Mar 2001 11:22:05 -0800 (PST) (envelope-from mat@milquetoast.cs.mcgill.ca) Received: (from mat@localhost) by milquetoast.cs.mcgill.ca (8.9.3/8.9.3) id OAA11635; Mon, 26 Mar 2001 14:22:01 -0500 (EST) Date: Mon, 26 Mar 2001 14:22:01 -0500 From: Mathew KANNER To: Marc W Cc: FreeBSD Hackers Subject: Re: Programmatically determining FS type Message-ID: <20010326142201.A11520@cs.mcgill.ca> References: <200103261905.LAA34003@akira.lanfear.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: Marc W's message [Programmatically determining FS type] as of Mon, Mar 26, 2001 at 11:05:35AM -0800 Organization: I speak for myself, operating in Montreal, CANADA Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Mar 26, Marc W 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? statfs(2) I think this a what df(1) uses. --Mat > > thanks! > > marc. > > > > > Marc W, San Francisco, CA > Kiltdown -- a free email client for X > www.kiltdown.org -- it's what's underneath that counts. > > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-hackers" in the body of the message -- Mathew Kanner Sys Admin at large Obtuse quote: He [not me] understands: "This field of perception is void of perception of man." -- The Quintessence of Buddhism To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message