From owner-freebsd-questions Tue May 23 5:14:31 2000 Delivered-To: freebsd-questions@freebsd.org Received: from hematita.dcc.ufmg.br (hematita.dcc.ufmg.br [150.164.10.11]) by hub.freebsd.org (Postfix) with ESMTP id 2945537B9C7 for ; Tue, 23 May 2000 05:14:22 -0700 (PDT) (envelope-from gontijo@dcc.ufmg.br) Received: from topazio (gontijo@topazio [150.164.10.2]) by hematita.dcc.ufmg.br (8.8.8/8.8.8) with SMTP id JAA18064 for ; Tue, 23 May 2000 09:14:18 -0300 (EST) Date: Tue, 23 May 2000 09:14:18 -0300 (EST) From: Benicio Silva Gontijo X-Sender: gontijo@topazio To: questions@freebsd.org Subject: Remote Filesystem in FreeBSD Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG We are changing some systems calls in order to really implement our filesystem. We were dealing with NFS and discovered that it uses the function getvfsbyname, that is implemented in libc, to decide which filesystems are recognized. It uses a function called sysctl, also implemented in libc, that passes the control to the kernel. We are having some troubles since the libc that came with the FreeBSD3.1 CDROM doesn't compile. Do you know where we can get another libc version that is compatible? The function sysctl calls another kernel function called __sysctl, that is implemented in kern_sysctl.c. In this point, we are facing the following problem: __sysctl is implemented with two parameters, but when it is called by the libc sysctl, six parameters are passed. Please, can you help us ? Sinceraly, Adriano, Benicio e Eveline Graduate Students at UFMG - Belo Horizonte - Brazil To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message