From owner-freebsd-current Mon Oct 19 05:36:59 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id FAA00263 for freebsd-current-outgoing; Mon, 19 Oct 1998 05:36:59 -0700 (PDT) (envelope-from owner-freebsd-current@FreeBSD.ORG) Received: from arc.hq.cti.ru (arc.hq.cti.ru [195.34.40.3]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id FAA00258 for ; Mon, 19 Oct 1998 05:36:54 -0700 (PDT) (envelope-from tejblum@arc.hq.cti.ru) Received: from arc.hq.cti.ru (localhost [127.0.0.1]) by arc.hq.cti.ru (8.9.0/8.9.0) with ESMTP id QAA13616; Mon, 19 Oct 1998 16:35:48 +0400 (MSD) Message-Id: <199810191235.QAA13616@arc.hq.cti.ru> X-Mailer: exmh version 2.0zeta 7/24/97 To: Chuck Robey cc: freebsd-current@FreeBSD.ORG Subject: Re: mount flags In-reply-to: Your message of "Sun, 18 Oct 1998 12:48:39 EDT." Date: Mon, 19 Oct 1998 16:35:48 +0400 From: Dmitrij Tejblum Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG > 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. Just a small note: consider check for (f_flags & MNT_LOCAL) instead. I suspect it may be more appropriate in this case. (It is also Lite2-ism, AFAIR). Dima To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message