From owner-freebsd-current Sun Oct 18 11:18:49 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id LAA20386 for freebsd-current-outgoing; Sun, 18 Oct 1998 11:18:49 -0700 (PDT) (envelope-from owner-freebsd-current@FreeBSD.ORG) Received: from backup.af.speednet.com.au (af.speednet.com.au [202.135.206.244]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id LAA20368 for ; Sun, 18 Oct 1998 11:18:42 -0700 (PDT) (envelope-from andyf@speednet.com.au) Received: from speednet.com.au (zippy.zippynet.iol.net.au [172.22.2.8]) by backup.af.speednet.com.au (8.9.1/8.9.1) with ESMTP id EAA16852; Mon, 19 Oct 1998 04:16:31 +1000 (EST) Message-ID: <362A307E.8C676700@speednet.com.au> Date: Mon, 19 Oct 1998 04:16:30 +1000 From: Andy Farkas Organization: Speed Internet Services X-Mailer: Mozilla 4.07 [en] (WinNT; I) MIME-Version: 1.0 To: Chuck Robey CC: freebsd-current@FreeBSD.ORG Subject: Re: mount flags References: Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Chuck Robey wrote: > > I have a very recently broke thing that was happily using a call to > statfs, to tell if it was an NFS filesystem or not. Last time I had > occasion to take a look at this, there were flags of the sort MOUNT_XXX, > where the XXX could have been UFS, MFS, NFS, etc. The application is > specifically looking for MOUNT_NFS, and it's just not around anymore, > that I can find. Yeah, something fishy is going on here with statfs(2). According to the man page on a 2.2.7 system, and in , there are definitions for struct statfs->f_type, but on a 3.0-current, they have strangely disappeared. > Anyhow, anyone got a recommendation on how to change this thing so that > it works under current? You're not trying to compile Midnight Commander are you? If so, add "#define NO_INFOMOUNT 1" to config.h as a workaround .... > A real short history on what's changed in > regards to this would be a nice thing to stick in the mail archives. Me too! -- :{ andyf@speednet.com.au Andy Farkas System Administrator Speed Internet Services http://www.speednet.com.au/ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message