From owner-freebsd-current Sun Oct 18 09:49:18 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id JAA11723 for freebsd-current-outgoing; Sun, 18 Oct 1998 09:49:18 -0700 (PDT) (envelope-from owner-freebsd-current@FreeBSD.ORG) Received: from picnic.mat.net (picnic.mat.net [206.246.122.117]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id JAA11698 for ; Sun, 18 Oct 1998 09:49:12 -0700 (PDT) (envelope-from chuckr@mat.net) Received: from localhost (chuckr@localhost) by picnic.mat.net (8.9.1/8.8.5) with ESMTP id MAA15308 for ; Sun, 18 Oct 1998 12:48:40 -0400 (EDT) Date: Sun, 18 Oct 1998 12:48:39 -0400 (EDT) From: Chuck Robey To: freebsd-current@FreeBSD.ORG Subject: mount flags Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG I had a hard time trying to decide where to post this. It's about a problem that's come up in fixing a broken port (which would mean ports list, usually) but it's a filesystem hacking problem (which would mean hackers), excepting that it hasn't anything at all to do with any system but current. I'm posting to current, and accepting all boos graciously. 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. I would be happy to find it, but I suspect that the method for detecting an NFS mounted FS has changed, so that the app should no longer use statfs. That's kind of odd, because this port works on a lot of other systems which seem to do that fine. Anyhow, anyone got a recommendation on how to change this thing so that it works under current? A real short history on what's changed in regards to this would be a nice thing to stick in the mail archives. ----------------------------+----------------------------------------------- Chuck Robey | Interests include any kind of voice or data chuckr@glue.umd.edu | communications topic, C programming, and Unix. 213 Lakeside Drive Apt T-1 | Greenbelt, MD 20770 | I run Journey2 and picnic (FreeBSD-current) (301) 220-2114 | and jaunt (NetBSD). ----------------------------+----------------------------------------------- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message