From owner-freebsd-questions Mon Aug 27 7:21:10 2001 Delivered-To: freebsd-questions@freebsd.org Received: from clientmail.realtime.co.uk (simian.ehsrealtime.com [213.52.146.137]) by hub.freebsd.org (Postfix) with ESMTP id 4E0B037B405 for ; Mon, 27 Aug 2001 07:21:07 -0700 (PDT) (envelope-from wayne.pascoe@ehsrealtime.com) Received: from pan.ehsrealtime.com ([213.52.146.196]) by clientmail.realtime.co.uk with esmtp (Exim 3.20 #1) id 15bNFM-0004Ui-01 for freebsd-questions@freebsd.org; Mon, 27 Aug 2001 15:20:12 +0100 Received: from waynep by pan.ehsrealtime.com with local (Exim 3.22 #1) id 15bNFM-0005k1-00 for freebsd-questions@freebsd.org; Mon, 27 Aug 2001 15:20:12 +0100 From: Wayne Pascoe To: freebsd-questions@freebsd.org Subject: Re: OT: Re: Porting app from Linux - sys/vfs.h replacement References: <20010827134440.A12436@FreeBSD.org> Reply-To: wayne.pascoe@ehsrealtime.com Date: 27 Aug 2001 15:20:11 +0100 In-Reply-To: <20010827134440.A12436@FreeBSD.org> Message-ID: <8666b97ffo.fsf@pan.ehsrealtime.com> Lines: 34 User-Agent: Gnus/5.0808 (Gnus v5.8.8) XEmacs/21.1 (Cuyahoga Valley) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG George Reid writes: > On Mon, Aug 27, 2001 at 09:08:47AM +0100, Wayne Pascoe wrote: > > > It loks like it doesn't like u_short and gid_t ... The section from > > ucred.h is as follows : > [...] > > It still produces the same error. Is there another header file I need > > to include for this to work ? > [...] > > sys/types.h Great :) thanks... One more thing... On Linux /etc/mtab is a list of all mounted filesystems. What is the equavalent file on FreeBSD ? Is there a system call that will return mounted file systems? I also see that the order I include files in does matter. doing #include #include #include gives me errors in ucred.h. Swappign mount.h and param.h around fixes the problem. Why is this ? I thought that order didn't matter. -- Wayne Pascoe Phone : +44 (0) 20 7017 1221 Things fall apart; the center cannot hold; Mere anarchy is loosed upon the world. - Yeats To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message