From owner-freebsd-hackers Mon Jul 21 12:36:05 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.5/8.8.5) id MAA05704 for hackers-outgoing; Mon, 21 Jul 1997 12:36:05 -0700 (PDT) Received: from phaeton.artisoft.com (phaeton.Artisoft.COM [198.17.250.50]) by hub.freebsd.org (8.8.5/8.8.5) with SMTP id MAA05699 for ; Mon, 21 Jul 1997 12:36:02 -0700 (PDT) Received: (from terry@localhost) by phaeton.artisoft.com (8.6.11/8.6.9) id MAA11689; Mon, 21 Jul 1997 12:29:08 -0700 From: Terry Lambert Message-Id: <199707211929.MAA11689@phaeton.artisoft.com> Subject: Re: sys/vfs.h To: abial@korin.warman.org.pl (Andrzej Bialecki) Date: Mon, 21 Jul 1997 12:29:08 -0700 (MST) Cc: frankd@yoda.fdt.net, terry@lambert.org, hackers@FreeBSD.ORG In-Reply-To: from "Andrzej Bialecki" at Jul 21, 97 09:14:54 am X-Mailer: ELM [version 2.4 PL24] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-freebsd-hackers@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk > > > > Do we have an equivalent file to this Linux file? I am trying to build > > > > XVFilemanager and mount.c has > > > > > > > > #include > > > > > > > > which causes the build to fall over. > > > > > > It depends on what it wants out of it. > > > > I will give it a try with these files substituted and see what happens. On > > closer inspection, it seems that this app was not written with portability > > beyond Linux in mind so I may not have much luck. > > You may try first to remove this include at all, and see what it complains > about (most notably "incomplete type" warnings), and then grep our source > tree for these definitions. Most likely, he will need to replace the mount command entirely; I assume that "mount.c" is the mount command. Look at the mount code under /usr/src/sbin for sample code showing how to push data across the mount system call. Terry Lambert terry@lambert.org --- Any opinions in this posting are my own and not those of my present or previous employers.